@Test public void testToString() { OSMMember instance = new OSMMember(1L, OSMType.WAY, 1); String expResult = "T:WAY ID:1 R:1"; String result = instance.toString(); assertEquals(expResult, result); }
@Override public String toString() { return String.format("T:%s ID:%d R:%d", type, id, roleId); }
OSMMember { @Override public String toString() { return String.format("T:%s ID:%d R:%d", type, id, roleId); } }
OSMMember { @Override public String toString() { return String.format("T:%s ID:%d R:%d", type, id, roleId); } OSMMember(final long id, final OSMType type, final int roleId);  OSMMember(final long id, final OSMType type, final int roleId,
      OSHEntity entity); }
OSMMember { @Override public String toString() { return String.format("T:%s ID:%d R:%d", type, id, roleId); } OSMMember(final long id, final OSMType type, final int roleId);  OSMMember(final long id, final OSMType type, final int roleId,
      OSHEntity entity); long getId(); OSMType getType(); int getRawRoleId(); OSHDBRole getRoleId(); OSHEntity getEntity(); @Override String toString(); }
OSMMember { @Override public String toString() { return String.format("T:%s ID:%d R:%d", type, id, roleId); } OSMMember(final long id, final OSMType type, final int roleId);  OSMMember(final long id, final OSMType type, final int roleId,
      OSHEntity entity); long getId(); OSMType getType(); int getRawRoleId(); OSHDBRole getRoleId(); OSHEntity getEntity(); @Override String toString();  }