A B C D E F G H I J L M N P R S T U Z

A

AbstractBasicStream<A> - Class in net.sf.staccatocommons.collections.stream
Very minimal stream partial implementation that defines final methods that are, by spec, overloading or synonyms of the other stream methods
AbstractBasicStream() - Constructor for class net.sf.staccatocommons.collections.stream.AbstractBasicStream
 
AbstractDeconsApplicable<A,B> - Class in net.sf.staccatocommons.collections.stream
Abstract Stream.DeconsApplicable that returns an empty stream for AbstractDeconsApplicable.emptyApply()
AbstractDeconsApplicable() - Constructor for class net.sf.staccatocommons.collections.stream.AbstractDeconsApplicable
 
AbstractDelayedDeconsApplicable<A,B> - Class in net.sf.staccatocommons.collections.stream
 
AbstractDelayedDeconsApplicable() - Constructor for class net.sf.staccatocommons.collections.stream.AbstractDelayedDeconsApplicable
 
AbstractStream<A> - Class in net.sf.staccatocommons.collections.stream
An abstract implementation of a Stream.
AbstractStream() - Constructor for class net.sf.staccatocommons.collections.stream.AbstractStream
 
addAfter(List<A>, A, A) - Static method in class net.sf.staccatocommons.collections.Lists
Inserts the given element after the reference.
addAll(C, Iterable<? extends T>) - Static method in class net.sf.staccatocommons.collections.iterable.ModifiableIterables
Adds all the elements from a given Iterable to a given collection
addBefore(List<A>, A, A) - Static method in class net.sf.staccatocommons.collections.Lists
Inserts the given element before the reference.
all(Iterable<A>, Evaluable<? super A>) - Static method in class net.sf.staccatocommons.collections.iterable.Iterables
Tests if all the elements of the given Iterable satisfy the given predicate
all(Evaluable<? super A>) - Method in class net.sf.staccatocommons.collections.stream.AbstractStream
 
all(Evaluable<? super A>) - Method in interface net.sf.staccatocommons.collections.stream.Stream
Tests if all elements satisfy the given Evaluable
allEqual(Iterable<A>) - Static method in class net.sf.staccatocommons.collections.iterable.Iterables
Answers if all elements in the collection are equal.
allEquiv() - Method in class net.sf.staccatocommons.collections.stream.AbstractStream
 
allEquiv() - Method in interface net.sf.staccatocommons.collections.stream.Stream
Tests if all elements are equal
allEquivBy(Iterable<A>, Evaluable2<? super A, ? super A>) - Static method in class net.sf.staccatocommons.collections.iterable.Iterables
Answers if all elements in the collection are equivalent using the given equivTest.
allEquivBy(Evaluable2<? super A, ? super A>) - Method in class net.sf.staccatocommons.collections.stream.AbstractStream
 
allEquivBy(Evaluable2<? super A, ? super A>) - Method in interface net.sf.staccatocommons.collections.stream.Stream
Tests if all elements are equivalent, using the given equivTest
allSame(Iterable<A>) - Static method in class net.sf.staccatocommons.collections.iterable.Iterables
Answers if all elements in the collection are the same object.
any(Iterable<A>) - Static method in class net.sf.staccatocommons.collections.iterable.Iterables
Returns any element from this iterable, or throws a NoSuchElementException it iterable is empty.
any(Iterable<A>, Evaluable<? super A>) - Static method in class net.sf.staccatocommons.collections.iterable.Iterables
Tests if any of the elements of the given Iterable satisfy the given predicate
any() - Method in class net.sf.staccatocommons.collections.stream.AbstractBasicStream
 
any(Evaluable<? super A>) - Method in class net.sf.staccatocommons.collections.stream.AbstractStream
 
any() - Method in interface net.sf.staccatocommons.collections.stream.Stream
Returns the Stream.head() of this Stream The different between Stream.head() and Stream.any() is strictly semantic: use this message instead of Stream.head() whenever the code needs an unspecified element, rather than the first element of the stream.
any(Evaluable<? super A>) - Method in interface net.sf.staccatocommons.collections.stream.Stream
Tests if at least one element satisfies the given Evaluable
anyKey(Map<K, ?>) - Static method in class net.sf.staccatocommons.collections.Maps
Answers Some(key) from the given Map, or None, if it is empty.
anyKeyOrNull(Map<K, ?>) - Static method in class net.sf.staccatocommons.collections.Maps
Answers a key from the given Map, or null, if it is empty.
anyOrElse(Thunk<A>) - Method in class net.sf.staccatocommons.collections.stream.AbstractStream
 
anyOrElse(A) - Method in class net.sf.staccatocommons.collections.stream.AbstractStream
 
anyOrElse(Thunk<A>) - Method in interface net.sf.staccatocommons.collections.stream.Stream
Shorthand for anyOrNone().valueOrElse(thunk)
anyOrElse(A) - Method in interface net.sf.staccatocommons.collections.stream.Stream
Shorthand for anyOrNone().valueOrElse(value)
anyOrNone(Iterable<A>) - Static method in class net.sf.staccatocommons.collections.iterable.Iterables
Gets any element of the given collection.
anyOrNone() - Method in class net.sf.staccatocommons.collections.stream.AbstractStream
 
anyOrNone() - Method in interface net.sf.staccatocommons.collections.stream.Stream
Returns the Stream.head() of the given Stream, just like Stream.any(), but as an option.
anyOrNull() - Method in class net.sf.staccatocommons.collections.stream.AbstractStream
 
anyOrNull() - Method in interface net.sf.staccatocommons.collections.stream.Stream
Shorthand for anyOrNone().valueOrNull()
anyValue(Map<?, V>) - Static method in class net.sf.staccatocommons.collections.Maps
Answers a Some(value) from the given Map, or None, if it is empty.
anyValueOrNull(Map<?, V>) - Static method in class net.sf.staccatocommons.collections.Maps
Answers a value from the given Map, or null, if it is empty.
append(Iterable<A>) - Method in class net.sf.staccatocommons.collections.stream.AbstractBasicStream
 
append(Thunk<A>) - Method in class net.sf.staccatocommons.collections.stream.AbstractBasicStream
 
append(A) - Method in class net.sf.staccatocommons.collections.stream.AbstractStream
 
append(Iterable<A>) - Method in interface net.sf.staccatocommons.collections.stream.Stream
Deprecated. use Stream.concat(Iterable) instead
append(A) - Method in interface net.sf.staccatocommons.collections.stream.Stream
Adds an element as the last one of the stream.
append(Thunk<A>) - Method in interface net.sf.staccatocommons.collections.stream.Stream
Deprecated. use Stream.delayedAppend(Thunk) instead
appendUndefined() - Method in class net.sf.staccatocommons.collections.stream.AbstractStream
 
