org.jrdf.graph
Interface Alternative
- All Superinterfaces:
- Collection, Container
- All Known Implementing Classes:
- AlternativeImpl
- public interface Alternative
- extends Container
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: 1.1 $
- Author:
- Andrew Newman
containsAll
public boolean containsAll(Collection c)
throws IllegalArgumentException
-
- Specified by:
containsAll
in interface Collection
- Parameters:
c
-
- Throws:
IllegalArgumentException
- if the given object is not the correct
type, Alternative.
addAll
public boolean addAll(Collection c)
throws IllegalArgumentException
-
- Specified by:
addAll
in interface Collection
- Parameters:
c
-
- Throws:
IllegalArgumentException
- if the given object is not the correct
type, Alternative.
removeAll
public boolean removeAll(Collection c)
throws IllegalArgumentException
-
- Specified by:
removeAll
in interface Collection
- Parameters:
c
-
- Throws:
IllegalArgumentException
- if the given object is not the correct
type, Alternative.
retainAll
public boolean retainAll(Collection c)
throws IllegalArgumentException
-
- Specified by:
retainAll
in interface Collection
- Parameters:
c
-
- Throws:
IllegalArgumentException
- if the given object is not the correct
type, Alternative.