org.mmbase.module.corebuilders
Class TypeRel.TypeRelSet
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractSet<E>
java.util.TreeSet<MMObjectNode>
org.mmbase.module.corebuilders.TypeRel.TypeRelSet
- All Implemented Interfaces:
- Serializable, Cloneable, Iterable<MMObjectNode>, Collection<MMObjectNode>, NavigableSet<MMObjectNode>, Set<MMObjectNode>, SortedSet<MMObjectNode>
- Enclosing class:
- TypeRel
protected class TypeRel.TypeRelSet
- extends TreeSet<MMObjectNode>
A TypeRelSet is a Set of typerel nodes. The TypeRel builder maintains such a Set of all
typerel nodes for quick reference. TypeRelSets are also instantiated when doing queries on
TypeRel like getAllowedRelations(MMObjectBuilder) etc.
- Since:
- MMBase-1.6.2
- See Also:
- Serialized Form
| Methods inherited from class java.util.TreeSet |
addAll, ceiling, clear, clone, comparator, contains, descendingIterator, descendingSet, first, floor, headSet, headSet, higher, isEmpty, iterator, last, lower, pollFirst, pollLast, remove, size, subSet, subSet, tailSet, tailSet |
TypeRel.TypeRelSet
protected TypeRel.TypeRelSet()
add
public boolean add(MMObjectNode node)
- Specified by:
add in interface Collection<MMObjectNode>- Specified by:
add in interface Set<MMObjectNode>- Overrides:
add in class TreeSet<MMObjectNode>
getBySource
SortedSet<MMObjectNode> getBySource(MMObjectBuilder source)
getBySource
SortedSet<MMObjectNode> getBySource(int source)
getBySourceDestination
SortedSet<MMObjectNode> getBySourceDestination(MMObjectBuilder source,
MMObjectBuilder destination)
getBySourceDestination
SortedSet<MMObjectNode> getBySourceDestination(int source,
int destination)
getBySourceDestinationRole
SortedSet<MMObjectNode> getBySourceDestinationRole(int source,
int destination,
int role)
MMBase 2.0-SNAPSHOT - null