@Test public void testGetMembers() { OSMMember part = new OSMMember(1L, OSMType.WAY, 1); OSMRelation instance = new OSMRelation(1L, 1, new OSHDBTimestamp(1L), 1L, 1, new int[] {1, 1, 2, 2}, new OSMMember[] {part, part}); OSMMember[] expResult = new OSMMember[] {part, part}; OSMMember[] result = instance.getMembers(); assertArrayEquals(expResult, result); }
public OSMMember[] getMembers() { return members; }
OSMRelation extends OSMEntity implements Comparable<OSMRelation>, Serializable { public OSMMember[] getMembers() { return members; } }
OSMRelation extends OSMEntity implements Comparable<OSMRelation>, Serializable { public OSMMember[] getMembers() { return members; } OSMRelation(final long id, final int version, final OSHDBTimestamp timestamp, final long changeset,
      final int userId, final int[] tags, final OSMMember[] members); }
OSMRelation extends OSMEntity implements Comparable<OSMRelation>, Serializable { public OSMMember[] getMembers() { return members; } OSMRelation(final long id, final int version, final OSHDBTimestamp timestamp, final long changeset,
      final int userId, final int[] tags, final OSMMember[] members); @Override OSMType getType(); OSMMember[] getMembers(); Stream<OSMEntity> getMemberEntities(OSHDBTimestamp timestamp, Predicate<OSMMember> memberFilter); Stream<OSMEntity> getMemberEntities(OSHDBTimestamp timestamp); @Override int compareTo(OSMRelation o); @Override String toString(); }
OSMRelation extends OSMEntity implements Comparable<OSMRelation>, Serializable { public OSMMember[] getMembers() { return members; } OSMRelation(final long id, final int version, final OSHDBTimestamp timestamp, final long changeset,
      final int userId, final int[] tags, final OSMMember[] members); @Override OSMType getType(); OSMMember[] getMembers(); Stream<OSMEntity> getMemberEntities(OSHDBTimestamp timestamp, Predicate<OSMMember> memberFilter); Stream<OSMEntity> getMemberEntities(OSHDBTimestamp timestamp); @Override int compareTo(OSMRelation o); @Override String toString();  }