appendUndefined() - Method in interface net.sf.staccatocommons.collections.stream.Stream
Concatenates this Stream with the undefined Stream.
apply(A, Stream<A>) - Method in interface net.sf.staccatocommons.collections.stream.Stream.DeconsApplicable
Applies this transformation to a non empty Stream splitted into tail and head.
apply(Thunk<A>, Stream<A>) - Method in interface net.sf.staccatocommons.collections.stream.Stream.DelayedDeconsApplicable
Applies this transformation to a non empty Stream splitted into tail and head's thunk.
Arrs - Class in net.sf.staccatocommons.collections
Class methods for dealing with arrays.
Arrs() - Constructor for class net.sf.staccatocommons.collections.Arrs
 
average(NumberType<A>) - Method in class net.sf.staccatocommons.collections.stream.AbstractStream
 
average(NumberType<A>) - Method in interface net.sf.staccatocommons.collections.stream.Stream
Answers the average of the stream elements, using the given NumberType for performing addition and division.

B

branch(Applicable<? super A, ? extends B>, Applicable<? super A, ? extends C>) - Method in class net.sf.staccatocommons.collections.stream.AbstractStream
 
branch(Applicable<? super A, ? extends B>, Applicable<? super A, ? extends C>) - Method in interface net.sf.staccatocommons.collections.stream.Stream
Answers a Stream of pairs, where each one contains both results of applying the given functions.

C

clone(Applicable<? super A, ? extends B>) - Method in class net.sf.staccatocommons.collections.stream.AbstractStream
 
clone(Applicable<? super A, ? extends B>) - Method in interface net.sf.staccatocommons.collections.stream.Stream
Answers a stream that retrieves a tuple per each element, formed by the original element as the first component, and the result of applying the given function to it as the second component.
concat(Iterable<? extends A>) - Method in class net.sf.staccatocommons.collections.stream.AbstractStream
 
concat(A...) - Method in class net.sf.staccatocommons.collections.stream.AbstractStream
 
concat(Iterator<? extends A>) - Method in class net.sf.staccatocommons.collections.stream.AbstractStream
 
concat(Iterable<? extends A>) - Method in interface net.sf.staccatocommons.collections.stream.Stream
Concatenates this with other It answers an Stream that retrieves elements from this Stream, and then, after its last element, from the given iterable.
concat(A...) - Method in interface net.sf.staccatocommons.collections.stream.Stream
Concatenates this with the given elements It answers an Stream that retrieves elements from this Stream, and then, after its last element, the given elements.
concat(Iterator<? extends A>) - Method in interface net.sf.staccatocommons.collections.stream.Stream
Concatenates this with the given Iterator It answers an Stream that retrieves elements from this Stream, and then, after its last element, the given iterator's elements.
cons(Thunk<A>, Stream<? extends A>) - Static method in class net.sf.staccatocommons.collections.stream.Streams
Creates a new Stream that retrieves elements from a head's thunk, and another Iterable, called tail.
cons(A, Stream<? extends A>) - Static method in class net.sf.staccatocommons.collections.stream.Streams
Creates a new Stream that retrieves elements from a head, and another Iterable, called tail.
cons(A...) - Static method in class net.sf.staccatocommons.collections.stream.Streams
Creates a new Stream that retrieves the elements from the given array.
cons(Thunk<A>) - Static method in class net.sf.staccatocommons.collections.stream.Streams
Creates a one-element new Stream that will retrieve the thunk's value.
cons(A) - Static method in class net.sf.staccatocommons.collections.stream.Streams
Creates a new Stream that will retrieve just the given element
contains(A) - Method in class net.sf.staccatocommons.collections.stream.AbstractStream
 
containsBefore(Iterable<A>, A, A) - Static method in class net.sf.staccatocommons.collections.iterable.Iterables
Answers if element is contained by the given iterable, and its first occurrence is before the first occurrence of the second one, if any.
containsBefore(A, A) - Method in class net.sf.staccatocommons.collections.stream.AbstractStream
 
containsBefore(A, A) - Method in interface net.sf.staccatocommons.collections.stream.Stream
Answers if element is contained by this stream, and its first occurence is before the first occurence of the second one, if any.
containsBeforeIndex(Iterable<A>, A, int) - Static method in class net.sf.staccatocommons.collections.iterable.Iterables
Answers if element is contained by the given iterable, and its first occurrence is before the given index.
containsBeforeIndex(A, int) - Method in class net.sf.staccatocommons.collections.stream.AbstractStream
 
containsBeforeIndex(A, int) - Method in interface net.sf.staccatocommons.collections.stream.Stream
Answers if element is contained by this stream, and its first occurence is before the given index.
countOf(Iterable<A>, Evaluable<? super A>) - Static method in class net.sf.staccatocommons.collections.iterable.Iterables
Answers the number of element that satisfy the given predicate
countOf(Evaluable<? super A>) - Method in class net.sf.staccatocommons.collections.stream.AbstractStream
 
countOf(Evaluable<? super A>) - Method in interface net.sf.staccatocommons.collections.stream.Stream
Answers the number of element that satisfy the given predicate
cross(Iterable<A>, Iterable<B>) - Static method in class net.sf.staccatocommons.collections.iterable.Iterables
Answers the Cartesian product of the two given Iterables.
cross(Collection<A>, Collection<B>) - Static method in class net.sf.staccatocommons.collections.iterable.Iterables
Answers the Cartesian product of the two given Collections.
cross() - Method in class net.sf.staccatocommons.collections.stream.AbstractStream
 
cross(B...) - Method in class net.sf.staccatocommons.collections.stream.AbstractStream
 
cross(Iterator<B>) - Method in class net.sf.staccatocommons.collections.stream.AbstractStream
 
cross(Iterable<B>) - Method in class net.sf.staccatocommons.collections.stream.AbstractStream
 
cross(Stream<B>) - Method in class net.sf.staccatocommons.collections.stream.AbstractStream
 
cross() - Method in interface net.sf.staccatocommons.collections.stream.Stream
Answers the Cartesian product of this stream and itself
cross(Stream<B>) - Method in interface net.sf.staccatocommons.collections.stream.Stream
Answers the Cartesian product of this stream and the given one
cross(Iterable<B>) - Method in interface net.sf.staccatocommons.collections.stream.Stream
Answers the cartesian product of this Stream and the given Iterable
cross(B...) - Method in interface net.sf.staccatocommons.collections.stream.Stream
Answers the cartesian product of this Stream and the given elements.
cross(Iterator<B>) - Method in interface net.sf.staccatocommons.collections.stream.Stream
Answers the cartesian product of this Stream and the given Iterator
crossStreams(Stream<Stream<A>>) - Method in class net.sf.staccatocommons.collections.stream.AbstractStream
 
crossStreams(Stream<Stream<A>>) - Method in interface net.sf.staccatocommons.collections.stream.Stream
Answers the cartesian product of this Stream and each one of the given streamOfStreams

D

decons() - Method in class net.sf.staccatocommons.collections.stream.AbstractStream
 
decons() - Method in interface net.sf.staccatocommons.collections.stream.Stream
Answers this stream split into head and tail.
delayedAppend(Thunk<A>) - Method in class net.sf.staccatocommons.collections.stream.AbstractStream
 
