| gnu.lists.Sequence
All known Subclasses: gnu.lists.SubSequence, gnu.mapping.ValueStack, gnu.lists.LList, gnu.lists.SimpleVector,
Sequence | public interface Sequence extends java.util.List,Array,Consumable(Code) | | A Sequence is an ordered list of elements.
It is similar to and compatible with the Java2 java.util.List interface,
but does not require it.
All standard classes that implement Sequence also extend AbstractSequence.
Using AbstractSequence provides default implementations for many methods,
and also makes things a bit more efficient. However, client code should
use Sequence rather than AbstractSequence.
author: Per Bothner |
ATTRIBUTE_VALUE | final public static int ATTRIBUTE_VALUE(Code) | | |
BOOLEAN_VALUE | final public static int BOOLEAN_VALUE(Code) | | |
CHAR_VALUE | final public static int CHAR_VALUE(Code) | | |
DOCUMENT_VALUE | final public static int DOCUMENT_VALUE(Code) | | |
DOUBLE_VALUE | final public static int DOUBLE_VALUE(Code) | | Return code used to indicate next element is 64-bit double.
|
EOF_VALUE | final public static int EOF_VALUE(Code) | | Return code used to indicate a position is at end of the sequence.
|
FLOAT_VALUE | final public static int FLOAT_VALUE(Code) | | Return code used to indicate next element is 32-bit float.
|
GROUP_VALUE | final public static int GROUP_VALUE(Code) | | |
INT_S16_VALUE | final public static int INT_S16_VALUE(Code) | | |
INT_S32_VALUE | final public static int INT_S32_VALUE(Code) | | |
INT_S64_VALUE | final public static int INT_S64_VALUE(Code) | | |
INT_S8_VALUE | final public static int INT_S8_VALUE(Code) | | |
INT_U16_VALUE | final public static int INT_U16_VALUE(Code) | | |
INT_U32_VALUE | final public static int INT_U32_VALUE(Code) | | |
INT_U64_VALUE | final public static int INT_U64_VALUE(Code) | | |
INT_U8_VALUE | final public static int INT_U8_VALUE(Code) | | |
OBJECT_VALUE | final public static int OBJECT_VALUE(Code) | | |
PRIM_VALUE | final public static int PRIM_VALUE(Code) | | |
TEXT_BYTE_VALUE | final public static int TEXT_BYTE_VALUE(Code) | | A byte in an encoded string.
Part of a char, in contrast with INT_S8_VALUE, which is an integer.
|
eofValue | final public static Object eofValue(Code) | | Special magic end-of-file marker.
|
isEmpty | public boolean isEmpty()(Code) | | True is this sequence contains no elements.
|
size | public int size()(Code) | | See java.util.List.
|
|
|