net.didion.jwnl.data.relationship
Class RelationshipList

java.lang.Object
  extended by net.didion.jwnl.util.TypeCheckingList
      extended by net.didion.jwnl.data.relationship.RelationshipList
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Iterable, java.util.Collection, java.util.List, DeepCloneable

public class RelationshipList
extends TypeCheckingList

A list of Relationships.


Nested Class Summary
 
Nested classes/interfaces inherited from class net.didion.jwnl.util.TypeCheckingList
TypeCheckingList.TypeCheckingListIterator
 
Constructor Summary
RelationshipList()
           
 
Method Summary
 boolean add(java.lang.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, deepClone, equals, get, getType, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.List
hashCode
 

Constructor Detail

RelationshipList

public RelationshipList()
Method Detail

add

public boolean add(java.lang.Object o)
Specified by:
add in interface java.util.Collection
Specified by:
add in interface java.util.List
Overrides:
add in class TypeCheckingList

getShallowest

public Relationship getShallowest()
Return the shallowest Relationship in the list.


getDeepest

public Relationship getDeepest()
Return the deepest Relationship in the list.