@Test public void testGetKeyedInteger() { assertEquals(7, ParameterMap.getKeyedInteger(m_map, "keyedInteger", 3)); assertEquals(7, ParameterMap.getKeyedInteger(m_map, "keyedIntegerString", 3)); assertEquals(3, ParameterMap.getKeyedInteger(m_map, "noSuchKey", 3)); assertEquals(3, ParameterMap.getKeyedInteger(null, "keyedInteger", 3)); }
public static int getKeyedInteger(@SuppressWarnings("rawtypes") final Map map, final String key, final int defValue) { return new Long(ParameterMap.getKeyedLong(map, key, new Long(defValue))).intValue(); }
ParameterMap { public static int getKeyedInteger(@SuppressWarnings("rawtypes") final Map map, final String key, final int defValue) { return new Long(ParameterMap.getKeyedLong(map, key, new Long(defValue))).intValue(); } }
ParameterMap { public static int getKeyedInteger(@SuppressWarnings("rawtypes") final Map map, final String key, final int defValue) { return new Long(ParameterMap.getKeyedLong(map, key, new Long(defValue))).intValue(); }  }
ParameterMap { public static int getKeyedInteger(@SuppressWarnings("rawtypes") final Map map, final String key, final int defValue) { return new Long(ParameterMap.getKeyedLong(map, key, new Long(defValue))).intValue(); }  @SuppressWarnings("unchecked") static long getKeyedLong(@SuppressWarnings("rawtypes") final Map map, final String key, final long defValue); static int getKeyedInteger(@SuppressWarnings("rawtypes") final Map map, final String key, final int defValue); @SuppressWarnings("unchecked") final static int[] getKeyedIntegerArray(@SuppressWarnings("rawtypes") final Map map, final String key, final int[] defValues); @SuppressWarnings("unchecked") static String getKeyedString(@SuppressWarnings("rawtypes") final Map map, final String key, final String defValue); @SuppressWarnings("unchecked") static boolean getKeyedBoolean(@SuppressWarnings("rawtypes") final Map map, final String key, final boolean defValue); static T getKeyedValue(final Map<String,T> map, final String key, final T defValue); }
ParameterMap { public static int getKeyedInteger(@SuppressWarnings("rawtypes") final Map map, final String key, final int defValue) { return new Long(ParameterMap.getKeyedLong(map, key, new Long(defValue))).intValue(); }  @SuppressWarnings("unchecked") static long getKeyedLong(@SuppressWarnings("rawtypes") final Map map, final String key, final long defValue); static int getKeyedInteger(@SuppressWarnings("rawtypes") final Map map, final String key, final int defValue); @SuppressWarnings("unchecked") final static int[] getKeyedIntegerArray(@SuppressWarnings("rawtypes") final Map map, final String key, final int[] defValues); @SuppressWarnings("unchecked") static String getKeyedString(@SuppressWarnings("rawtypes") final Map map, final String key, final String defValue); @SuppressWarnings("unchecked") static boolean getKeyedBoolean(@SuppressWarnings("rawtypes") final Map map, final String key, final boolean defValue); static T getKeyedValue(final Map<String,T> map, final String key, final T defValue);  }