- call() - Method in interface ix.IxScalarCallable
-
- cast(Class<R>) - Method in class ix.Ix
-
Cast the elements to the specified class.
- characters(CharSequence) - Static method in class ix.Ix
-
Emits all characters from the given CharSequence as integer values.
- characters(CharSequence, int, int) - Static method in class ix.Ix
-
Emits a range of characters from the given CharSequence as integer values.
- checkedCall(Callable<U>) - Static method in class ix.Ix
-
Calls the given callable and rethrows its exception
(as RuntimeException if necessary).
- clear() - Method in class ix.IxSourceQueuedIterator
-
- collect(IxSupplier<C>, IxConsumer2<C, T>) - Method in class ix.Ix
-
Collect the elements into a collection via collector action and emit that collection
as a single item.
- collectToArray() - Method in class ix.Ix
-
Collects the elements of this sequence into an Object array.
- collectToList() - Method in class ix.Ix
-
Collects the elements of this sequence into a List.
- collectToMap(IxFunction<? super T, ? extends K>) - Method in class ix.Ix
-
Collects the elements of this sequence into a Map where the key is
determined from each element via the keySelector function; duplicates are
overwritten.
- collectToMap(IxFunction<? super T, ? extends K>, IxFunction<? super T, ? extends V>) - Method in class ix.Ix
-
Collects the elements of this sequence into a Map where the key is
determined from each element via the keySelector function and
the value is derived from the same element via the valueSelector function; duplicates are
overwritten.
- collectToMultimap(IxFunction<? super T, ? extends K>) - Method in class ix.Ix
-
Collects the elements of this sequence into a multi-Map where the key is
determined from each element via the keySelector function.
- collectToMultimap(IxFunction<? super T, ? extends K>, IxFunction<? super T, ? extends V>) - Method in class ix.Ix
-
Collects the elements of this sequence into a multi-Map where the key is
determined from each element via the keySelector function and
the value is derived from the same element via the valueSelector function.
- collectToSet() - Method in class ix.Ix
-
Collects the elements of this sequence into a Set.
- compose(IxFunction<? super Ix<T>, ? extends Iterable<? extends R>>) - Method in class ix.Ix
-
When the iterator() of the returned Ix is called, it calls the transformer function
with this Ix instance and emits the elements of the returned Iterable.
- concat(Iterable<? extends Iterable<? extends T>>) - Static method in class ix.Ix
-
Concatenates the elements of Iterable sources, provided as an Iterable itself, sequentially.
- concat(Iterable<? extends T>, Iterable<? extends T>) - Static method in class ix.Ix
-
Concatenates the elements of two Iterable sources sequentially
The result's iterator() forwards the remove() calls to the current iterator.
- concat(Iterable<? extends T>, Iterable<? extends T>, Iterable<? extends T>) - Static method in class ix.Ix
-
Concatenates the elements of three Iterable sources sequentially
The result's iterator() forwards the remove() calls to the current iterator.
- concat(Iterable<? extends T>, Iterable<? extends T>, Iterable<? extends T>, Iterable<? extends T>) - Static method in class ix.Ix
-
Concatenates the elements of three Iterable sources sequentially
The result's iterator() forwards the remove() calls to the current iterator.
- concatArray(Iterable<? extends T>...) - Static method in class ix.Ix
-
Concatenates the elements of Iterable sources, provided as an array, sequentially.
- concatMap(IxFunction<? super T, ? extends Iterable<? extends R>>) - Method in class ix.Ix
-
Maps each element from this sequence into subsequent Iterable sequences whose elements are
concatenated in order.
- concatWith(Iterable<? extends T>) - Method in class ix.Ix
-
Emits elements of this sequence followed by the elements of the other sequence.
- contains(Object) - Method in class ix.Ix
-
Emits true if the sequence contains the given Object, compared via null-safe
equals.
- count() - Method in class ix.Ix
-
Emits the number of elements in this sequence.
- countLong() - Method in class ix.Ix
-
Emits the number of elements, as a long, in this sequence.
- defaultIfEmpty(T) - Method in class ix.Ix
-
Emits the given value if this sequence is empty, streams this sequence otherwise.
- defer(IxSupplier<? extends Iterable<? extends T>>) - Static method in class ix.Ix
-
Defers the generation of the actual Iterable till the iterator() is called on
the resulting Ix.
- distinct() - Method in class ix.Ix
-
Emits only distinct, never before seen elements (according to null-safe equals())
of this sequence.
- distinct(IxFunction<? super T, K>) - Method in class ix.Ix
-
Emits only distinct, never before seen keys extracted from elements
(according to null-safe equals()) of this sequence.
- distinctUntilChanged() - Method in class ix.Ix
-
Emits elements from this sequence if each element is different from the previous element
(according to a null-safe equals()), dropping elements that evaluate to the same as the previous.
- distinctUntilChanged(IxPredicate2<? super T, ? super T>) - Method in class ix.Ix
-
Emits elements from this sequence if each element is different from the previous element
(according to a comparer), dropping elements that evaluate to the same as the previous.
- distinctUntilChanged(IxFunction<? super T, K>) - Method in class ix.Ix
-
Emits elements from this sequence if each element is different from the previous element
(according to a null-safe equals() of the extracted key), dropping elements that evaluate
to the same as the previous.
- done - Variable in class ix.IxBaseIterator
-
Indicates there are no more data available.
- doOnCompleted(Runnable) - Method in class ix.Ix
-
Calls the given action after consumption of this sequence has completed, i.e., when
hasNext() of this Ix.iterator() returns false.
- doOnNext(IxConsumer<? super T>) - Method in class ix.Ix
-
Calls the given action just before when the consumer calls next() of this Ix.iterator().
- filter(IxPredicate<T>) - Method in class ix.Ix
-
Emits elements of this sequence which match the given predicate only.
- first() - Method in class ix.Ix
-
Returns the first element of this sequence.
- first(T) - Method in class ix.Ix
-
Returns the first element of this sequence or the defaultValue
if this sequence is empty.
- flatMap(IxFunction<? super T, ? extends Iterable<? extends R>>) - Method in class ix.Ix
-
Maps each element from this sequence into subsequent Iterable sequences whose elements are
concatenated in order.
- foreach(IxConsumer<? super T>) - Method in class ix.Ix
-
Consumes the entire sequence and calls the given action with each value.
- foreach(IxConsumer2<? super U, S>, S) - Method in class ix.IxSourceQueuedIterator
-
- foreachWhile(IxPredicate<? super T>) - Method in class ix.Ix
-
Consumes the entire sequence and calls the given predicate with each value;
which can stop the iteration by returning false.
- forloop(T, IxPredicate<? super T>, IxFunction<? super T, ? extends T>, IxFunction<? super T, ? extends R>) - Static method in class ix.Ix
-
Generates a sequence of values via a generic indexed for-loop style construct;
the index starts with the given seed, checked via a condition (to terminate),
generated from the index via the selector and then a new index is generated via next.
- from(Iterable<T>) - Static method in class ix.Ix
-
Wraps the given Iterable source into an Ix instance (if
not already an Ix subclass).
- fromArray(T...) - Static method in class ix.Ix
-
Emits all the elements of the given array.
- fromArrayRange(int, int, T...) - Static method in class ix.Ix
-
Emits a range of elements from the given array.
- fromObject(Object) - Method in class ix.IxSourceQueuedIterator
-
Cast the object back to a typed value.
- ignoreElements() - Method in class ix.Ix
-
Runs through this sequence, ignoring all values until this sequence completes.
- intersect(Iterable<? extends T>) - Method in class ix.Ix
-
Emits distinct values of this and the other Iterables that are present in
both sequences.
- into(U) - Method in class ix.Ix
-
Consumes the entire sequence and adds each element into the given collection
that is also returned.
- isEmpty() - Method in class ix.IxSourceQueuedIterator
-
- it - Variable in class ix.IxSourceIterator
-
The upstream's iterator.
- ix - package ix
-
- Ix<T> - Class in ix
-
Base class and entry point for fluent Iterables.
- Ix() - Constructor for class ix.Ix
-
- IxBaseIterator<R> - Class in ix
-
A base iterator that manages
the state between hasNext() and the next() calls; plus defines
the remove() to throw UnsupportedOperationException.
- IxBaseIterator() - Constructor for class ix.IxBaseIterator
-
- IxBooleanSupplier - Interface in ix
-
A function callback with no inputs and a boolean output.
- IxConsumer<T> - Interface in ix
-
A function callback with one input value.
- IxConsumer2<T,U> - Interface in ix
-
A function callback with two input values.
- IxEmitter<T> - Interface in ix
-
Allows signalling values or completion in an imperative manner.
- IxFunction<T,R> - Interface in ix
-
A function callback with one input value and one output value.
- IxFunction2<T,U,R> - Interface in ix
-
A function callback with two input values and one output value.
- IxFunction3<T,U,V,R> - Interface in ix
-
A function callback with three input values and one output value.
- IxFunction4<T,U,V,W,R> - Interface in ix
-
A function callback with four input values and one output value.
- IxPredicate<T> - Interface in ix
-
A function callback with one input value and a boolean return value.
- IxPredicate2<T,U> - Interface in ix
-
A function callback with two input values and a boolean return value.
- IxScalarCallable<T> - Interface in ix
-
Marker interface to indicate a source that has exactly one constant
value, available for assembly-time optimizations.
- IxSourceIterator<T,R> - Class in ix
-
A base iterator that references an upstream iterator and manages
the state between hasNext() and the next() calls; plus defines
the remove() to throw UnsupportedOperationException.
- IxSourceIterator(Iterator<T>) - Constructor for class ix.IxSourceIterator
-
- IxSourceQueuedIterator<T,U,R> - Class in ix
-
A base iterator that extends a custom ArrayDeque, references an upstream iterator
and manages the state between hasNext() and the next() calls; plus defines
the remove() to throw UnsupportedOperationException.
- IxSourceQueuedIterator(Iterator<T>) - Constructor for class ix.IxSourceQueuedIterator
-
- IxSupplier<R> - Interface in ix
-
A function callback with no inputs and one output value.
- IxTransform<T,R> - Interface in ix
-
Functional interface that allows transforming an
upstream Iterator for each downstream next() call.
- map(IxFunction<? super T, ? extends R>) - Method in class ix.Ix
-
Maps each element of this sequence to some other value.
- max(Comparator<? super T>) - Method in class ix.Ix
-
Emits the first maximum element according to the given comparator.
- max() - Method in class ix.Ix
-
Emits the first maximum element according to their natural order.
- maxInt() - Method in class ix.Ix
-
Returns the first maximum integer value.
- maxLong() - Method in class ix.Ix
-
Returns the first maximum long value.
- merge(Iterable<? extends Iterable<? extends T>>) - Static method in class ix.Ix
-
Concatenates the elements of Iterable sources, provided as an Iterable itself, sequentially.
- mergeArray(Iterable<? extends T>...) - Static method in class ix.Ix
-
Concatenates the elements of Iterable sources, provided as an array, sequentially.
- mergeWith(Iterable<? extends T>) - Method in class ix.Ix
-
Emits elements of this sequence followed by the elements of the other sequence.
- min(Comparator<? super T>) - Method in class ix.Ix
-
Emits the first minimum element according to the given comparator.
- min() - Method in class ix.Ix
-
Emits the first minimum element according to their natural order.
- minInt() - Method in class ix.Ix
-
Returns the first minimum integer value.
- minLong() - Method in class ix.Ix
-
Returns the first minimum long value.
- moveNext() - Method in class ix.IxBaseIterator
-
Move the stream forward by a single element.
- moveNext(Iterator<T>, IxConsumer<? super R>) - Method in interface ix.IxTransform
-
- range(int, int) - Static method in class ix.Ix
-
Emits a range of incrementing integer values, starting from start
and
up to count
times.
- reduce(IxFunction2<T, T, T>) - Method in class ix.Ix
-
Reduces the elements of this sequence into a single value via a reducer function.
- reduce(IxSupplier<C>, IxFunction2<C, T, C>) - Method in class ix.Ix
-
Given a per-iterator() initial value, reduces the elements of this sequence into a single
value via a reducer function.
- remove(IxPredicate<? super T>) - Method in class ix.Ix
-
Removes those elements via Iterator.remove() from this sequence that match the
given predicate.
- remove() - Method in class ix.IxBaseIterator
-
- removeAll() - Method in class ix.Ix
-
Removes all elements by repeatedly calling this sequence's Iterator.remove().
- removeAll(IxPredicate<? super T>) - Method in class ix.Ix
-
Consumes this Iterable and removes all elements for
which the predicate returns true; in other words,
remove those elements of a mutable source that match
the predicate.
- repeat() - Method in class ix.Ix
-
Repeats this sequence indefinitely.
- repeat(long) - Method in class ix.Ix
-
Repeats this sequence at most the given number of times.
- repeat(IxBooleanSupplier) - Method in class ix.Ix
-
Repeats this sequence if the given predicate returns true after the sequence
completes in a round.
- repeat(long, IxBooleanSupplier) - Method in class ix.Ix
-
Repeats this sequence if the given predicate returns true after the sequence
completes in a round or at most the given number of times.
- repeatValue(T) - Static method in class ix.Ix
-
Repeats the given value indefinitely.
- repeatValue(T, long) - Static method in class ix.Ix
-
Repeats the given value at most count times.
- repeatValue(T, IxBooleanSupplier) - Static method in class ix.Ix
-
Repeats the given value until the given predicate returns true.
- repeatValue(T, long, IxBooleanSupplier) - Static method in class ix.Ix
-
Repeats the given value at most count times or until the given predicate returns true.
- replay() - Method in class ix.Ix
-
Caches and replays all elements of this sequence to consumers of this' iterator().
- replay(int) - Method in class ix.Ix
-
Caches and replays the last size
elements of this sequence to consumers of this' iterator().
- replay(IxFunction<? super Ix<T>, ? extends Iterable<? extends R>>) - Method in class ix.Ix
-
Caches and replays the elements of this sequence for the duration of the given transform function
without consuming this sequence multiple times.
- replay(int, IxFunction<? super Ix<T>, ? extends Iterable<? extends R>>) - Method in class ix.Ix
-
Caches and replays the the last size
elements of this sequence for the duration of the given transform function
without consuming this sequence multiple times.
- retain(IxPredicate<? super T>) - Method in class ix.Ix
-
Removes those elements via Iterator.remove() from this sequence that don't match the
given predicate.
- retainAll(IxPredicate<? super T>) - Method in class ix.Ix
-
Consumes this Iterable and removes all elements for
which the predicate returns false; in other words,
retain those elements of a mutable source that match
the predicate.
- reverse() - Method in class ix.Ix
-
Plays this sequence in reverse.
- run() - Method in class ix.Ix
-
Iterates over this instance, dropping all values it produces.
- scan(IxFunction2<T, T, T>) - Method in class ix.Ix
-
Performs a running accumulation, that is, returns intermediate elements returned by the
scanner function.
- scan(IxSupplier<R>, IxFunction2<R, T, R>) - Method in class ix.Ix
-
Performs a running accumulation, that is, returns intermediate elements returned by the
scanner function, starting with a per-iterator initial value.
- sequenceEqual(Iterable<? extends T>) - Method in class ix.Ix
-
Determines if two sequences have the same elements in the same order and are the same length based
on null-safe object equality.
- sequenceEqual(Iterable<? extends T>, IxPredicate2<? super T, ? super T>) - Method in class ix.Ix
-
Determines if two sequences have the same elements in the same order and are the same length based
on the given comparer's boolean value.
- single() - Method in class ix.Ix
-
Returns the single element of this sequence or throws a NoSuchElementException
if this sequence is empty or IndexOutOfBoundsException if this sequence has more
than on element
- single(T) - Method in class ix.Ix
-
Returns the single element of this sequence, defaultValue
if this sequence is empty or IndexOutOfBoundsException if this sequence has more
than one element
- skip(int) - Method in class ix.Ix
-
Skips the first n elements from this sequence.
- skipLast(int) - Method in class ix.Ix
-
Skips the last n elements from this sequence.
- skipWhile(IxPredicate<? super T>) - Method in class ix.Ix
-
Skips the first elements while the given predicate returns true; once it returns false
all subsequent elements are emitted.
- split(String, String) - Static method in class ix.Ix
-
Emits a sequence of substring of a string split by the given separator.
- startWith(T...) - Method in class ix.Ix
-
Emits elements of the given array followed by the elements of this sequence.
- STOP - Static variable in interface ix.IxTransform
-
- subscribe() - Method in class ix.Ix
-
Iterates over this instance, dropping all values it produces.
- subscribe(IxConsumer<? super T>) - Method in class ix.Ix
-
Iterates over this sequence and calls the given onNext action with
each element.
- subscribe(IxConsumer<? super T>, IxConsumer<Throwable>) - Method in class ix.Ix
-
Iterates over this sequence and calls the given onNext action with
each element and calls the onError with any exception thrown by the iteration
or the onNext action.
- subscribe(IxConsumer<? super T>, IxConsumer<Throwable>, Runnable) - Method in class ix.Ix
-
Iterates over this sequence and calls the given onNext action with
each element and calls the onError with any exception thrown by the iteration
or the onNext action; otherwise calls the onCompleted action when the sequence completes
without exception.
- sumInt() - Method in class ix.Ix
-
Sums values of this sequence as integer.
- sumLong() - Method in class ix.Ix
-
Sums values of this sequence as long.
- switchIfEmpty(Iterable<? extends T>) - Method in class ix.Ix
-
Emits the elements of the other sequence if this sequence is empty.
- take(int) - Method in class ix.Ix
-
Emits the first n elements (or less) of this sequence.
- takeLast(int) - Method in class ix.Ix
-
Emits the last n elements (or fewer) of this sequence.
- takeUntil(IxPredicate<? super T>) - Method in class ix.Ix
-
Take elements from this sequence while the given predicate returns true
for the current element (checked after emission of that element).
- takeWhile(IxPredicate<? super T>) - Method in class ix.Ix
-
Take elements from this sequence until the given predicate returns true
for the current element (checked before emission of that element).
- test(T) - Method in interface ix.IxPredicate
-
Applies a function to the input value and returns a boolean value.
- test(T, U) - Method in interface ix.IxPredicate2
-
Applies a function to the input value and returns a boolean value.
- toArray() - Method in class ix.Ix
-
Collects the elements of this sequence into an Object array.
- toArray(U[]) - Method in class ix.Ix
-
Collects the elements of this sequence into a generic array provided.
- toList() - Method in class ix.Ix
-
Collects the elements of this sequence into a List.
- toLong() - Method in class ix.Ix
-
Maps this sequence of numbers into a sequence of longs.
- toMap(IxFunction<? super T, ? extends K>) - Method in class ix.Ix
-
Collects the elements of this sequence into a Map where the key is
determined from each element via the keySelector function; duplicates are
overwritten.
- toMap(IxFunction<? super T, ? extends K>, IxFunction<? super T, ? extends V>) - Method in class ix.Ix
-
Collects the elements of this sequence into a Map where the key is
determined from each element via the keySelector function and
the value is derived from the same element via the valueSelector function; duplicates are
overwritten.
- toMultimap(IxFunction<? super T, ? extends K>) - Method in class ix.Ix
-
Collects the elements of this sequence into a multi-Map where the key is
determined from each element via the keySelector function.
- toMultimap(IxFunction<? super T, ? extends K>, IxFunction<? super T, ? extends V>) - Method in class ix.Ix
-
Collects the elements of this sequence into a multi-Map where the key is
determined from each element via the keySelector function and
the value is derived from the same element via the valueSelector function.
- toObject(U) - Method in class ix.IxSourceQueuedIterator
-
Cast the value into an object and turn
a null value into a sentinel value.
- toSet() - Method in class ix.Ix
-
Collects the elements of this sequence into a Set.
- transform(IxTransform<T, R>) - Method in class ix.Ix
-
Allows working with the Iterator of this sequence and emit elements in
a more flexible way
The result's iterator() doesn't support remove().