delayedAppend(Thunk<A>) - Method in interface net.sf.staccatocommons.collections.stream.Stream
Adds an element's thunk as the last one of the stream.
delayedDecons() - Method in class net.sf.staccatocommons.collections.stream.AbstractStream
 
delayedDecons() - Method in interface net.sf.staccatocommons.collections.stream.Stream
Answers this non-empty stream split into a head thunk and tail.
delayedMapKeys(Map<K, V1>, Applicable<? super V1, ? extends V2>) - Static method in class net.sf.staccatocommons.collections.Maps
 
delayedPrepend(Thunk<A>) - Method in class net.sf.staccatocommons.collections.stream.AbstractStream
 
delayedPrepend(Thunk<A>) - Method in interface net.sf.staccatocommons.collections.stream.Stream
Adds an element's thunk as the first one of the stream.
drop(int) - Method in class net.sf.staccatocommons.collections.stream.AbstractStream
 
drop(int) - Method in interface net.sf.staccatocommons.collections.stream.Stream
Discards up to N elements from this Stream.
dropWhile(Evaluable<? super A>) - Method in class net.sf.staccatocommons.collections.stream.AbstractStream
 
dropWhile(Evaluable<? super A>) - Method in interface net.sf.staccatocommons.collections.stream.Stream
Discards all elements while they satisfy the given predicate

E

each(Executable<? super A>) - Method in interface net.sf.staccatocommons.collections.stream.Stream
Maps the given side effect over this stream, by answering a Stream that lazily applies the given side effect over each stream elements, and retrieves them.
empty() - Static method in class net.sf.staccatocommons.collections.stream.Streams
Answers a Stream that has no elements.
emptyApply() - Method in class net.sf.staccatocommons.collections.stream.AbstractDeconsApplicable
Returns an empty stream
emptyApply() - Method in class net.sf.staccatocommons.collections.stream.AbstractDelayedDeconsApplicable
Returns an empty stream
emptyApply() - Method in interface net.sf.staccatocommons.collections.stream.Stream.EmptyApplicable
Applies this transformation when this Stream can not be deconstructed in head and tail, because it is empty.
EmptySourceException - Exception in net.sf.staccatocommons.collections
NoSuchElementException that indicates that an element could not be retrieved or calculated from an iterator or iterable source because that source is empty
EmptySourceException(String) - Constructor for exception net.sf.staccatocommons.collections.EmptySourceException
Creates a new EmptySourceException
enumerate(int) - Static method in class net.sf.staccatocommons.collections.stream.Streams
Iterates from the starting integer, adding 1.
enumerate(int, int) - Static method in class net.sf.staccatocommons.collections.stream.Streams
Iterates from the start integer, by adding 1, up to the stop integer, inclusive.
enumerate(int, int, int) - Static method in class net.sf.staccatocommons.collections.stream.Streams
Iterates from the start integer, by adding step, up to the stop integer, inclusive.
equiv(Iterable<? extends A>, Iterable<? extends A>) - Static method in class net.sf.staccatocommons.collections.iterable.Iterables
Test that the elements of both iterables are equal, and in the same order.
equiv(A...) - Method in class net.sf.staccatocommons.collections.stream.AbstractBasicStream
 
equiv(Iterator<? extends A>) - Method in class net.sf.staccatocommons.collections.stream.AbstractBasicStream
 
equiv(Iterable<? extends A>) - Method in class net.sf.staccatocommons.collections.stream.AbstractStream
 
equiv(A...) - Method in interface net.sf.staccatocommons.collections.stream.Stream
Test that the elements of this stream are equal to the elements of the given array, and in the same order.
equiv(Iterable<? extends A>) - Method in interface net.sf.staccatocommons.collections.stream.Stream
Test that the elements of this stream are equal to the elements of the given Iterable, and in the same order.
equiv(Iterator<? extends A>) - Method in interface net.sf.staccatocommons.collections.stream.Stream
Test that the elements of this stream are equal to the elements of the given iterator, and in the same order.
equivBy(Iterable<? extends A>, Iterable<? extends A>, Evaluable2<? super A, ? super A>) - Static method in class net.sf.staccatocommons.collections.iterable.Iterables
Test that the elements of of both iterables are equal, and in the same order, using the given equalityTest for determining equality of elements.
equivBy(Evaluable2<? super A, ? super A>, A...) - Method in class net.sf.staccatocommons.collections.stream.AbstractBasicStream
 
equivBy(Evaluable2<? super A, ? super A>, Iterator<? extends A>) - Method in class net.sf.staccatocommons.collections.stream.AbstractBasicStream
 
equivBy(Evaluable2<? super A, ? super A>, Iterable<? extends A>) - Method in class net.sf.staccatocommons.collections.stream.AbstractStream
 
equivBy(Evaluable2<? super A, ? super A>, Iterable<? extends A>) - Method in interface net.sf.staccatocommons.collections.stream.Stream
Test that the elements of this stream are equivalent to the elements of the given Iterable, and in the same order, using the given equalityTest for determining equivalence between elements.
equivBy(Evaluable2<? super A, ? super A>, Iterator<? extends A>) - Method in interface net.sf.staccatocommons.collections.stream.Stream
Test that the elements of this stream are equivalent to the elements of the given Iterable, and in the same order, using the given equalityTest for determining equivalence between elements.
equivBy(Evaluable2<? super A, ? super A>, A...) - Method in interface net.sf.staccatocommons.collections.stream.Stream
Test that the elements of this stream are equivalent to the given elements, and in the same order, using the given equalityTest for determining equivalence between elements.
equivOn(Applicable<? super A, ? extends B>, A...) - Method in class net.sf.staccatocommons.collections.stream.AbstractBasicStream
 
equivOn(Applicable<? super A, ? extends B>, Iterator<? extends A>) - Method in class net.sf.staccatocommons.collections.stream.AbstractBasicStream
 
equivOn(Applicable<? super A, ? extends B>, Iterable<? extends A>) - Method in class net.sf.staccatocommons.collections.stream.AbstractBasicStream
 
equivOn(Applicable<? super A, ? extends B>, Iterable<? extends A>) - Method in interface net.sf.staccatocommons.collections.stream.Stream
Test that the elements of this stream are equivalent to the elements of the given Iterable, and in the same order, using the Equiv.on(function) for determining equivalence between elements.
equivOn(Applicable<? super A, ? extends B>, Iterator<? extends A>) - Method in interface net.sf.staccatocommons.collections.stream.Stream
Test that the elements of this stream are equivalent to the elements of the given Iterator, and in the same order, using the Equiv.on(function) for determining equivalence between elements.
equivOn(Applicable<? super A, ? extends B>, A...) - Method in interface net.sf.staccatocommons.collections.stream.Stream
Test that the elements of this stream are equivalent to the given elements, and in the same order, using the Equiv.on(function) for determining equivalence between elements.

F

filter(Iterable<A>, Evaluable<? super A>) - Static method in class net.sf.staccatocommons.collections.iterable.Iterables
Selects all elements that evaluate to true.
filter(Evaluable<? super A>) - Method in class net.sf.staccatocommons.collections.stream.AbstractStream
 
