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 ofRelationship
s.
-
-
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 boolean
add(Object o)
Relationship
getDeepest()
Return the deepest Relationship in the list.Relationship
getShallowest()
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:
add
in interfaceCollection
- Specified by:
add
in interfaceList
- Overrides:
add
in classTypeCheckingList
-
getShallowest
public Relationship getShallowest()
Return the shallowest Relationship in the list.
-
getDeepest
public Relationship getDeepest()
Return the deepest Relationship in the list.
-
-