net.minecraft

public class Optionull

x
net.minecraft.Optionull
net.minecraft.class_8144
net.minecraft.util.Nullables
net.minecraft.Optionull

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static <T> T
a(T arg0, T arg1)
orElse(T arg0, T arg1)
method_62789(T arg0, T arg1)
requireNonNullElse(T first, T second)
public static <T, R> R
a(T arg0, Function<T, R> arg1)
map(T arg0, Function<T, R> arg1)
method_49077(T arg0, Function<T, R> arg1)
map(T value, Function<T, R> mapper)
public static <T, R> R
a(T arg0, Function<T, R> arg1, R arg2)
mapOrDefault(T arg0, Function<T, R> arg1, R arg2)
method_49078(T arg0, Function<T, R> arg1, R arg2)
mapOrElse(T value, Function<T, R> mapper, R other)
public static <T, R> R
a(T arg0, Function<T, R> arg1, Supplier<R> arg2)
mapOrElse(T arg0, Function<T, R> arg1, Supplier<R> arg2)
method_49079(T arg0, Function<T, R> arg1, Supplier<R> arg2)
mapOrElseGet(T value, Function<T, R> mapper, Supplier<R> getter)
public static <T> T
a(Collection<T> arg0)
first(Collection<T> arg0)
method_49080(Collection<T> arg0)
getFirst(Collection<T> collection)
public static <T> T
a(Collection<T> arg0, T arg1)
firstOrDefault(Collection<T> arg0, T arg1)
method_49081(Collection<T> arg0, T arg1)
getFirstOrElse(Collection<T> collection, T defaultValue)
public static <T> T
a(Collection<T> arg0, Supplier<T> arg1)
firstOrElse(Collection<T> arg0, Supplier<T> arg1)
method_49082(Collection<T> arg0, Supplier<T> arg1)
getFirstOrElseGet(Collection<T> collection, Supplier<T> getter)
public static <T> boolean
a(T[] arg0)
isNullOrEmpty(T[] arg0)
method_49089(T[] arg0)
isEmpty(T[] array)
public static boolean
a(boolean[] arg0)
isNullOrEmpty(boolean[] arg0)
method_49091(boolean[] arg0)
isEmpty(boolean[] array)
public static boolean
a(byte[] arg0)
isNullOrEmpty(byte[] arg0)
method_49083(byte[] arg0)
isEmpty(byte[] array)
public static boolean
a(char[] arg0)
isNullOrEmpty(char[] arg0)
method_49084(char[] arg0)
isEmpty(char[] array)
public static boolean
a(short[] arg0)
isNullOrEmpty(short[] arg0)
method_49090(short[] arg0)
isEmpty(short[] array)
public static boolean
a(int[] arg0)
isNullOrEmpty(int[] arg0)
method_49087(int[] arg0)
isEmpty(int[] array)
public static boolean
a(long[] arg0)
isNullOrEmpty(long[] arg0)
method_49088(long[] arg0)
isEmpty(long[] array)
public static boolean
a(float[] arg0)
isNullOrEmpty(float[] arg0)
method_49086(float[] arg0)
isEmpty(float[] array)
public static boolean
a(double[] arg0)
isNullOrEmpty(double[] arg0)
method_49085(double[] arg0)
isEmpty(double[] array)