filter(Evaluable<? super A>) - Method in interface net.sf.staccatocommons.collections.stream.Stream
Preserves elements that satisfy the given predicate

Example: //Answers stream [hello, world], which has only strings whose length is 5 Streams.cons("a", "hello", "world", "of", "streams", "!").

filterIndex(Evaluable<Integer>) - Method in class net.sf.staccatocommons.collections.stream.AbstractStream
 
filterIndex(Evaluable<Integer>) - Method in interface net.sf.staccatocommons.collections.stream.Stream
Preserves elements that whose index satisfy the given predicate
find(Iterable<A>, Evaluable<? super A>) - Static method in class net.sf.staccatocommons.collections.iterable.Iterables
Alternative version of Iterables.findOrNone(Iterable, Evaluable), where the element is returned if found, or a NoSuchElementException is thrown otherwise
find(Evaluable<? super A>) - Method in class net.sf.staccatocommons.collections.stream.AbstractStream
 
find(Evaluable<? super A>) - Method in interface net.sf.staccatocommons.collections.stream.Stream
Looks for a element that satisfies the given Evaluable.
findIndex(Evaluable<? super A>) - Method in class net.sf.staccatocommons.collections.stream.AbstractStream
 
findIndex(Evaluable<? super A>) - Method in interface net.sf.staccatocommons.collections.stream.Stream
Answers the zero-based index of first element that matches the given predicate
findOrElse(Evaluable<? super A>, Thunk<? extends A>) - Method in class net.sf.staccatocommons.collections.stream.AbstractStream
 
findOrElse(Evaluable<? super A>, A) - Method in class net.sf.staccatocommons.collections.stream.AbstractStream
 
findOrElse(Evaluable<? super A>, Thunk<? extends A>) - Method in interface net.sf.staccatocommons.collections.stream.Stream
Looks for an element that satisfies the given Evaluable.
findOrElse(Evaluable<? super A>, A) - Method in interface net.sf.staccatocommons.collections.stream.Stream
Looks for an element that satisfies the given Evaluable.
findOrNone(Iterable<A>, Evaluable<? super A>) - Static method in class net.sf.staccatocommons.collections.iterable.Iterables
Looks for a object that matches the given predicate.
findOrNone(Evaluable<? super A>) - Method in class net.sf.staccatocommons.collections.stream.AbstractStream
 
findOrNone(Evaluable<? super A>) - Method in interface net.sf.staccatocommons.collections.stream.Stream
Looks for an element that satisfies the given Evaluable.
findOrNull(Evaluable<? super A>) - Method in class net.sf.staccatocommons.collections.stream.AbstractStream
 
findOrNull(Evaluable<? super A>) - Method in interface net.sf.staccatocommons.collections.stream.Stream
Looks for an element that satisfies the given Evaluable.
findPosition(Evaluable<? super A>) - Method in class net.sf.staccatocommons.collections.stream.AbstractBasicStream
 
findPosition(Evaluable<? super A>) - Method in interface net.sf.staccatocommons.collections.stream.Stream
Answers the zero-based index of first, present element that matches the given predicate.
first(List<A>) - Static method in class net.sf.staccatocommons.collections.Lists
Retrieves the list first element (at position 0)
first() - Method in class net.sf.staccatocommons.collections.stream.AbstractBasicStream
 
first() - Method in interface net.sf.staccatocommons.collections.stream.Stream
Answers the first element.
flatMap(Iterable<A>, Applicable<? super A, ? extends Iterable<B>>) - Static method in class net.sf.staccatocommons.collections.iterable.Iterables
Maps the given iterable into a list of iterables using the given function, and flattens the result, concatenating all the resulting iterables into a List
flatMap(Function<? super A, ? extends Iterable<? extends B>>) - Method in class net.sf.staccatocommons.collections.stream.AbstractStream
 
flatMap(Function<? super A, ? extends Iterable<? extends B>>) - Method in interface net.sf.staccatocommons.collections.stream.Stream
Transformes each element into an iterable using the given function, and concatenates (flattens) the result
flatMapArray(Function<? super A, ? extends B[]>) - Method in class net.sf.staccatocommons.collections.stream.AbstractStream
 
flatMapArray(Function<? super A, ? extends B[]>) - Method in interface net.sf.staccatocommons.collections.stream.Stream
Transformes each element into an array using the given function, and concatenates (flattens) the result
fold(Iterable<A>, B, Applicable2<? super B, ? super A, ? extends B>) - Static method in class net.sf.staccatocommons.collections.iterable.Iterables
Answers the result of aggregating the given initial value and the Iterable elements using the given function As a particular case, if iterable is empty, this method returns the initial value.
fold(O, Applicable2<? super O, ? super A, ? extends O>) - Method in class net.sf.staccatocommons.collections.stream.AbstractStream
 
fold(B, Applicable2<? super B, ? super A, ? extends B>) - Method in interface net.sf.staccatocommons.collections.stream.Stream
(Left)folds this Stream using an initial value and the given two-arg function, producing a single aggregated result from all the Stream elements.
force() - Method in class net.sf.staccatocommons.collections.stream.AbstractStream
 
force() - Method in interface net.sf.staccatocommons.collections.stream.Stream
Forces stream elements evaluation by converting it into a new ordered stream one that is not lazy and that has repeatable iteration order.
forEach(Executable<? super A>) - Method in class net.sf.staccatocommons.collections.stream.AbstractStream
 
forEach(Executable<? super A>) - Method in interface net.sf.staccatocommons.collections.stream.Stream
Executes the given Executable block for each element.
from(A...) - Static method in class net.sf.staccatocommons.collections.Arrs
Creates an array specifying its elements.
from(A...) - Static method in class net.sf.staccatocommons.collections.Lists
Answers a new Unmodifiable list with the given elements.
from(Iterable<Tuple2<K, V>>) - Static method in class net.sf.staccatocommons.collections.Maps
Answers a new Unmodifiable map with the given entries
from(Tuple2<K, V>...) - Static method in class net.sf.staccatocommons.collections.Maps
Answers a new Unmodifiable map with the given entries
from(A[]) - Static method in class net.sf.staccatocommons.collections.stream.Streams
Creates a new Stream that retrieves the elements from the given array.
from(Iterable<? extends A>) - Static method in class net.sf.staccatocommons.collections.stream.Streams
Create a new Stream that retrieves elements from the given Iterable.
from(Iterator<? extends A>) - Static method in class net.sf.staccatocommons.collections.stream.Streams
Creates a new Stream that retrieves elements from the given iterator.
from(Enumeration<? extends A>) - Static method in class net.sf.staccatocommons.collections.stream.Streams
Creates a new Stream that retrieves elements from the given Enumeration.
from(CharSequence) - Static method in class net.sf.staccatocommons.collections.stream.Streams
Creates a new Stream that retrieves character elements from the given charSequence
from(Collection<? extends A>) - Static method in class net.sf.staccatocommons.collections.stream.Streams
Creates a new Stream that will retrieve elements from the given collection
from(List<? extends A>) - Static method in class net.sf.staccatocommons.collections.stream.Streams
Creates a new Stream that retrieves elements from a list.
from(Deque<? extends A>) - Static method in class net.sf.staccatocommons.collections.stream.Streams
Creates a new Stream that retrieves elements from a Deque.

