@Test public void testToString() { GeometryIndex index = service.create(GeometryIndexType.TYPE_VERTEX, 0, 1); Assert.assertEquals("TYPE_GEOMETRY-0 / TYPE_VERTEX-1", index.toString()); }
@Override public String toString() { if (child != null) { return type.toString() + "-" + value + " / " + child.toString(); } return type.toString() + "-" + value; }
GeometryIndex { @Override public String toString() { if (child != null) { return type.toString() + "-" + value + " / " + child.toString(); } return type.toString() + "-" + value; } }
GeometryIndex { @Override public String toString() { if (child != null) { return type.toString() + "-" + value + " / " + child.toString(); } return type.toString() + "-" + value; } GeometryIndex(); protected  GeometryIndex(GeometryIndexType type, int value, GeometryIndex child); protected  GeometryIndex(GeometryIndex other); }
GeometryIndex { @Override public String toString() { if (child != null) { return type.toString() + "-" + value + " / " + child.toString(); } return type.toString() + "-" + value; } GeometryIndex(); protected  GeometryIndex(GeometryIndexType type, int value, GeometryIndex child); protected  GeometryIndex(GeometryIndex other); GeometryIndexType getType(); boolean hasChild(); GeometryIndex getChild(); int getValue(); @Override boolean equals(Object other); @Override int hashCode(); @Override String toString(); }
GeometryIndex { @Override public String toString() { if (child != null) { return type.toString() + "-" + value + " / " + child.toString(); } return type.toString() + "-" + value; } GeometryIndex(); protected  GeometryIndex(GeometryIndexType type, int value, GeometryIndex child); protected  GeometryIndex(GeometryIndex other); GeometryIndexType getType(); boolean hasChild(); GeometryIndex getChild(); int getValue(); @Override boolean equals(Object other); @Override int hashCode(); @Override String toString();  }