test_class.declarator: FULL = "Gaston Crommenlaan, Gent, Be"
test_class.modifier: private static final
test_class.original_string: private static final String FULL = "Gaston Crommenlaan, Gent, Be";
test_class.type: String
test_class.var_name: FULL
test_class.declarator: PART0 = "Be"
test_class.modifier: private static final
test_class.original_string: private static final String PART0 = "Be";
test_class.type: String
test_class.var_name: PART0
test_class.declarator: PART1 = "Gent"
test_class.modifier: private static final
test_class.original_string: private static final String PART1 = "Gent";
test_class.type: String
test_class.var_name: PART1
test_class.declarator: PART2 = "Gaston Crommenlaan"
test_class.modifier: private static final
test_class.original_string: private static final String PART2 = "Gaston Crommenlaan";
test_class.type: String
test_class.var_name: PART2
test_class.file: plugin/geocoder/geocoder/src/test/java/org/geomajas/plugin/geocoder/service/SplitCommaReverseServiceTest.java
test_class.identifier: SplitCommaReverseServiceTest
test_case.body: @Test
  	public void testSplit2() throws Exception {
  		SplitCommaReverseService service = new SplitCommaReverseService();
  		List<String> res = service.split("");
  		Assert.assertNotNull(res);
  		Assert.assertEquals(0, res.size());
  		res = service.split("x, , y");
  		Assert.assertEquals(2, res.size());
  		Assert.assertEquals("y", res.get(0));
  		Assert.assertEquals("x", res.get(1));
  		res = service.split(" , ");
  		Assert.assertNotNull(res);
  		Assert.assertEquals(0, res.size());
  	}
test_case.class_method_signature: SplitCommaReverseServiceTest.testSplit2()
test_case.full_signature: @Test public void testSplit2()
test_case.identifier: testSplit2
test_case.invocations: split assertNotNull assertEquals size split assertEquals size assertEquals get assertEquals get split assertNotNull assertEquals size
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testSplit2()
focal_class.file: plugin/geocoder/geocoder/src/main/java/org/geomajas/plugin/geocoder/service/SplitCommaReverseService.java
focal_class.identifier: SplitCommaReverseService
focal_class.interfaces: implements SplitGeocoderStringService
focal_class.class_method_signature: SplitCommaReverseService.split(String location)
focal_class.full_signature: public List<String> split(String location)
focal_class.identifier: split
focal_class.modifiers: public
focal_class.parameters: (String location)
focal_class.return: List<String>
focal_class.signature: List<String> split(String location)
focal_class.class_method_signature: SplitCommaReverseService.combine(List<String> matchedStrings)
focal_class.full_signature: public String combine(List<String> matchedStrings)
focal_class.identifier: combine
focal_class.modifiers: public
focal_class.parameters: (List<String> matchedStrings)
focal_class.return: String
focal_class.signature: String combine(List<String> matchedStrings)
focal_method.body: public List<String> split(String location) {
  		List<String> res = new ArrayList<String>();
  		String remaining = location;
  		for (int pos = remaining.indexOf(','); pos >= 0; pos = remaining.indexOf(',')) {
  			String part = remaining.substring(0, pos).trim();
  			if (part.length() > 0) {
  				res.add(0, part);
  			}
  			remaining = remaining.substring(pos + 1);
  		}
  		remaining = remaining.trim();
  		if (remaining.length() > 0) {
  			res.add(0, remaining.trim());
  		}
  		return res;
  	}
focal_method.class_method_signature: SplitCommaReverseService.split(String location)
focal_method.full_signature: public List<String> split(String location)
focal_method.identifier: split
focal_method.invocations: indexOf indexOf trim substring length add substring trim length add trim
focal_method.modifiers: public
focal_method.parameters: (String location)
focal_method.return: List<String>
focal_method.signature: List<String> split(String location)