G

get(Iterable<A>, int) - Static method in class net.sf.staccatocommons.collections.iterable.Iterables
Gets the zero-based, n-th element of the given Iterable, according to its iteration order.
get(Map<?, V>, Object) - Static method in class net.sf.staccatocommons.collections.Maps
Answers the optional value for the given key
get(int) - Method in class net.sf.staccatocommons.collections.stream.AbstractStream
 
get(int) - Method in interface net.sf.staccatocommons.collections.stream.Stream
Answers the n-th element.
getExistent(Map<?, V>, Object) - Static method in class net.sf.staccatocommons.collections.Maps
Answers the value for the given key.
groupOn(Applicable<? super A, K>, Reduction<A, V>) - Method in class net.sf.staccatocommons.collections.stream.AbstractStream
 
groupOn(Applicable<? super A, K>, Reduction<A, V>) - Method in interface net.sf.staccatocommons.collections.stream.Stream
Groups elements by the given groupingFunction, and reduces each group using the given reduction.

H

head() - Method in class net.sf.staccatocommons.collections.stream.AbstractStream
 
head() - Method in interface net.sf.staccatocommons.collections.stream.Stream
Answers the head of the Stream, which is the first element of the stream.

I

incorporate(Function<? super A, ? extends A>) - Method in class net.sf.staccatocommons.collections.stream.AbstractStream
 
incorporate(A) - Method in class net.sf.staccatocommons.collections.stream.AbstractStream
 
incorporate(Function<? super A, ? extends A>) - Method in interface net.sf.staccatocommons.collections.stream.Stream
Inserts after each element the result of applying the given function to it.
incorporate(A) - Method in interface net.sf.staccatocommons.collections.stream.Stream
Inserts the given value after each element of the stream.
indexOf(Iterable<A>, A) - Static method in class net.sf.staccatocommons.collections.iterable.Iterables
The zero-based index of a given element in the iterable when iterating over it
indexOf(A) - Method in class net.sf.staccatocommons.collections.stream.AbstractStream
 
indexOf(A) - Method in interface net.sf.staccatocommons.collections.stream.Stream
Answers the zero-based index of the given element
indices(Evaluable<? super A>) - Method in class net.sf.staccatocommons.collections.stream.AbstractStream
 
indices(Evaluable<? super A>) - Method in interface net.sf.staccatocommons.collections.stream.Stream
Answers a stream containing all the zero-based indices of the elements that matches the given predicate
insertBefore(A, A) - Method in class net.sf.staccatocommons.collections.stream.AbstractStream
 
insertBefore(A, A) - Method in interface net.sf.staccatocommons.collections.stream.Stream
Inserts element before the first occurrence of reference.
insertBeforeIndex(A, int) - Method in class net.sf.staccatocommons.collections.stream.AbstractStream
 
insertBeforeIndex(A, int) - Method in interface net.sf.staccatocommons.collections.stream.Stream
Inserts element at index - 1.
intersperse(A) - Method in class net.sf.staccatocommons.collections.stream.AbstractStream
intersperse _ [] = [] intersperse _ [x] = [x] intersperse sep (x:xs) = x : sep : intersperse sep xs
intersperse(A) - Method in interface net.sf.staccatocommons.collections.stream.Stream
Inserts the given element between each retrieved element of this Stream
isBefore(Iterable<A>, A, A) - Static method in class net.sf.staccatocommons.collections.iterable.Iterables
Whether an element is before another when iterating through the given iterable.
isBefore(A, A) - Method in class net.sf.staccatocommons.collections.stream.AbstractStream
 
isBefore(A, A) - Method in interface net.sf.staccatocommons.collections.stream.Stream
Answers if both arguments are contained by this stream, and the first one is before the second one.
isEmpty(Iterable<A>) - Static method in class net.sf.staccatocommons.collections.iterable.Iterables
Answers if the given Iterable is empty or not, that is, if its iterator returns at least one element.
isEmpty() - Method in class net.sf.staccatocommons.collections.stream.AbstractStream
 
isNullOrEmpty(Iterable<A>) - Static method in class net.sf.staccatocommons.collections.iterable.Iterables
Answers if the given Iterable is empty or null
isNullOrEmpty(Collection<A>) - Static method in class net.sf.staccatocommons.collections.iterable.Iterables
Answers if the given Collection is empty or null
isNullOrEmpty(Map<?, ?>) - Static method in class net.sf.staccatocommons.collections.Maps
Answers if the given map is null or empty
Iterables - Class in net.sf.staccatocommons.collections.iterable
Class methods that complement the Collections functionality, providing common algorithms for collections and iterables.
Iterables() - Constructor for class net.sf.staccatocommons.collections.iterable.Iterables
 
iterate(A, Applicable<? super A, ? extends A>) - Static method in class net.sf.staccatocommons.collections.stream.Streams
Creates a new infinite Stream that retrieves element from the sequence where the nth element is the given function applied to the nth-1.
iterateUntilNull(A, Applicable<? super A, ? extends A>) - Static method in class net.sf.staccatocommons.collections.stream.Streams
Creates a new, potentially infinte Stream that iterates over the given seed and generator, but will stop before any retrieved element would be null.
iterator() - Method in interface net.sf.staccatocommons.collections.stream.Stream
 

J

joinStrings(String) - Method in class net.sf.staccatocommons.collections.stream.AbstractStream
 
joinStrings(String) - Method in interface net.sf.staccatocommons.collections.stream.Stream
(Left)folds this Stream concatenating each elements toString with a separator

L

last(List<A>) - Static method in class net.sf.staccatocommons.collections.Lists
Retrieves the last element (at position size - 1)
last() - Method in class net.sf.staccatocommons.collections.stream.AbstractStream
 
last() - Method in interface net.sf.staccatocommons.collections.stream.Stream
Answers the last element of this stream.
Lists - Class in net.sf.staccatocommons.collections
Class methods for dealing with List
Lists() - Constructor for class net.sf.staccatocommons.collections.Lists
 

M

map(Collection<A>, Applicable<? super A, ? extends B>) - Static method in class net.sf.staccatocommons.collections.iterable.Iterables
Maps the given Collection into a new List, using the given function The resulting list contains contains the result of applying the given function to each element retrieved from the original iterable
map(Iterable<A>, Applicable<? super A, ? extends B>) - Static method in class net.sf.staccatocommons.collections.iterable.Iterables
Maps the given Iterable into a new list, using the given function.
map(Applicable<? super A, ? extends B>) - Method in class net.sf.staccatocommons.collections.stream.AbstractBasicStream
 
map(Function<? super A, ? extends B>) - Method in class net.sf.staccatocommons.collections.stream.AbstractStream
 
