org.jrdf.graph.local.mem
Class BagImpl

java.lang.Object
  extended by org.jrdf.graph.local.mem.AbstractUnorderedContainer
      extended by 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$
Author:
Andrew Newman

Field Summary
 
Fields inherited from class org.jrdf.graph.local.mem.AbstractUnorderedContainer
elements, key
 
Constructor Summary
BagImpl()
           
 
Method Summary
 boolean equals(Object obj)
           
 int hashCode()
           
 String toString()
           
 
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 class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Collection
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
 

Constructor Detail

BagImpl

public BagImpl()
Method Detail

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