org.jrdf.graph
Interface Alternative<ObjectNode>

All Superinterfaces:
Collection<ObjectNode>, Container<ObjectNode>, Iterable<ObjectNode>
All Known Implementing Classes:
AlternativeImpl

public interface Alternative<ObjectNode>
extends Container<ObjectNode>

An Alt is a list of unordered statements which prevents duplicates. It represents objects which are semantically the same. The order in which the objects go in may not be the order in which they are returned.

Version:
$Revision: 1045 $
Author:
Andrew Newman

Method Summary
 boolean addAll(Collection<? extends ObjectNode> c)
          
 
Methods inherited from interface org.jrdf.graph.Container
add, contains, containsAll, iterator, remove, removeAll, retainAll, toArray
 
Methods inherited from interface java.util.Collection
clear, equals, hashCode, isEmpty, size, toArray
 

Method Detail

addAll

boolean addAll(Collection<? extends ObjectNode> c)
               throws IllegalArgumentException

Specified by:
addAll in interface Collection<ObjectNode>
Specified by:
addAll in interface Container<ObjectNode>
Parameters:
c -
Throws:
IllegalArgumentException - if the given object is not the correct type, Alternative.