Uses of Class
jaggregate.OrderedCollection

Packages that use OrderedCollection
jaggregate Jaggregate is a J2SE 5.0-aware collections library that is modeled after the ANSI Smalltalk collection protocols. 
 

Uses of OrderedCollection in jaggregate
 

Methods in jaggregate that return OrderedCollection
<R> OrderedCollection<R>
SortedCollection.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.

The elements are traversed in the order specified by forEachDo for this collection.

Unless specifically refined, this message is defined to answer an object conforming to the same protocol as this collection.

<R> OrderedCollection<R>
OrderedCollection.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.

The elements are traversed in the order specified by forEachDo for this collection.

Unless specifically refined, this message is defined to answer an object conforming to the same protocol as this collection.

 OrderedCollection<E> OrderedCollection.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.
 OrderedCollection<E> OrderedCollection.copyRange(int start, int stop)
          Answers a new sequence containing the specified range of elements of this sequence in their original order.
 OrderedCollection<E> OrderedCollection.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.
 OrderedCollection<E> OrderedCollection.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.
static
<T> OrderedCollection<T>
OrderedCollection.emptyOrderedCollection()
          Creates an empty ordered collection.
 OrderedCollection<E> ReadStream.next(int amount)
          Answers a collection of the next given number of objects in this stream.
static
<T> OrderedCollection<T>
OrderedCollection.orderedCollectionFrom(Collection<? extends T> elements)
          Creates an ordered collection containing the elements in the given collection.
static
<T> OrderedCollection<T>
OrderedCollection.orderedCollectionFrom(Iterable<? extends T> elements)
          Creates an ordered collection containing the elements in the given iterable object.
static
<T> OrderedCollection<T>
OrderedCollection.orderedCollectionFrom(T[] elements)
          Creates an ordered collection containing the elements in the given array.
static
<T> OrderedCollection<T>
OrderedCollection.orderedCollectionWith(T newElement, T... restOfNewElements)
          Creates an ordered collection containing the given elements.
 OrderedCollection<E> OrderedCollection.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.

For each element of this collection, discriminator is evaluated with the element as the parameter. Each element which causes discriminator to answer false is included in the new collection.

The elements are traversed in the order specified by forEachDo for this collection.

Unless specifically refined, this message is defined to answer an object conforming to the same protocol as this collection. If both this collection and the result maintain an ordering of their elements, the elements of the result will be in the same relative order as the elements of this collection.

 OrderedCollection<E> OrderedCollection.reverse()
          Answers a sequence with the elements of this sequence arranged in reverse order.
 OrderedCollection<E> OrderedCollection.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.

For each element of this collection, discriminator is evaluated with the element as the parameter. Each element which causes discriminator to answer true is included in the new collection.

The elements are traversed in order specified by forEachDo for this collection.

Unless specifically refined, this message is defined to answer an object conforming to the same protocol as this collection. If both this collection and the result maintain an ordering of their elements, the elements of the result will be in the same relative order as the elements of this collection.

 OrderedCollection<E> OrderedCollection.toOrderedCollection()
          Answers an ordered collection with the same elements as this collection. The result has the same size as this collection.

If this collection maintains an ordering for its elements, the order of those elements will be preserved in the result.

Answers self.

 OrderedCollection<E> Collection.toOrderedCollection()
          Answers an ordered collection with the same elements as this collection.
 OrderedCollection<E> AbstractCollection.toOrderedCollection()
          Answers an ordered collection with the same elements as this collection.
 OrderedCollection<E> ReadStream.upTo(E target)
          Answers a collection of all of the objects in this stream up to, but not including, the next occurrence of the given target.
 



© Copyright 2004-2008 Paul R. Holser, Jr. All rights reserved. Licensed under the Academic Free License version 3.0. pholser@alumni.rice.edu