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
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.