Uses of Class
com.vladris.maki.Variant1
-
Packages that use Variant1 Package Description com.vladris.maki -
-
Uses of Variant1 in com.vladris.maki
Methods in com.vladris.maki that return Variant1 Modifier and Type Method Description static <T1> Variant1<T1>
Variant1. make(T1 item, TypeGuard1... guard)
Creates a new Variant given an item of typeT1
.static <T1> Variant1<T1>
Variant1. make1(T1 item)
Creates a new Variant given an item of typeT1
explicitly placed at index 0.<U1> Variant1<U1>
Variant1. map(java.util.function.Function<T1,U1> func1)
Applies one of the given functions to the variant depending on the type currently inhabiting the variant.
-