Class RelationshipList
- java.lang.Object
-
- net.didion.jwnl.util.TypeCheckingList
-
- net.didion.jwnl.data.relationship.RelationshipList
-
- All Implemented Interfaces:
Cloneable,Iterable,Collection,List,DeepCloneable
public class RelationshipList extends TypeCheckingList
A list ofRelationships.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.didion.jwnl.util.TypeCheckingList
TypeCheckingList.TypeCheckingListIterator
-
-
Constructor Summary
Constructors Constructor Description RelationshipList()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanadd(Object o)RelationshipgetDeepest()Return the deepest Relationship in the list.RelationshipgetShallowest()Return the shallowest Relationship in the list.-
Methods inherited from class net.didion.jwnl.util.TypeCheckingList
add, addAll, addAll, clear, clone, contains, containsAll, copyBackingList, deepClone, equals, get, getType, getTypeCheckingListIterator, getTypeCheckingListIterator, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray
-
-
-
-
Method Detail
-
add
public boolean add(Object o)
- Specified by:
addin interfaceCollection- Specified by:
addin interfaceList- Overrides:
addin classTypeCheckingList
-
getShallowest
public Relationship getShallowest()
Return the shallowest Relationship in the list.
-
getDeepest
public Relationship getDeepest()
Return the deepest Relationship in the list.
-
-