|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Sequence
This interface defines Sequences of the data model. The provided methods
are analogous to methods in the java.util.List
Method Summary
void
add(Item item)
Method add
void
addAll(Sequence seq)
Method addAll
boolean
booleanValue()
Method booleanValue
java.lang.Object
clone()
Method clone
boolean
deepEquals(Sequence other)
Method deepEquals
Sequence
distinctDocOrder()
Method distinctDocOrder
Item
get(int pos)
Method get
int
indexOf(Item item)
Method index_of
boolean
isEmpty()
Method isEmpty
void
setImmutable()
Method setImmutable
makes this sequence immutable.
int
size()
Method size
Methods inherited from interface java.lang.Iterable
iterator
Method Detail
add
void add(Item item)
item
- an Item
java.lang.UnsupportedOperationException
- if this sequence is immutable
java.lang.NullPointerException
- if item is null
addAll
void addAll(Sequence seq)
seq
- a Sequence
java.lang.UnsupportedOperationException
- if this sequence is immutable
size
int size()
isEmpty
boolean isEmpty()
get
Item get(int pos)
pos
- an int
java.lang.IndexOutOfBoundsException
- if the given index is out of range (index < 0 || index >= size())
indexOf
int indexOf(Item item)
item
- an Item
distinctDocOrder
Sequence distinctDocOrder()
deepEquals
boolean deepEquals(Sequence other)
other
- a Sequence
booleanValue
boolean booleanValue()
setImmutable
void setImmutable()
clone
java.lang.Object clone()
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV CLASS
NEXT CLASS
FRAMES
NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD
DETAIL: FIELD | CONSTR | METHOD