org.jrdf.graph
Interface Bag<ObjectNode>
- All Superinterfaces:
- Collection<ObjectNode>, Container<ObjectNode>, Iterable<ObjectNode>
- All Known Implementing Classes:
- BagImpl
public interface Bag<ObjectNode>
- extends Container<ObjectNode>
A Bag is a group of statements that are an unorderd list which allow
duplicates. 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, Bag.