org.jrdf.graph.local.mem
Class AlternativeImpl

java.lang.Object
  extended by org.jrdf.graph.local.mem.AbstractUnorderedContainer
      extended by org.jrdf.graph.local.mem.AlternativeImpl
All Implemented Interfaces:
Iterable<ObjectNode>, Collection<ObjectNode>, Alternative, Container

public final class AlternativeImpl
extends AbstractUnorderedContainer
implements Alternative

An implementation of Alternative.

Version:
$Revision: 1804 $
Author:
Andrew Newman

Field Summary
 
Fields inherited from class org.jrdf.graph.local.mem.AbstractUnorderedContainer
elements, key
 
Constructor Summary
AlternativeImpl()
           
 
Method Summary
 boolean add(ObjectNode o)
           
 boolean equals(Object obj)
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class org.jrdf.graph.local.mem.AbstractUnorderedContainer
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
addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
 

Constructor Detail

AlternativeImpl

public AlternativeImpl()
Method Detail

add

public boolean add(ObjectNode o)
Specified by:
add in interface Collection<ObjectNode>
Overrides:
add in class AbstractUnorderedContainer

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