net.sf.extjwnl.data.relationship
Class RelationshipList
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList<Relationship>
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 Relationship
s.
- Author:
- John Didion , Aliaksandr Autayeu
- See Also:
- Serialized Form
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 |
RelationshipList
public RelationshipList()
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.