map(Applicable<? super A, ? extends B>) - Method in interface net.sf.staccatocommons.collections.stream.Stream
Transforms each element using the given function
map(Function<? super A, ? extends B>) - Method in interface net.sf.staccatocommons.collections.stream.Stream
Transforms each element using the given function.
mapKeys(Map<K, V1>, Applicable<V1, V2>) - Static method in class net.sf.staccatocommons.collections.Maps
 
Maps - Class in net.sf.staccatocommons.collections
Class methods for dealing with maps
Maps() - Constructor for class net.sf.staccatocommons.collections.Maps
 
maximum() - Method in class net.sf.staccatocommons.collections.stream.AbstractStream
 
maximum() - Method in interface net.sf.staccatocommons.collections.stream.Stream
Answers the maximum element of the stream, using elements natural order.
maximumBy(Comparator<? super A>) - Method in class net.sf.staccatocommons.collections.stream.AbstractStream
 
maximumBy(Comparator<? super A>) - Method in interface net.sf.staccatocommons.collections.stream.Stream
Answers the maximum element of the stream, using the given comparator to compare elements.
maximumOn(Applicable<? super A, B>) - Method in class net.sf.staccatocommons.collections.stream.AbstractBasicStream
 
maximumOn(Applicable<? super A, B>) - Method in interface net.sf.staccatocommons.collections.stream.Stream
Answers the maximum element of the stream, using the given Compare.on(function) to compare elements.
memoize() - Method in class net.sf.staccatocommons.collections.stream.AbstractStream
 
memoize() - Method in interface net.sf.staccatocommons.collections.stream.Stream
Memoizes stream elements and their order, by answering a lazy stream with Repeatable iteration order that caches elements evaluated during iteration.
memorize() - Method in class net.sf.staccatocommons.collections.stream.AbstractBasicStream
 
memorize() - Method in interface net.sf.staccatocommons.collections.stream.Stream
Deprecated. the exact name of this concept is memoization, not memorization. Use Stream.memoize() instead
minimum() - Method in class net.sf.staccatocommons.collections.stream.AbstractStream
 
minimum() - Method in interface net.sf.staccatocommons.collections.stream.Stream
Answers the minimum element of the stream, using elements natural order.
minimumBy(Comparator<? super A>) - Method in class net.sf.staccatocommons.collections.stream.AbstractStream
 
minimumBy(Comparator<? super A>) - Method in interface net.sf.staccatocommons.collections.stream.Stream
Answers the min element of the stream, using the given comparator to compare elements.
minimumOn(Applicable<? super A, B>) - Method in class net.sf.staccatocommons.collections.stream.AbstractBasicStream
 
minimumOn(Applicable<? super A, B>) - Method in interface net.sf.staccatocommons.collections.stream.Stream
Answers the minimum element of the stream, using the given Compare.on(function) to compare elements.
ModifiableIterables - Class in net.sf.staccatocommons.collections.iterable
A bunch of static methods that extend the Collections functionality, providing common algorithms for collections and iterables.
ModifiableIterables() - Constructor for class net.sf.staccatocommons.collections.iterable.ModifiableIterables
 
move(Iterable<T>, C, Evaluable<T>) - Static method in class net.sf.staccatocommons.collections.iterable.ModifiableIterables
Removes all elements from the given iterable that evalute to true, and adds them to the given collection
move(Iterable<T>, int, C) - Static method in class net.sf.staccatocommons.collections.iterable.ModifiableIterables
Removes at most n elements from the given iterable, and adds it to the output collection

N

net.sf.staccatocommons.collections - package net.sf.staccatocommons.collections
This package contains Maps, Lists and Arrs hubs with class methods for common operations on Lists, Maps and Arrays.
net.sf.staccatocommons.collections.iterable - package net.sf.staccatocommons.collections.iterable
This package contains utility classes with methods for performing common eager operations on Iterables.
net.sf.staccatocommons.collections.restrictions - package net.sf.staccatocommons.collections.restrictions
 
net.sf.staccatocommons.collections.stream - package net.sf.staccatocommons.collections.stream
This package contains the interfaces that define a Stream, a lazy, rich, Iterable, an abstract implementation of it, and the Streams hub with class methods for creating simple Streams

P

partition(Iterable<A>, Evaluable<? super A>) - Static method in class net.sf.staccatocommons.collections.iterable.Iterables
Splits the given iterable by returning two Lists, the first one containing those elements that satisfy the given predicate, and the second one containing those elements that do not satisfy it.
partition(Evaluable<? super A>) - Method in class net.sf.staccatocommons.collections.stream.AbstractStream
 
partition(Evaluable<? super A>) - Method in interface net.sf.staccatocommons.collections.stream.Stream
Splits stream elements into two lists using a predicate - elements that evaluate to true will be returned in the first component, the rest will be returned in the second component
positionOf(A) - Method in class net.sf.staccatocommons.collections.stream.AbstractBasicStream
 
positionOf(A) - Method in interface net.sf.staccatocommons.collections.stream.Stream
Answers the index of the given present element.
prepend(Thunk<A>) - Method in class net.sf.staccatocommons.collections.stream.AbstractBasicStream
 
prepend(A) - Method in class net.sf.staccatocommons.collections.stream.AbstractStream
 
prepend(A) - Method in interface net.sf.staccatocommons.collections.stream.Stream
Adds an element as the first one of the stream.
prepend(Thunk<A>) - Method in interface net.sf.staccatocommons.collections.stream.Stream
Deprecated. use Stream.delayedPrepend(Thunk)
print(Appendable) - Method in class net.sf.staccatocommons.collections.stream.AbstractStream
 
print() - Method in class net.sf.staccatocommons.collections.stream.AbstractStream
 
print(Appendable) - Method in interface net.sf.staccatocommons.collections.stream.Stream
Prints the stream elements to an appendable, like StringBuilder or a Writer
print() - Method in interface net.sf.staccatocommons.collections.stream.Stream
Prints the stream elements to System.out
println() - Method in class net.sf.staccatocommons.collections.stream.AbstractBasicStream
 
println(Appendable) - Method in class net.sf.staccatocommons.collections.stream.AbstractStream
 
println(Appendable) - Method in interface net.sf.staccatocommons.collections.stream.Stream
Prints the stream elements to an appendable, like StringBuilder or a Writer, followed by a newline character
println() - Method in interface net.sf.staccatocommons.collections.stream.Stream
Prints the stream elements to System.out, followed by a newline character.
printString() - Method in class net.sf.staccatocommons.collections.stream.AbstractStream
 
printString() - Method in interface net.sf.staccatocommons.collections.stream.Stream
Prints the stream elements to a string
product(Iterable<A>, NumberType<A>) - Static method in class net.sf.staccatocommons.collections.iterable.Iterables
Answers the product of the numeric elements of the given Iterable, using the given NumberType to implement the multiplication.
product(NumberType<A>) - Method in class net.sf.staccatocommons.collections.stream.AbstractStream
 
product(NumberType<A>) - Method in interface net.sf.staccatocommons.collections.stream.Stream
Answers the product of the elements of this Stream using the given NumberType
Projection - Annotation Type in net.sf.staccatocommons.collections.restrictions
Projection restriction signals that the annotated method will not impact the operation on the receptor object, but instead return a new object that represents the result of just operation.

