- filter(Collection<E>, Predicate<? super E>) - Static method in class manifold.collections.extensions.java.util.Collection.ManifoldCollectionExt
-
- filterIndexedTo(Iterable<T>, C, IndexedPredicate<T>) - Static method in class manifold.collections.extensions.java.lang.Iterable.ManIterableExt
-
Appends all elements matching the given predicate
to the given destination
.
- filterIndexedToList(Iterable<T>, IndexedPredicate<T>) - Static method in class manifold.collections.extensions.java.lang.Iterable.ManIterableExt
-
Returns a list containing only elements matching the given predicate
.
- filterNotTo(Iterable<T>, C, Predicate<T>) - Static method in class manifold.collections.extensions.java.lang.Iterable.ManIterableExt
-
Appends all elements not matching the given predicate
to the given destination
.
- filterNotToList(Iterable<T>, Predicate<T>) - Static method in class manifold.collections.extensions.java.lang.Iterable.ManIterableExt
-
Returns a list containing all elements not matching the given predicate
.
- filterTo(Iterable<T>, C, Predicate<T>) - Static method in class manifold.collections.extensions.java.lang.Iterable.ManIterableExt
-
Appends all elements matching the given predicate
to the given destination
.
- filterToList(Iterable<T>, Predicate<T>) - Static method in class manifold.collections.extensions.java.lang.Iterable.ManIterableExt
-
Returns a list containing all elements matching the given predicate
.
- first(Iterable<T>) - Static method in class manifold.collections.extensions.java.lang.Iterable.ManIterableExt
-
Returns first element.
- first(Iterable<T>, Predicate<T>) - Static method in class manifold.collections.extensions.java.lang.Iterable.ManIterableExt
-
Returns the first element matching the given predicate
.
- first(List<E>) - Static method in class manifold.collections.extensions.java.util.List.ManifoldListCollectionExt
-
Returns first element.
- firstOrNull(Iterable<T>) - Static method in class manifold.collections.extensions.java.lang.Iterable.ManIterableExt
-
Returns the first element, or null if the collection is empty.
- firstOrNull(Iterable<T>, Predicate<T>) - Static method in class manifold.collections.extensions.java.lang.Iterable.ManIterableExt
-
Returns the first element matching the given predicate
, or null
if element was not found.
- firstOrNull(List<E>) - Static method in class manifold.collections.extensions.java.util.List.ManifoldListCollectionExt
-
Returns the first element, or null if the list is empty.
- flatMap(Iterable<T>, Function<T, Iterable<R>>) - Static method in class manifold.collections.extensions.java.lang.Iterable.ManIterableExt
-
Returns a single list of all elements yielded from results of transform
function being invoked on each element of original collection.
- flatMapTo(Iterable<T>, C, Function<T, Iterable<R>>) - Static method in class manifold.collections.extensions.java.lang.Iterable.ManIterableExt
-
Appends all elements yielded from results of transform
function being invoked on each element of original collection, to the given destination
.
- fold(Iterable<T>, R, BiFunction<R, T, R>) - Static method in class manifold.collections.extensions.java.lang.Iterable.ManIterableExt
-
Accumulates value starting with demo
value and applying operation
from left to right to current accumulator value and each element.
- forEachIndexed(Iterable<T>, IndexedConsumer<T>) - Static method in class manifold.collections.extensions.java.lang.Iterable.ManIterableExt
-
Performs the given action
on each element, providing sequential index with the element.
- ForwardIterator() - Constructor for class manifold.collections.api.range.IntegerRange.ForwardIterator
-
- ForwardIterator() - Constructor for class manifold.collections.api.range.LongRange.ForwardIterator
-
- manifold.collections.api.range - package manifold.collections.api.range
-
- manifold.collections.extensions.java.lang.Iterable - package manifold.collections.extensions.java.lang.Iterable
-
- manifold.collections.extensions.java.util.Collection - package manifold.collections.extensions.java.util.Collection
-
- manifold.collections.extensions.java.util.List - package manifold.collections.extensions.java.util.List
-
- manifold.collections.extensions.java.util.Map - package manifold.collections.extensions.java.util.Map
-
- manifold.collections.extensions.java.util.stream.Stream - package manifold.collections.extensions.java.util.stream.Stream
-
- ManifoldCollectionExt - Class in manifold.collections.extensions.java.util.Collection
-
- ManifoldCollectionExt() - Constructor for class manifold.collections.extensions.java.util.Collection.ManifoldCollectionExt
-
- ManifoldListCollectionExt - Class in manifold.collections.extensions.java.util.List
-
- ManifoldListCollectionExt() - Constructor for class manifold.collections.extensions.java.util.List.ManifoldListCollectionExt
-
- ManifoldStreamCollectionsExt - Class in manifold.collections.extensions.java.util.stream.Stream
-
- ManifoldStreamCollectionsExt() - Constructor for class manifold.collections.extensions.java.util.stream.Stream.ManifoldStreamCollectionsExt
-
- ManIterableExt - Class in manifold.collections.extensions.java.lang.Iterable
-
- ManIterableExt() - Constructor for class manifold.collections.extensions.java.lang.Iterable.ManIterableExt
-
- ManMapExt - Class in manifold.collections.extensions.java.util.Map
-
- ManMapExt() - Constructor for class manifold.collections.extensions.java.util.Map.ManMapExt
-
- map(Collection<E>, Function<? super E, R>) - Static method in class manifold.collections.extensions.java.util.Collection.ManifoldCollectionExt
-
- mapIndexed(Iterable<T>, IndexedFunction<T, R>) - Static method in class manifold.collections.extensions.java.lang.Iterable.ManIterableExt
-
- mapIndexedNotNull(Iterable<T>, IndexedFunction<T, R>) - Static method in class manifold.collections.extensions.java.lang.Iterable.ManIterableExt
-
- mapIndexedNotNullTo(Iterable<T>, C, IndexedFunction<T, R>) - Static method in class manifold.collections.extensions.java.lang.Iterable.ManIterableExt
-
Applies the given transform
function to each element and its index in the original collection
and appends only the non-null results to the given destination
.
- mapIndexedNotNullToList(Iterable<T>, IndexedFunction<T, R>) - Static method in class manifold.collections.extensions.java.lang.Iterable.ManIterableExt
-
Returns a list containing only the non-null results of applying the given transform
function
to each element and its index in the original collection.
- mapIndexedTo(Iterable<T>, C, IndexedFunction<T, R>) - Static method in class manifold.collections.extensions.java.lang.Iterable.ManIterableExt
-
Applies the given transform
function to each element and its index in the original collection
and appends the results to the given destination
.
- mapIndexedToList(Iterable<T>, IndexedFunction<T, R>) - Static method in class manifold.collections.extensions.java.lang.Iterable.ManIterableExt
-
Returns a list containing the results of applying the given transform
function
to each element and its index in the original collection.
- mapNotNull(Iterable<T>, Function<T, R>) - Static method in class manifold.collections.extensions.java.lang.Iterable.ManIterableExt
-
- mapNotNullTo(Iterable<T>, C, Function<T, R>) - Static method in class manifold.collections.extensions.java.lang.Iterable.ManIterableExt
-
Applies the given transform
function to each element in the original collection
and appends only the non-null results to the given destination
.
- mapNotNullToList(Iterable<T>, Function<T, R>) - Static method in class manifold.collections.extensions.java.lang.Iterable.ManIterableExt
-
Returns a list containing only the non-null results of applying the given transform
function
to each element in the original collection.
- mapOf(Pair<K, V>...) - Static method in class manifold.collections.extensions.java.util.Map.ManMapExt
-
For use with the key and value
binding expression syntax using Pair.and
.
- mapTo(Iterable<T>, C, Function<T, R>) - Static method in class manifold.collections.extensions.java.lang.Iterable.ManIterableExt
-
Applies the given transform
function to each element of the original collection
and appends the results to the given destination
.
- mapToList(Iterable<T>, Function<T, R>) - Static method in class manifold.collections.extensions.java.lang.Iterable.ManIterableExt
-
Returns a list containing the results of applying the given transform
function
to each element in the original collection.
- max(Collection<E>, Comparator<? super E>) - Static method in class manifold.collections.extensions.java.util.Collection.ManifoldCollectionExt
-
- maxWith(Iterable<T>, Comparator<T>) - Static method in class manifold.collections.extensions.java.lang.Iterable.ManIterableExt
-
Returns the first element having the largest value according to the provided comparator
or null
if there are no elements.
- min(Collection<E>, Comparator<? super E>) - Static method in class manifold.collections.extensions.java.util.Collection.ManifoldCollectionExt
-
- minWith(Iterable<T>, Comparator<T>) - Static method in class manifold.collections.extensions.java.lang.Iterable.ManIterableExt
-
Returns the first element having the smallest value according to the provided comparator
or null
if there are no elements.
- Sequential<E extends Sequential<E,S,U>,S,U> - Interface in manifold.collections.api.range
-
Implement Sequential
if the set of possible instances of your type are a sequence, whereby given an
arbitrary instance of the type and some step or increment value, the next instance can be computed.
- SequentialRange<E extends Sequential<E,S,U>,S,U> - Class in manifold.collections.api.range
-
- SequentialRange(E, E, S, U, boolean, boolean, boolean) - Constructor for class manifold.collections.api.range.SequentialRange
-
- set(Map<K, V>, K, V) - Static method in class manifold.collections.extensions.java.util.Map.ManMapExt
-
Implements the indexed assignment operator for Map to enable the syntax: map[key] = value
- single(Iterable<T>) - Static method in class manifold.collections.extensions.java.lang.Iterable.ManIterableExt
-
Returns the single element, or throws an exception if the collection is empty or has more than one element.
- single(Iterable<T>, Predicate<T>) - Static method in class manifold.collections.extensions.java.lang.Iterable.ManIterableExt
-
Returns the single element matching the given predicate
, or throws exception if there is no or more than one matching element.
- single(List<E>) - Static method in class manifold.collections.extensions.java.util.List.ManifoldListCollectionExt
-
Returns the single element, or throws an exception if the list is empty or has more than one element.
- singleOrNull(Iterable<T>) - Static method in class manifold.collections.extensions.java.lang.Iterable.ManIterableExt
-
Returns single element, or null
if the collection is empty or has more than one element.
- singleOrNull(Iterable<T>, Predicate<T>) - Static method in class manifold.collections.extensions.java.lang.Iterable.ManIterableExt
-
Returns the single element matching the given predicate
, or null
if element was not found or more than one element was found.
- singleOrNull(List<E>) - Static method in class manifold.collections.extensions.java.util.List.ManifoldListCollectionExt
-
Returns single element, or null
if the list is empty or has more than one element.
- sorted(Collection<E>) - Static method in class manifold.collections.extensions.java.util.Collection.ManifoldCollectionExt
-
- sorted(Collection<E>, Comparator<? super E>) - Static method in class manifold.collections.extensions.java.util.Collection.ManifoldCollectionExt
-
- step(S) - Method in class manifold.collections.api.range.AbstractIterableRange
-
- step(S) - Method in interface manifold.collections.api.range.IterableRange
-
- step - Static variable in class manifold.collections.api.range.RangeFun
-
- Step() - Constructor for class manifold.collections.api.range.RangeFun.Step
-
- subList(Iterable<T>, int) - Static method in class manifold.collections.extensions.java.lang.Iterable.ManIterableExt
-
Returns a list containing all the elmeents from fromIndex
(inclusive)
- subList(Iterable<T>, int, int) - Static method in class manifold.collections.extensions.java.lang.Iterable.ManIterableExt
-
Returns a list containing the elmeents fromIndex
(inclusive) to toIndex
(exclusive)
- subtract(Iterable<T>, Iterable<T>) - Static method in class manifold.collections.extensions.java.lang.Iterable.ManIterableExt
-
Returns a set containing all elements that are contained by thiz collection and not contained by the specified collection.