Uses of Interface
org.organicdesign.fp.function.Fn0
-
Packages that use Fn0 Package Description org.organicdesign.fp.collections Type-safe versions of immutable collections (mostly from Clojure), plus unmodifiable and immutable collection interfaces that fit these collections into the java.util interfaces.org.organicdesign.fp.function Exception-friendly functional interfaces named by the number of arguments: Fn0, Fn1, Fn2....org.organicdesign.fp.oneOf This package contains Option which has Some() and None() which is useful for indicating "Not-Found" or "End-of-stream/file". -
-
Uses of Fn0 in org.organicdesign.fp.collections
Methods in org.organicdesign.fp.collections with parameters of type Fn0 Modifier and Type Method Description default @NotNull BaseList<E>BaseList. appendSome(@NotNull Fn0<? extends @NotNull Option<E>> supplier)If supplier returns Some, return a new BaseList with the additional item at the end.default @NotNull ImList<E>ImList. appendSome(@NotNull Fn0<? extends @NotNull Option<E>> supplier)If supplier returns Some, return a new BaseList with the additional item at the end.default @NotNull MutList<E>MutList. appendSome(@NotNull Fn0<? extends @NotNull Option<E>> supplier)If supplier returns Some, append the additional item to the end of this MutList (modifying it in place).@NotNull PersistentVector<E>PersistentVector. appendSome(@NotNull Fn0<? extends @NotNull Option<E>> supplier)If supplier returns Some, return a new BaseList with the additional item at the end.@NotNull MutList<F>PersistentVector.MutVector. appendSome(@NotNull Fn0<? extends @NotNull Option<F>> supplier)If supplier returns Some, append the additional item to the end of this MutList (modifying it in place).abstract @NotNull RrbTree<E>RrbTree. appendSome(@NotNull Fn0<? extends @NotNull Option<E>> supplier)If supplier returns Some, return a new BaseList with the additional item at the end.@NotNull RrbTree.ImRrbt<E>RrbTree.ImRrbt. appendSome(@NotNull Fn0<? extends @NotNull Option<E>> supplier)If supplier returns Some, return a new BaseList with the additional item at the end.@NotNull RrbTree.MutRrbt<E>RrbTree.MutRrbt. appendSome(@NotNull Fn0<? extends @NotNull Option<E>> supplier)If supplier returns Some, return a new BaseList with the additional item at the end. -
Uses of Fn0 in org.organicdesign.fp.function
Classes in org.organicdesign.fp.function that implement Fn0 Modifier and Type Class Description classLazyRef<T>Lazily initialize a value (and free the initialization resources) on the first call to get().Methods in org.organicdesign.fp.function with parameters of type Fn0 Modifier and Type Method Description static <T> @NotNull LazyRef<T>LazyRef. of(@NotNull Fn0<T> producer)Construct a LazyRef from the given initialization function. -
Uses of Fn0 in org.organicdesign.fp.oneOf
Methods in org.organicdesign.fp.oneOf with parameters of type Fn0 Modifier and Type Method Description <U> UNone. match(@NotNull Fn1<T,U> has, @NotNull Fn0<U> hasNot)Pass in a function to execute if its Some and another to execute if its None.<U> UOption. match(@NotNull Fn1<T,U> has, @NotNull Fn0<U> hasNot)Pass in a function to execute if its Some and another to execute if its None.<U> UOption.Some. match(@NotNull Fn1<T,U> has, @NotNull Fn0<U> hasNot)Pass in a function to execute if its Some and another to execute if its None.
-