| gnu.lists.Sequence
All known Subclasses: gnu.lists.LList, gnu.mapping.ValueStack, gnu.lists.SubSequence, gnu.lists.SimpleVector, gnu.lists.GeneralArray1, gnu.lists.GapVector,
Sequence | public interface Sequence extends java.util.List,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) | | |
CDATA_VALUE | final public static int CDATA_VALUE(Code) | | |
CHAR_VALUE | final public static int CHAR_VALUE(Code) | | |
COMMENT_VALUE | final public static int COMMENT_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.
|
ELEMENT_VALUE | final public static int ELEMENT_VALUE(Code) | | |
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.
|
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) | | |
PROCESSING_INSTRUCTION_VALUE | final public static int PROCESSING_INSTRUCTION_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.
|
|
|