Package gnu.lists

Interface Sequence<E>

All Superinterfaces:
BoundedHashable, Collection<E>, Consumable, Iterable<E>, List<E>, SequencedCollection<E>
All Known Subinterfaces:
AVector<E>, CharSeq, GVector<E>, IntSequence
All Known Implementing Classes:
AbstractCharVector, ArgListPair, ArgListVector, BitVector, Blob, ByteVector, CharBuffer, CharVector, ComposedArray.AsSequence, EmptyList, F32Vector, F64Vector, FlattenedArray, FString, FVector, GeneralArray1, ImmutablePair, IndirectIndexedSeq, IntVector, IString, IString.SubString, LList, LongVector, Nodes.NodeVector, Pair, PairWithPosition, PrimIntegerVector, Range, Range.IntRange, RAPair, S16Vector, S32Vector, S64Vector, S8Vector, ShortVector, SimpleVector, SubSequence, SyntaxForms.PairSyntaxForm, SyntaxForms.PairWithPositionSyntaxForm, Translator.FormStack, U16Vector, U32Vector, U64Vector, U8Vector

public interface Sequence<E> extends List<E>, Consumable, BoundedHashable
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.