Plexus v0.13.1

com.phoenixst.plexus.util
Class SingletonNodeCollection

java.lang.Object
  extended by com.phoenixst.collections.AbstractSingletonCollection
      extended by com.phoenixst.plexus.util.SingletonNodeCollection
All Implemented Interfaces:
Iterable, Collection

public class SingletonNodeCollection
extends AbstractSingletonCollection

A singleton node 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

Constructor Summary
SingletonNodeCollection(Graph graph, Object node)
          Creates a new SingletonNodeCollection.
 
Method Summary
 boolean isEmpty()
           
 boolean removeElement()
           
 
Methods inherited from class com.phoenixst.collections.AbstractSingletonCollection
add, addAll, clear, contains, containsAll, getElement, iterator, remove, removeAll, retainAll, size, 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

SingletonNodeCollection

public SingletonNodeCollection(Graph graph,
                               Object node)
Creates a new SingletonNodeCollection.

Method Detail

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

Plexus v0.13.1

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.