java.lang.Object
com.blamejared.crafttweaker.annotation.processor.util.Optionull
public class Optionull
extends Object
-
Constructor Summary
Constructors
-
Method Summary
static <T> void
static <T,
U> void
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Optionull
public Optionull()
-
Method Details
-
ifPresent
public static <T> void ifPresent(@Nullable
T thing,
Consumer<T> func)
-
ifPresent
public static <T,
U> void ifPresent(@Nullable
T thing,
Function<T,U> mapper,
Consumer<U> func)