public class SingletonEdgeCollection extends AbstractSingletonCollection
Collection
view. Since this
collection is modifiable, it may be empty at any given point in
time.Constructor and Description |
---|
SingletonEdgeCollection(Graph graph,
Graph.Edge edge)
Creates a new
SingletonEdgeCollection . |
Modifier and Type | Method and Description |
---|---|
boolean |
isEmpty() |
boolean |
removeElement() |
add, addAll, clear, contains, containsAll, getElement, iterator, remove, removeAll, retainAll, size, toArray, toArray, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
equals, hashCode, parallelStream, removeIf, spliterator, stream
public SingletonEdgeCollection(Graph graph, Graph.Edge edge)
SingletonEdgeCollection
.public boolean isEmpty()
isEmpty
in interface Collection
isEmpty
in class AbstractSingletonCollection
public boolean removeElement()
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.