Uses of Interface
org.javimmutable.collections.Func1
Packages that use Func1
Package
Description
-
Uses of Func1 in org.javimmutable.collections
Methods in org.javimmutable.collections with parameters of type Func1Modifier 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
Methods in org.javimmutable.collections.array with parameters of type Func1Modifier 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
Classes in org.javimmutable.collections.common that implement Func1Modifier and TypeClassDescriptionclass
Mutable object for tracking changes from zero.Methods in org.javimmutable.collections.common with parameters of type Func1Modifier and TypeMethodDescriptionConstructors in org.javimmutable.collections.common with parameters of type Func1ModifierConstructorDescriptionGenericSetBuilder
(IMapBuilder<T, Boolean> mapBuilder, Func1<IMap<T, Boolean>, ISet<T>> setFactory) -
Uses of Func1 in org.javimmutable.collections.deque
Methods in org.javimmutable.collections.deque with parameters of type Func1Modifier and TypeMethodDescription<A> ArrayDeque
<A> <A> ArrayDeque
<A> ArrayDeque.transformSome
(Func1<T, Maybe<A>> transform) -
Uses of Func1 in org.javimmutable.collections.hash
Methods in org.javimmutable.collections.hash with parameters of type Func1 -
Uses of Func1 in org.javimmutable.collections.hash.map
Methods in org.javimmutable.collections.hash.map with parameters of type Func1Modifier and TypeMethodDescription -
Uses of Func1 in org.javimmutable.collections.iterators
Methods in org.javimmutable.collections.iterators with parameters of type Func1Modifier 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
Methods in org.javimmutable.collections.list with parameters of type Func1 -
Uses of Func1 in org.javimmutable.collections.tree
Methods in org.javimmutable.collections.tree with parameters of type Func1 -
Uses of Func1 in org.javimmutable.collections.util
Methods in org.javimmutable.collections.util with parameters of type Func1