|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Container<ObjectNode>
A Container is a grouping of statements. A container can either be a
Alternative
, Bag
, or Sequence
.
Method Summary | ||
---|---|---|
boolean |
add(ObjectNode o)
|
|
boolean |
addAll(Collection<? extends ObjectNode> c)
|
|
boolean |
contains(Object o)
|
|
boolean |
containsAll(Collection<?> c)
|
|
Iterator<ObjectNode> |
iterator()
|
|
boolean |
remove(Object o)
|
|
boolean |
removeAll(Collection<?> c)
|
|
boolean |
retainAll(Collection<?> c)
|
|
|
toArray(ObjectNode[] a)
|
Methods inherited from interface java.util.Collection |
---|
clear, equals, hashCode, isEmpty, size, toArray |
Method Detail |
---|
boolean add(ObjectNode o)
add
in interface Collection<ObjectNode>
o
- Add an ObjectNode.
boolean addAll(Collection<? extends ObjectNode> c)
addAll
in interface Collection<ObjectNode>
boolean contains(Object o)
contains
in interface Collection<ObjectNode>
IllegalArgumentException
- if the given object is not the correct
type, ObjectNode.boolean containsAll(Collection<?> c) throws IllegalArgumentException
containsAll
in interface Collection<ObjectNode>
IllegalArgumentException
- if the given object is not the correct
type, Sequence.Iterator<ObjectNode> iterator()
iterator
in interface Collection<ObjectNode>
iterator
in interface Iterable<ObjectNode>
boolean remove(Object o) throws IllegalArgumentException
remove
in interface Collection<ObjectNode>
o
-
IllegalArgumentException
- if the given object is not the correct
type, ObjectNode.boolean removeAll(Collection<?> c) throws IllegalArgumentException
removeAll
in interface Collection<ObjectNode>
IllegalArgumentException
- if the given object is not the correct
type, Sequence.boolean retainAll(Collection<?> c) throws IllegalArgumentException
retainAll
in interface Collection<ObjectNode>
IllegalArgumentException
- if the given object is not the correct
type, Sequence.<ObjectNode> ObjectNode[] toArray(ObjectNode[] a)
toArray
in interface Collection<ObjectNode>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |