Uses of Interface
org.javimmutable.collections.Func1
Package
Description
-
Uses of Func1 in org.javimmutable.collections
Modifier and TypeMethodDescriptionstatic <T> Maybe
<T> Returns aMaybe
containing the first value of the collection for which the predicate returns true.static <T> NotNull
<T> Returns aNotNull
containing the first value of the collection for which the predicate returns true.abstract <A> Maybe
<A> Produce aMaybe
based on this one.abstract <A> Maybe
<A> Produce aMaybe
based on this one.abstract <A> NotNull
<A> Produce aNotNull
based on this one.abstract <A> NotNull
<A> Produce aNotNull
based on this one.<U> Result
<U> abstract <U> Result
<U> Replaces our successful result with a new value computed using the provided function.<U> Result
<U> abstract <U> Maybe
<U> Produce a fullMaybe
.abstract <U> Maybe
<U> Produce aMaybe
that is empty if this is empty or else contains the result of passing this value to the given mapping function.abstract <U> NotNull
<U> Produce a fullNotNull
.abstract <U> NotNull
<U> Produce aNotNull
that is empty if this is empty or else contains the result of passing this value to the given mapping function.abstract <U> U
Gets a value based on this value.abstract <U> U
Gets a value based on this value.abstract <U> U
Gets a value based on this value.abstract <U> U
Gets a value based on this value.<A> IDeque
<A> Apply the transform function to all elements in iterator order and add each transformed value to a new collection of this type.<A> IList
<A> Apply the transform function to all elements in iterator order and add each transformed value to a new collection of this type.Apply the specified transform function to the List assigned to the specified key and assign the result to the key in this map.Apply the specified transform function to the Set assigned to the specified key and assign the result to the key in this map.default <U> Indexed
<U> Indexed.transformed
(Func1<T, U> transforminator) Apply the specified transform function to the List assigned to the specified key and assign the result to the key in this map.Apply the specified transform function to the Set assigned to the specified key and assign the result to the key in this map.<A> IDeque
<A> IDeque.transformSome
(Func1<T, Maybe<A>> transform) Apply the transform function to all elements in iterator order and add the contents of non-empty Holders to a new collection of this type.<A> IList
<A> IList.transformSome
(Func1<T, Maybe<A>> transform) Apply the transform function to all elements in iterator order and add the contents of non-empty Holders to a new collection of this type.Update the value at the key. -
Uses of Func1 in org.javimmutable.collections.array
Modifier and TypeMethodDescription<K,
V> TrieArrayNode <T> TrieArrayNode.mappedUpdate
(ArrayUpdateMapper<K, V, T> mapper, K key, Func1<Maybe<V>, V> generator) -
Uses of Func1 in org.javimmutable.collections.common
Modifier and TypeClassDescriptionclass
Mutable object for tracking changes from zero.Modifier and TypeMethodDescriptionModifierConstructorDescriptionGenericSetBuilder
(IMapBuilder<T, Boolean> mapBuilder, Func1<IMap<T, Boolean>, ISet<T>> setFactory) -
Uses of Func1 in org.javimmutable.collections.deque
Modifier and TypeMethodDescription<A> ArrayDeque
<A> <A> ArrayDeque
<A> ArrayDeque.transformSome
(Func1<T, Maybe<A>> transform) -
Uses of Func1 in org.javimmutable.collections.hash
-
Uses of Func1 in org.javimmutable.collections.hash.map
Modifier and TypeMethodDescription -
Uses of Func1 in org.javimmutable.collections.iterators
Modifier and TypeMethodDescriptionstatic <A,
B> GenericIterator.Iterable <B> GenericIterator.transformIterable
(GenericIterator.Iterable<A> source, Func1<A, B> transforminator) Returns an Iterable for iterating over another Iterable's values but transforming each of those values using a function before returning to its caller.static <A,
B> GenericIterator.State <B> GenericIterator.transformState
(GenericIterator.State<B> parent, GenericIterator.State<A> source, Func1<A, B> transforminator) Returns a State for iterating over another State's values but transforming each of those values using a function before returning to its caller. -
Uses of Func1 in org.javimmutable.collections.list
-
Uses of Func1 in org.javimmutable.collections.tree
-
Uses of Func1 in org.javimmutable.collections.util