net.minecraft

public class Optionull

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

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
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)
m_269382_(T p_270441_, Function<T, R> p_270332_)
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)
m_269278_(T p_270215_, Function<T, R> p_270557_, R p_270839_)
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)
m_269543_(T p_270820_, Function<T, R> p_270536_, Supplier<R> p_270756_)
public static <T> T
a(Collection<T> arg0)
first(Collection<T> arg0)
method_49080(Collection<T> arg0)
getFirst(Collection<T> collection)
m_269359_(Collection<T> p_270346_)
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)
m_269248_(Collection<T> p_270625_, T p_270960_)
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)
m_269262_(Collection<T> p_270529_, Supplier<T> p_270239_)
public static <T> boolean
a(T[] arg0)
isNullOrEmpty(T[] arg0)
method_49089(T[] arg0)
isEmpty(T[] array)
m_269596_(T[] p_270794_)
public static boolean
a(boolean[] arg0)
isNullOrEmpty(boolean[] arg0)
method_49091(boolean[] arg0)
isEmpty(boolean[] array)
m_269432_(boolean[] p_270403_)
public static boolean
a(byte[] arg0)
isNullOrEmpty(byte[] arg0)
method_49083(byte[] arg0)
isEmpty(byte[] array)
m_269589_(byte[] p_270775_)
public static boolean
a(char[] arg0)
isNullOrEmpty(char[] arg0)
method_49084(char[] arg0)
isEmpty(char[] array)
m_269516_(char[] p_270512_)
public static boolean
a(short[] arg0)
isNullOrEmpty(short[] arg0)
method_49090(short[] arg0)
isEmpty(short[] array)
m_269165_(short[] p_270712_)
public static boolean
a(int[] arg0)
isNullOrEmpty(int[] arg0)
method_49087(int[] arg0)
isEmpty(int[] array)
m_269216_(int[] p_270127_)
public static boolean
a(long[] arg0)
isNullOrEmpty(long[] arg0)
method_49088(long[] arg0)
isEmpty(long[] array)
m_269433_(long[] p_270148_)
public static boolean
a(float[] arg0)
isNullOrEmpty(float[] arg0)
method_49086(float[] arg0)
isEmpty(float[] array)
m_269501_(float[] p_270428_)
public static boolean
a(double[] arg0)
isNullOrEmpty(double[] arg0)
method_49085(double[] arg0)
isEmpty(double[] array)
m_269263_(double[] p_270373_)