story.dbcore.nodes
Class NodeAddressSet
java.lang.Object
story.dbcore.nodes.NodeAddressSet
- All Implemented Interfaces:
- RenderableObject
public class NodeAddressSet
- extends java.lang.Object
- implements RenderableObject
A light wrapper for HashSet that only
lets NodeAddresss in and out.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NodeAddressSet
public NodeAddressSet()
NodeAddressSet
public NodeAddressSet(NodeAddressSet toMerge1,
NodeAddressSet toMerge2)
NodeAddressSet
public NodeAddressSet(NodeAddress first)
add
public void add(NodeAddress address)
contains
public boolean contains(NodeAddress address)
add
public void add(NodeAddressSet nodes)
size
public int size()
iterator
public java.util.Iterator iterator()
render
public java.lang.StringBuffer render()
throws Scheherexception
- Specified by:
render
in interface RenderableObject
- Throws:
Scheherexception
subtractElementsIn
public NodeAddressSet subtractElementsIn(NodeAddressSet other)
containsElementIn
public boolean containsElementIn(NodeAddressSet other)
Copyright © 2011 David K. Elson. All Rights Reserved.