test_class.file: tigase-server 7.1.0/src/test/java/tigase/util/DataTypesTest.java
test_class.identifier: DataTypesTest
test_case.body: @Test
  	public void testParseSizeInt() {
  		System.out.println( "parseSizeInt" );
  		assertEquals( 1, DataTypes.parseSizeInt( "1", 1 ) );
  		assertEquals( 1024, DataTypes.parseSizeInt( "1k", 1 ) );
  		assertEquals( 1024 * 1024, DataTypes.parseSizeInt( "1m", 1 ) );
  		assertEquals( 1024 * 1024 * 1024, DataTypes.parseSizeInt( "1g", 1 ) );
  		assertEquals( 1, DataTypes.parseSizeInt( "fail", 1 ) );
  	}
test_case.class_method_signature: DataTypesTest.testParseSizeInt()
test_case.full_signature: @Test public void testParseSizeInt()
test_case.identifier: testParseSizeInt
test_case.invocations: println assertEquals parseSizeInt assertEquals parseSizeInt assertEquals parseSizeInt assertEquals parseSizeInt assertEquals parseSizeInt
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testParseSizeInt()
focal_class.declarator: typesMap = new LinkedHashMap<String,
  																													Character>()
focal_class.modifier: public static final
focal_class.original_string: public static final Map<String, Character> typesMap = new LinkedHashMap<String,
  																													Character>();
focal_class.type: Map<String, Character>
focal_class.var_name: typesMap
focal_class.declarator: log = Logger.getLogger(DataTypes.class.getName())
focal_class.modifier: private static final
focal_class.original_string: private static final Logger log = Logger.getLogger(DataTypes.class.getName());
focal_class.type: Logger
focal_class.var_name: log
focal_class.file: tigase-server 7.1.0/src/main/java/tigase/util/DataTypes.java
focal_class.identifier: DataTypes
focal_class.class_method_signature: DataTypes.parseNum(String num, Class<T> cls, T def)
focal_class.full_signature: public static T parseNum(String num, Class<T> cls, T def)
focal_class.identifier: parseNum
focal_class.modifiers: public static
focal_class.parameters: (String num, Class<T> cls, T def)
focal_class.return: T
focal_class.signature: T parseNum(String num, Class<T> cls, T def)
focal_class.class_method_signature: DataTypes.parseSizeInt(String size, int def)
focal_class.full_signature: public static int parseSizeInt(String size, int def)
focal_class.identifier: parseSizeInt
focal_class.modifiers: public static
focal_class.parameters: (String size, int def)
focal_class.return: int
focal_class.signature: int parseSizeInt(String size, int def)
focal_class.class_method_signature: DataTypes.parseBool(final String val)
focal_class.full_signature: public static boolean parseBool(final String val)
focal_class.identifier: parseBool
focal_class.modifiers: public static
focal_class.parameters: (final String val)
focal_class.return: boolean
focal_class.signature: boolean parseBool(final String val)
focal_class.class_method_signature: DataTypes.decodeValueType(char typeId, String value)
focal_class.full_signature: public static Object decodeValueType(char typeId, String value)
focal_class.identifier: decodeValueType
focal_class.modifiers: public static
focal_class.parameters: (char typeId, String value)
focal_class.return: Object
focal_class.signature: Object decodeValueType(char typeId, String value)
focal_class.class_method_signature: DataTypes.valueToString(final Object value)
focal_class.full_signature: public static String valueToString(final Object value)
focal_class.identifier: valueToString
focal_class.modifiers: public static
focal_class.parameters: (final Object value)
focal_class.return: String
focal_class.signature: String valueToString(final Object value)
focal_class.class_method_signature: DataTypes.decodeTypeIdFromName(String name)
focal_class.full_signature: public static char decodeTypeIdFromName(String name)
focal_class.identifier: decodeTypeIdFromName
focal_class.modifiers: public static
focal_class.parameters: (String name)
focal_class.return: char
focal_class.signature: char decodeTypeIdFromName(String name)
focal_class.class_method_signature: DataTypes.stripNameFromTypeId(String name)
focal_class.full_signature: public static String stripNameFromTypeId(String name)
focal_class.identifier: stripNameFromTypeId
focal_class.modifiers: public static
focal_class.parameters: (String name)
focal_class.return: String
focal_class.signature: String stripNameFromTypeId(String name)
focal_class.class_method_signature: DataTypes.encodeTypeIdInName(String name, Object value)
focal_class.full_signature: public static String encodeTypeIdInName(String name, Object value)
focal_class.identifier: encodeTypeIdInName
focal_class.modifiers: public static
focal_class.parameters: (String name, Object value)
focal_class.return: String
focal_class.signature: String encodeTypeIdInName(String name, Object value)
focal_class.class_method_signature: DataTypes.getTypeId(Object instance)
focal_class.full_signature: public static char getTypeId(Object instance)
focal_class.identifier: getTypeId
focal_class.modifiers: public static
focal_class.parameters: (Object instance)
focal_class.return: char
focal_class.signature: char getTypeId(Object instance)
focal_class.class_method_signature: DataTypes.getProperty(String key, Boolean def)
focal_class.full_signature: public static boolean getProperty(String key, Boolean def)
focal_class.identifier: getProperty
focal_class.modifiers: public static
focal_class.parameters: (String key, Boolean def)
focal_class.return: boolean
focal_class.signature: boolean getProperty(String key, Boolean def)
focal_class.class_method_signature: DataTypes.main( String[] args )
focal_class.full_signature: public static void main( String[] args )
focal_class.identifier: main
focal_class.modifiers: public static
focal_class.parameters: ( String[] args )
focal_class.return: void
focal_class.signature: void main( String[] args )
focal_method.body: public static int parseSizeInt(String size, int def) {
  		return parseNum(size, Integer.class, def);
  	}
focal_method.class_method_signature: DataTypes.parseSizeInt(String size, int def)
focal_method.full_signature: public static int parseSizeInt(String size, int def)
focal_method.identifier: parseSizeInt
focal_method.invocations: parseNum
focal_method.modifiers: public static
focal_method.parameters: (String size, int def)
focal_method.return: int
focal_method.signature: int parseSizeInt(String size, int def)