R

RandomAccess - Annotation Type in net.sf.staccatocommons.collections.restrictions
RandomAccess is a restriction for Iterables taht has the same meaning of the RandomAccess interface.
reduce(Iterable<A>, Applicable2<? super A, ? super A, ? extends A>) - Static method in class net.sf.staccatocommons.collections.iterable.Iterables
Answers the result of aggregating the given iterable elements using the given function.
reduce(Iterable<A>, Reduction<? super A, B>) - Static method in class net.sf.staccatocommons.collections.iterable.Iterables
Answers the result of aggregating the given iterable using the given reduction
reduce(Applicable2<? super A, ? super A, ? extends A>) - Method in class net.sf.staccatocommons.collections.stream.AbstractStream
 
reduce(Reduction<? super A, B>) - Method in class net.sf.staccatocommons.collections.stream.AbstractStream
 
reduce(Applicable2<? super A, ? super A, ? extends A>) - Method in interface net.sf.staccatocommons.collections.stream.Stream
(Left)folds the tail of this Stream using the first element of the stream as initial value, producing a single aggregated result from all the Stream elements.
reduce(Reduction<? super A, B>) - Method in interface net.sf.staccatocommons.collections.stream.Stream
Answers the result of aggregating this stream using the given reduction
remove(I, int) - Static method in class net.sf.staccatocommons.collections.iterable.ModifiableIterables
Removes up to N elements from the given iterable
removeAll(I, Evaluable<? super T>) - Static method in class net.sf.staccatocommons.collections.iterable.ModifiableIterables
Removes from the given iterable all the elements that evaluate to true
removeLast(List<A>) - Static method in class net.sf.staccatocommons.collections.Lists
Removes the list last element
removeWhile(I, Evaluable<? super T>) - Static method in class net.sf.staccatocommons.collections.iterable.ModifiableIterables
Removes elements from the given iterable, while each element evaluates to true
repeat(A) - Static method in class net.sf.staccatocommons.collections.stream.Streams
Answers an infinite Stream that indefinitely retrieves the given element.
repeat(Thunk<A>) - Static method in class net.sf.staccatocommons.collections.stream.Streams
Answers an infinite Stream that indefinitely retrieves the given thunk's value.
Repeatable - Annotation Type in net.sf.staccatocommons.collections.restrictions
Repeatable is a restriction for Iterables that have repeatable iteration order - that is, subsequent access the the same position returns equal objects - as long as such Iterables are not mutated.
reverse() - Method in class net.sf.staccatocommons.collections.stream.AbstractStream
 
reverse() - Method in interface net.sf.staccatocommons.collections.stream.Stream
Reverses this Stream, by returning a new Stream that retrieves elements in the inverse order of this Stream.

S

second(List<A>) - Static method in class net.sf.staccatocommons.collections.Lists
Retrieves the list second element (at position 1)
second() - Method in class net.sf.staccatocommons.collections.stream.AbstractBasicStream
 
second() - Method in interface net.sf.staccatocommons.collections.stream.Stream
Answers the second element.
single(Collection<A>) - Static method in class net.sf.staccatocommons.collections.iterable.Iterables
Returns the single element of the given collection.
size(Iterable<?>) - Static method in class net.sf.staccatocommons.collections.iterable.Iterables
Answers the size of the given iterable, that is, the number of elements it retrieves
size() - Method in class net.sf.staccatocommons.collections.stream.AbstractStream
 
skip(A) - Method in interface net.sf.staccatocommons.collections.stream.Stream
Preserves all elements but those that are equal to the given one.
skipIndex(int) - Method in class net.sf.staccatocommons.collections.stream.AbstractStream
 
skipIndex(int) - Method in interface net.sf.staccatocommons.collections.stream.Stream
Answers a streams that retrieves all the elements of this one, except of that at the given index
slice(int, int) - Method in class net.sf.staccatocommons.collections.stream.AbstractStream
 
slice(int, int) - Method in interface net.sf.staccatocommons.collections.stream.Stream
Answers a stream that is a substream of this one.
sort() - Method in class net.sf.staccatocommons.collections.stream.AbstractStream
 
sort() - Method in interface net.sf.staccatocommons.collections.stream.Stream
Sorts this Stream, using their element's natural ordering
sortBy(Comparator<A>) - Method in class net.sf.staccatocommons.collections.stream.AbstractStream
 
sortBy(Comparator<A>) - Method in interface net.sf.staccatocommons.collections.stream.Stream
Sorts this Stream, using the given comparator
sortOn(Applicable<? super A, B>) - Method in class net.sf.staccatocommons.collections.stream.AbstractBasicStream
 
sortOn(Applicable<? super A, B>) - Method in interface net.sf.staccatocommons.collections.stream.Stream
Sorts this Stream, using Compare.on(function) as comparator
Stream<A> - Interface in net.sf.staccatocommons.collections.stream
A Stream is a lazy, rich-interfaced, Iterable, chained functional-style object that can retrieve and process an arbitrary - and potentially unbound - amount of other objects of a parameterized type.
Stream.DeconsApplicable<A,B> - Interface in net.sf.staccatocommons.collections.stream
An Applicable2 that can transform a Stream by deconstructing it into head and tail, or into an empty stream.
Stream.DelayedDeconsApplicable<A,B> - Interface in net.sf.staccatocommons.collections.stream
An Applicable2 that can transform a Stream by deconstructing it into head thunk and tail, or into an empty stream.
Stream.EmptyApplicable<A> - Interface in net.sf.staccatocommons.collections.stream
 
streamPartition(Evaluable<? super A>) - Method in class net.sf.staccatocommons.collections.stream.AbstractStream
 
streamPartition(Evaluable<? super A>) - Method in interface net.sf.staccatocommons.collections.stream.Stream
Splits stream elements into two ordered streams, that support random access.
Streams - Class in net.sf.staccatocommons.collections.stream
Class methods for creating very simple Streams wrapping existing classes from the Java collections framework, specifiying its elements and
sum(Iterable<A>, NumberType<A>) - Static method in class net.sf.staccatocommons.collections.iterable.Iterables
Answers the sum of the numeric elements of the given Iterable, using the given NumberType to implement the addition.
sum(NumberType<A>) - Method in class net.sf.staccatocommons.collections.stream.AbstractStream
 
sum(NumberType<A>) - Method in interface net.sf.staccatocommons.collections.stream.Stream
Answers the sum of the elements of this Stream using the given NumberType

T

tail() - Method in class net.sf.staccatocommons.collections.stream.AbstractStream
 
tail() - Method in interface net.sf.staccatocommons.collections.stream.Stream
Answers the tail of the Stream
take(Iterable<A>, int) - Static method in class net.sf.staccatocommons.collections.iterable.Iterables
Selects at most the fist N elements from the iterable, according to its iteration order.
take(int) - Method in class net.sf.staccatocommons.collections.stream.AbstractStream
 
