@Test public void testContainsAxis() { final Symbols s = Symbols.DEFAULT; assertTrue("AXIS at the begining of a line.", s.containsAxis("AXIS[\"Long\", EAST]")); assertTrue("AXIS embeded in GEOGCS.", s.containsAxis("GEOGCS[\"WGS84\", AXIS[\"Long\", EAST]]")); assertTrue("AXIS followed by spaces and different opening brace.", s.containsAxis("GEOGCS[\"WGS84\", AXIS (\"Long\", EAST)]")); assertTrue("AXIS in mixed cases.", s.containsAxis("GEOGCS[\"WGS84\", aXis[\"Long\", EAST]]")); assertFalse("AXIS in quoted text.", s.containsAxis("GEOGCS[\"AXIS\"]")); assertFalse("AXIS without opening bracket.", s.containsAxis("GEOGCS[\"WGS84\", AXIS]")); assertFalse("No AXIS.", s.containsAxis("GEOGCS[\"WGS84\"]")); }
public boolean containsAxis(final CharSequence wkt) { return indexOf(wkt, "AXIS", 0) >= 0; }
Symbols { public boolean containsAxis(final CharSequence wkt) { return indexOf(wkt, "AXIS", 0) >= 0; } }
Symbols { public boolean containsAxis(final CharSequence wkt) { return indexOf(wkt, "AXIS", 0) >= 0; } private  Symbols();  Symbols(final Locale locale); }
Symbols { public boolean containsAxis(final CharSequence wkt) { return indexOf(wkt, "AXIS", 0) >= 0; } private  Symbols();  Symbols(final Locale locale); boolean containsAxis(final CharSequence wkt); }
Symbols { public boolean containsAxis(final CharSequence wkt) { return indexOf(wkt, "AXIS", 0) >= 0; } private  Symbols();  Symbols(final Locale locale); boolean containsAxis(final CharSequence wkt); static final Symbols DEFAULT; static final Symbols SQUARE_BRACKETS; static final Symbols CURLY_BRACKETS; }