com.phoenixst.plexus.util
Class SingletonEdgeCollection
java.lang.Object
com.phoenixst.collections.AbstractSingletonCollection
com.phoenixst.plexus.util.SingletonEdgeCollection
- All Implemented Interfaces:
- Iterable, Collection
public class SingletonEdgeCollection
- extends AbstractSingletonCollection
A singleton edge Collection
view. Since this
collection is modifiable, it may be empty at any given point in
time.
- Since:
- 1.0
- Version:
- $Revision: 1.4 $
- Author:
- Ray A. Conner
Methods inherited from class com.phoenixst.collections.AbstractSingletonCollection |
add, addAll, clear, contains, containsAll, getElement, iterator, remove, removeAll, retainAll, size, toArray, toArray, toString |
SingletonEdgeCollection
public SingletonEdgeCollection(Graph graph,
Graph.Edge edge)
- Creates a new
SingletonEdgeCollection
.
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interface Collection
- Specified by:
isEmpty
in class AbstractSingletonCollection
removeElement
public boolean removeElement()
- Specified by:
removeElement
in class AbstractSingletonCollection
See the Plexus project home, hosted by SourceForge.
Copyright ? 1994-2006, by Phoenix Software Technologists, Inc. and others. All Rights Reserved. Use is subject to license terms.