org.jrdf.graph.local.mem
Class BagImpl
java.lang.Object
org.jrdf.graph.local.mem.AbstractUnorderedContainer
org.jrdf.graph.local.mem.BagImpl
- All Implemented Interfaces:
- Iterable<ObjectNode>, Collection<ObjectNode>, Bag, Container
public final class BagImpl
- extends AbstractUnorderedContainer
- implements Bag
An implementation of Bag
.
- Version:
- $Revision: 1804 $
- Author:
- Andrew Newman
Methods inherited from class org.jrdf.graph.local.mem.AbstractUnorderedContainer |
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray |
Methods inherited from interface java.util.Collection |
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray |
BagImpl
public BagImpl()
hashCode
public int hashCode()
- Specified by:
hashCode
in interface Collection<ObjectNode>
- Overrides:
hashCode
in class AbstractUnorderedContainer
equals
public boolean equals(Object obj)
- Specified by:
equals
in interface Collection<ObjectNode>
- Overrides:
equals
in class Object
toString
public String toString()
- Overrides:
toString
in class Object