@Test public void testToString() { OSMNode instance = new OSMNode(1L, 1, new OSHDBTimestamp(1L), 1L, 1, new int[] {}, 1100000000L, 100000000L); String expResult = "NODE: ID:1 V:+1+ TS:1 CS:1 VIS:true UID:1 TAGS:[] 110.0000000:10.0000000"; String result = instance.toString(); assertEquals(expResult, result); }
@Override public String toString() { return String.format(Locale.ENGLISH, "NODE: %s %.7f:%.7f", super.toString(), getLongitude(), getLatitude()); }
OSMNode extends OSMEntity implements Comparable<OSMNode>, Serializable { @Override public String toString() { return String.format(Locale.ENGLISH, "NODE: %s %.7f:%.7f", super.toString(), getLongitude(), getLatitude()); } }
OSMNode extends OSMEntity implements Comparable<OSMNode>, Serializable { @Override public String toString() { return String.format(Locale.ENGLISH, "NODE: %s %.7f:%.7f", super.toString(), getLongitude(), getLatitude()); } OSMNode(final long id, final int version, final OSHDBTimestamp timestamp, final long changeset,
      final int userId, final int[] tags, final long longitude, final long latitude); }
OSMNode extends OSMEntity implements Comparable<OSMNode>, Serializable { @Override public String toString() { return String.format(Locale.ENGLISH, "NODE: %s %.7f:%.7f", super.toString(), getLongitude(), getLatitude()); } OSMNode(final long id, final int version, final OSHDBTimestamp timestamp, final long changeset,
      final int userId, final int[] tags, final long longitude, final long latitude); @Override OSMType getType(); double getLongitude(); double getLatitude(); long getLon(); long getLat(); @Override String toString(); boolean equalsTo(OSMNode o); @Override int compareTo(OSMNode o); }
OSMNode extends OSMEntity implements Comparable<OSMNode>, Serializable { @Override public String toString() { return String.format(Locale.ENGLISH, "NODE: %s %.7f:%.7f", super.toString(), getLongitude(), getLatitude()); } OSMNode(final long id, final int version, final OSHDBTimestamp timestamp, final long changeset,
      final int userId, final int[] tags, final long longitude, final long latitude); @Override OSMType getType(); double getLongitude(); double getLatitude(); long getLon(); long getLat(); @Override String toString(); boolean equalsTo(OSMNode o); @Override int compareTo(OSMNode o);  }