public class RelationshipList extends java.util.ArrayList<Relationship>
Relationship
s.Constructor and Description |
---|
RelationshipList() |
Modifier and Type | Method and Description |
---|---|
boolean |
add(Relationship relationship) |
Relationship |
getDeepest()
Returns the deepest Relationship in the list.
|
Relationship |
getShallowest()
Returns the shallowest relationship in the list.
|
add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
public boolean add(Relationship relationship)
add
in interface java.util.Collection<Relationship>
add
in interface java.util.List<Relationship>
add
in class java.util.ArrayList<Relationship>
public Relationship getShallowest()
public Relationship getDeepest()