net.sf.extjwnl.data.relationship
Class RelationshipList

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.ArrayList<Relationship>
              extended by net.sf.extjwnl.data.relationship.RelationshipList
All Implemented Interfaces:
Serializable, Cloneable, Iterable<Relationship>, Collection<Relationship>, List<Relationship>, RandomAccess

public class RelationshipList
extends ArrayList<Relationship>

A list of Relationships.

Author:
John Didion , Aliaksandr Autayeu
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
RelationshipList()
           
 
Method Summary
 boolean add(Relationship relationship)
           
 Relationship getDeepest()
          Returns the deepest Relationship in the list.
 Relationship getShallowest()
          Returns the shallowest relationship in the list.
 
Methods inherited from class java.util.ArrayList
add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize
 
Methods inherited from class java.util.AbstractList
equals, hashCode, iterator, listIterator, listIterator, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, removeAll, retainAll, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList
 

Constructor Detail

RelationshipList

public RelationshipList()
Method Detail

add

public boolean add(Relationship relationship)
Specified by:
add in interface Collection<Relationship>
Specified by:
add in interface List<Relationship>
Overrides:
add in class ArrayList<Relationship>

getShallowest

public Relationship getShallowest()
Returns the shallowest relationship in the list.

Returns:
the shallowest Relationship in the list

getDeepest

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

Returns:
the deepest Relationship in the list


Copyright © 2011. All Rights Reserved.