take(int) - Method in interface net.sf.staccatocommons.collections.stream.Stream
Preserves up to N elements.
takeWhile(Evaluable<? super A>) - Method in class net.sf.staccatocommons.collections.stream.AbstractStream
 
takeWhile(Evaluable<? super A>) - Method in interface net.sf.staccatocommons.collections.stream.Stream
Preserves all elements while they satisfy the given predicate
third(List<A>) - Static method in class net.sf.staccatocommons.collections.Lists
Retrieves the list third element (at position 2)
third() - Method in class net.sf.staccatocommons.collections.stream.AbstractBasicStream
 
third() - Method in interface net.sf.staccatocommons.collections.stream.Stream
Answers the third element.
toArray(Class<? super A>) - Method in class net.sf.staccatocommons.collections.stream.AbstractStream
 
toArray(Class<? super A>, Collection<A>) - Method in class net.sf.staccatocommons.collections.stream.AbstractStream
 
toArray(Class<? super A>) - Method in interface net.sf.staccatocommons.collections.stream.Stream
Creates a new array that has the same elements that the retrived by this Stream
toList(Collection<A>) - Static method in class net.sf.staccatocommons.collections.iterable.Iterables
Converts the given collection into a List.
toList(Iterable<A>) - Static method in class net.sf.staccatocommons.collections.iterable.Iterables
Converts the given iterable into a List.
toList() - Method in class net.sf.staccatocommons.collections.stream.AbstractStream
 
toList() - Method in interface net.sf.staccatocommons.collections.stream.Stream
* Converts this Stream into a List, by adding all its elements to a new List.
toSet(A...) - Static method in class net.sf.staccatocommons.collections.iterable.Iterables
Converts the given elements into a Set.
toSet(Collection<A>) - Static method in class net.sf.staccatocommons.collections.iterable.Iterables
Converts the given collection into a Set.
toSet(Iterable<A>) - Static method in class net.sf.staccatocommons.collections.iterable.Iterables
Converts the given Iterable into a Set.
toSet() - Method in class net.sf.staccatocommons.collections.stream.AbstractStream
 
toSet() - Method in interface net.sf.staccatocommons.collections.stream.Stream
Converts this Stream into a Set, by adding all its elements to a new Set.
toSortedList(Iterable<A>, Comparator<? super A>) - Static method in class net.sf.staccatocommons.collections.iterable.Iterables
Sorts a the given iterable into a new list, using the given comparator.
toSortedSet(Iterable<A>, Comparator<? super A>) - Static method in class net.sf.staccatocommons.collections.iterable.Iterables
Sorts a given iterable using the given Comparator into a new SortedSet
toSortedSet(Iterable<A>) - Static method in class net.sf.staccatocommons.collections.iterable.Iterables
Sorts a given iterable using its natural ordering
toString() - Method in class net.sf.staccatocommons.collections.stream.AbstractStream
 
transform(Applicable<Stream<A>, ? extends Stream<B>>) - Method in class net.sf.staccatocommons.collections.stream.AbstractStream
 
transform(Stream.DeconsApplicable<A, B>) - Method in class net.sf.staccatocommons.collections.stream.AbstractStream
 
transform(Stream.DelayedDeconsApplicable<A, B>) - Method in class net.sf.staccatocommons.collections.stream.AbstractStream
 
transform(Applicable<Stream<A>, ? extends Stream<B>>) - Method in interface net.sf.staccatocommons.collections.stream.Stream
Lazily applies the given function to this Stream.
transform(Stream.DeconsApplicable<A, B>) - Method in interface net.sf.staccatocommons.collections.stream.Stream
Lazily applies the given function to this stream, deconstructing this stream into head and tail, or into an empty stream.
transform(Stream.DelayedDeconsApplicable<A, B>) - Method in interface net.sf.staccatocommons.collections.stream.Stream
Lazily applies the given function to this stream, deconstructing this stream into a head thunk and tail, or into an empty stream.
type() - Static method in class net.sf.staccatocommons.collections.Lists
Answers the List class, but preserving its element generic type.
type() - Static method in class net.sf.staccatocommons.collections.stream.Streams
Answers the Stream class, but preserving its element generic type.

U

undefined() - Static method in class net.sf.staccatocommons.collections.stream.Streams
Answers a one element Stream that throws an exception when trying to access its element.

Z

zip(Iterable<A>, Iterable<B>, Applicable2<A, B, C>) - Static method in class net.sf.staccatocommons.collections.iterable.Iterables
Returns a List formed by the result of applying the given function to each Tuple2 of elements from the two iterables given.
zip(Iterable<A>, Iterable<B>) - Static method in class net.sf.staccatocommons.collections.iterable.Iterables
Returns a List formed by Tuple2 of elements from the two iterables.
zip(B...) - Method in class net.sf.staccatocommons.collections.stream.AbstractBasicStream
 
zip(Iterator<B>) - Method in class net.sf.staccatocommons.collections.stream.AbstractBasicStream
 
zip(Iterable<B>) - Method in class net.sf.staccatocommons.collections.stream.AbstractBasicStream
 
zip(Iterable<B>, Function2<? super A, ? super B, C>) - Method in class net.sf.staccatocommons.collections.stream.AbstractBasicStream
 
zip(Iterable<B>, Function2<? super A, ? super B, C>) - Method in interface net.sf.staccatocommons.collections.stream.Stream
Deprecated. use Stream.zipWith(Function2, Iterable)
zip(B...) - Method in interface net.sf.staccatocommons.collections.stream.Stream
Returns a Stream formed by by pair of element from this and the given elements.
zip(Iterable<B>) - Method in interface net.sf.staccatocommons.collections.stream.Stream
Returns a Stream formed by by pair of element from this and the given iterable.
zip(Iterator<B>) - Method in interface net.sf.staccatocommons.collections.stream.Stream
Returns a Stream formed by by pair of element from this and the given Iterator.
zipWith(Function2<? super A, ? super B, C>, B...) - Method in class net.sf.staccatocommons.collections.stream.AbstractStream
 
zipWith(Function2<? super A, ? super B, C>, Iterable<B>) - Method in class net.sf.staccatocommons.collections.stream.AbstractStream
 
zipWith(Function2<? super A, ? super B, C>, Iterator<B>) - Method in class net.sf.staccatocommons.collections.stream.AbstractStream
 
zipWith(Function2<? super A, ? super B, C>, B...) - Method in interface net.sf.staccatocommons.collections.stream.Stream
Returns a Stream formed by the result of applying the given function to each pair of elements from this and the given iterable.
zipWith(Function2<? super A, ? super B, C>, Iterable<B>) - Method in interface net.sf.staccatocommons.collections.stream.Stream
Returns a Stream formed by the result of applying the given function to each pair of elements from this and the given iterable.
zipWith(Function2<? super A, ? super B, C>, Iterator<B>) - Method in interface net.sf.staccatocommons.collections.stream.Stream
Returns a Stream formed by the result of applying the given function to each pair of elements from this and the other.

A B C D E F G H I J L M N P R S T U Z

Get Staccatocommons at SourceForge.net. Fast, secure and Free Open Source software downloads