|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
Stream.DeconsApplicable that returns an empty stream for
AbstractDeconsApplicable.emptyApply()Stream.Iterable to a given collection
Iterable satisfy the given
predicate
Evaluable
equivTest.
equivTest
NoSuchElementException it iterable is empty.
Iterable satisfy the
given predicate
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.
Evaluable
Map, or None, if it is
empty.
Map, or null, if it is empty.
anyOrNone().valueOrElse(thunk)
anyOrNone().valueOrElse(value)
Stream.head() of the given Stream, just like Stream.any(),
but as an option.
anyOrNone().valueOrNull()
Some(value) from the given Map, or
None, if it is empty.
Map, or null, if it is
empty.
Stream.concat(Iterable) instead
Stream.delayedAppend(Thunk) instead
NumberType for performing addition and division.
this with other
It answers an Stream that retrieves elements from this Stream, and
then, after its last element, from the given iterable.
this with the given elements
It answers an Stream that retrieves elements from this Stream, and
then, after its last element, the given elements.
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.
Stream that retrieves elements from a head's thunk,
and another Iterable, called tail.
Stream that retrieves elements from a head, and
another Iterable, called tail.
Stream that retrieves the elements from the given
array.
element is contained by the given iterable, and its first
occurrence is before the first occurrence of the second one, if any.
element is contained by this stream, and its first
occurence is before the first occurence of the second one, if any.
element is contained by the given iterable, and its first
occurrence is before the given index.
element is contained by this stream, and its first
occurence is before the given index.
Iterables.
Collections.
Stream and the given
Iterable
Stream and the given
elements.
Stream and the given
Iterator
Stream and each one of the
given streamOfStreams
Stream.
predicate
Stream
that lazily applies the given side effect over each stream elements, and
retrieves them.
Stream that has no elements.
NoSuchElementException that indicates that an element could not be
retrieved or calculated from an iterator or iterable source because that
source is emptyEmptySourceException
start integer, by adding 1, up to the
stop integer, inclusive.
start integer, by adding step, up to the
stop integer, inclusive.
Iterable, and in the same order.
iterator, and in the same order.
equalityTest for determining equality
of elements.
Iterable, and in the same order, using the given
equalityTest for determining equivalence between elements.
Iterable, and in the same order, using the given
equalityTest for determining equivalence between elements.
elements, and in the same order, using the given
equalityTest for determining equivalence between elements.
Iterable, and in the same order, using the
Equiv.on(function) for determining equivalence between
elements.
Iterator, and in the same order, using the
Equiv.on(function) for determining equivalence between
elements.
Equiv.on(function) for
determining equivalence between elements.
predicate
Example:
//Answers stream [hello, world], which has only strings whose length is 5
Streams.cons("a", "hello", "world", "of", "streams", "!").
predicate
Iterables.findOrNone(Iterable, Evaluable), where the
element is returned if found, or a NoSuchElementException is thrown
otherwise
Evaluable.
Evaluable.
Evaluable.
Evaluable.
Evaluable.
iterable into a list of iterables using the
given function, and flattens the result, concatenating all the
resulting iterables into a List
initial value and
the Iterable elements using the given function
As a particular case, if iterable is empty, this method
returns the initial value.
Stream using an initial value and the given
two-arg function, producing a single aggregated result from all the Stream
elements.
Executable block for each element.
Unmodifiable list with the given elements.
Unmodifiable map with the given entries
Unmodifiable map with the given entries
Stream that retrieves the elements from the given
array.
Stream that retrieves elements from the given
Iterable.
Stream that retrieves elements from the given
iterator.
Stream that retrieves elements from the given
Enumeration.
Stream that retrieves character elements from the
given charSequence
Stream that will retrieve elements from the given
collection
Stream that retrieves elements from a list.
Stream that retrieves elements from a Deque.
n-th element of the given
Iterable, according to its iteration order.
groupingFunction, and reduces each
group using the given reduction.
Stream, which is the first element of the
stream.
element before the first occurrence of reference.
element at index - 1.
element between each retrieved element of
this Stream
Iterable is empty or not, that is, if its
iterator returns at least one element.
Iterable is empty or null
Collection is empty or null
Collections
functionality, providing common algorithms for collections and iterables.Stream that retrieves element from the
sequence where the nth element is the given function applied to the nth-1.
Stream that iterates over the
given seed and generator, but will stop before any retrieved element would be
null.
Stream concatenating each elements toString with a
separator
ListCollection 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
Iterable into a new list, using the given
function.
comparator to compare elements.
Compare.on(function) to compare elements.
Repeatable iteration order that caches elements evaluated during
iteration.
Stream.memoize() instead
comparator to compare elements.
Compare.on(function) to compare elements.
Collections
functionality, providing common algorithms for collections and iterables.Maps,
Lists and Arrs
hubs with class methods for common operations on Lists, Maps and Arrays.Iterables.Stream,
a lazy, rich, Iterable, an abstract implementation of it, and
the Streams hub with
class methods for creating simple StreamsLists, the first one
containing those elements that satisfy the given predicate, and the second
one containing those elements that do not satisfy it.
Stream.delayedPrepend(Thunk)
StringBuilder or
a Writer
System.out
StringBuilder or
a Writer, followed by a newline character
System.out, followed by a newline
character.
Iterable,
using the given NumberType to implement the multiplication.
Stream using the given
NumberType
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.RandomAccess is a restriction for Iterables taht has the same
meaning of the RandomAccess interface.iterable elements
using the given function.
iterable using the
given reduction
Stream using the first element of the
stream as initial value, producing a single aggregated result from all the
Stream elements.
reduction
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.iterable, that is, the number of
elements it retrieves
Compare.on(function) as comparator
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.Applicable2 that can transform a Stream by
deconstructing it into head and tail, or into an empty stream.Applicable2 that can transform a Stream by
deconstructing it into head thunk and tail, or into an empty stream.Streams wrapping existing
classes from the Java collections framework, specifiying its elements andIterable,
using the given NumberType to implement the addition.
Stream using the given
NumberType
Stream
predicate
Stream
List.
List.
Stream into a List, by adding all its elements to a
new List.
Set.
Set.
Iterable into a Set.
Stream into a Set, by adding all its elements to a
new Set.
iterable into a new list, using the given
comparator.
iterable using the given Comparator into
a new SortedSet
iterable using its natural ordering
Stream.
function to this stream,
deconstructing this stream into head and tail, or into an empty stream.
function to this stream,
deconstructing this stream into a head thunk and tail, or into an empty
stream.
Stream that throws an exception when trying
to access its element.
List formed by the result of applying the given
function to each Tuple2 of elements from the two iterables
given.
List formed by Tuple2 of elements from the two iterables.
Stream.zipWith(Function2, Iterable)
Stream formed by by pair of element from
this and the given elements.
Stream formed by by pair of element from
this and the given iterable.
Stream formed by by pair of element from
this and the given Iterator.
Stream formed by the result of applying the given
function to each pair of elements from this and
the given iterable.
Stream formed by the result of applying the given
function to each pair of elements from this and
the given iterable.
Stream formed by the result of applying the given
function to each pair of elements from this and
the other.
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||