org.jrdf.graph.local.mem
Class AlternativeImpl
java.lang.Object
org.jrdf.graph.local.mem.AbstractUnorderedContainer
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$
- Author:
- Andrew Newman
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 interface java.util.Collection |
addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray |
AlternativeImpl
public AlternativeImpl()
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