|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Sequence | |
---|---|
jaggregate | Jaggregate is a J2SE 5.0-aware collections library that is modeled after the ANSI Smalltalk collection protocols. |
Uses of Sequence in jaggregate |
---|
Classes in jaggregate that implement Sequence | |
---|---|
class |
OrderedCollection<E>
Represents an ordered, variable-sized collection of objects, where elements may be added, removed, or inserted, and can be accessed using external integer keys. |
Methods in jaggregate that return Sequence | ||
---|---|---|
|
Sequence.collect(UnaryFunctor<? super E,? extends R> transformer)
Evaluates the given transformer for each element of this collection, with the element as the parameter, and answers a new collection containing the results of these evaluations. |
|
Sequence<E> |
Sequence.concat(ReadOnlySequence<? extends E> otherSequence)
Answers a new sequence containing all of this sequence's elements in their original order followed by all of the elements of the given sequence, in their original order. |
|
Sequence<E> |
Sequence.copyRange(int start,
int stop)
Answers a new sequence containing the specified range of elements of this sequence in their original order. |
|
Sequence<E> |
Sequence.copyWith(E newElement)
Answers a new sequence with size one greater than the size of this sequence, containing the elements of this sequence and a given new element placed at the end. |
|
Sequence<E> |
Sequence.copyWithout(E oldElement)
Answers a new sequence with all of the elements of this sequence that are not equivalent to the given element, in their original order. |
|
Sequence<E> |
Sequence.reject(UnaryCondition<? super E> discriminator)
Answers a new collection which contains only the elements in this collection which cause the given discriminator to answer false . |
|
Sequence<E> |
Sequence.reverse()
Answers a sequence with the elements of this sequence arranged in reverse order. |
|
Sequence<E> |
Sequence.select(UnaryCondition<? super E> discriminator)
Answers a new collection which contains only the elements in this collection which cause the given discriminator to answer true . |
Methods in jaggregate with parameters of type Sequence | ||
---|---|---|
static
|
WriteStream.writeStreamOver(Sequence<T> backingStore)
Creates a new stream over the given backing sequence. |
Constructors in jaggregate with parameters of type Sequence | |
---|---|
WriteStream(Sequence<E> backingStore)
Creates a new stream over the given backing sequence. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |