| 
Plexus v0.13.1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.AbstractCollection
com.phoenixst.plexus.util.AbstractNodeCollection
public abstract class AbstractNodeCollection
An abstract Collection for nodes to help implement
  the Graph.nodes( Predicate ) method.
| Constructor Summary | |
|---|---|
protected  | 
AbstractNodeCollection(Graph graph)
Creates a new AbstractNodeCollection. | 
| Method Summary | |
|---|---|
 boolean | 
addAll(Collection collection)
Throws an UnsupportedOperationException. | 
 boolean | 
contains(Object object)
This implementation delegates to Graph.containsNode( Object ). | 
 boolean | 
isEmpty()
This implementation returns true if the
  iterator().hasNext() returns false. | 
 boolean | 
remove(Object object)
This implementation delegates to Graph.removeNode( Object ). | 
 int | 
size()
This implementation counts the number of elements accessed by the iterator() method. | 
| Methods inherited from class java.util.AbstractCollection | 
|---|
add, clear, containsAll, iterator, removeAll, retainAll, toArray, toArray, toString | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Methods inherited from interface java.util.Collection | 
|---|
equals, hashCode | 
| Constructor Detail | 
|---|
protected AbstractNodeCollection(Graph graph)
AbstractNodeCollection.
| Method Detail | 
|---|
public int size()
iterator() method.
size in interface Collectionsize in class AbstractCollectionpublic boolean isEmpty()
true if the
  iterator().hasNext() returns false.
isEmpty in interface CollectionisEmpty in class AbstractCollectionpublic boolean remove(Object object)
Graph.removeNode( Object ).
remove in interface Collectionremove in class AbstractCollectionpublic boolean contains(Object object)
Graph.containsNode( Object ).
contains in interface Collectioncontains in class AbstractCollectionpublic boolean addAll(Collection collection)
UnsupportedOperationException.
addAll in interface CollectionaddAll in class AbstractCollection
  | 
Plexus v0.13.1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||