Package net.minecraft
Class Optionull
java.lang.Object
net.minecraft.Optionull
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionstatic <T> Tfirst(Collection<T> p_270346_) static <T> TfirstOrDefault(Collection<T> p_270625_, T p_270960_) static <T> TfirstOrElse(Collection<T> p_270529_, Supplier<T> p_270239_) static booleanisNullOrEmpty(boolean[] p_270403_) static booleanisNullOrEmpty(byte[] p_270775_) static booleanisNullOrEmpty(char[] p_270512_) static booleanisNullOrEmpty(double[] p_270373_) static booleanisNullOrEmpty(float[] p_270428_) static booleanisNullOrEmpty(int[] p_270127_) static booleanisNullOrEmpty(long[] p_270148_) static booleanisNullOrEmpty(short[] p_270712_) static <T> booleanisNullOrEmpty(T[] p_270794_) static <T,R> R static <T,R> R mapOrDefault(T p_270215_, Function<T, R> p_270557_, R p_270839_) static <T,R> R  
- 
Constructor Details
- 
Optionull
public Optionull() 
 - 
 - 
Method Details
- 
map
 - 
mapOrDefault
 - 
mapOrElse
 - 
first
 - 
firstOrDefault
 - 
firstOrElse
 - 
isNullOrEmpty
public static <T> boolean isNullOrEmpty(@Nullable T[] p_270794_)  - 
isNullOrEmpty
public static boolean isNullOrEmpty(@Nullable boolean[] p_270403_)  - 
isNullOrEmpty
public static boolean isNullOrEmpty(@Nullable byte[] p_270775_)  - 
isNullOrEmpty
public static boolean isNullOrEmpty(@Nullable char[] p_270512_)  - 
isNullOrEmpty
public static boolean isNullOrEmpty(@Nullable short[] p_270712_)  - 
isNullOrEmpty
public static boolean isNullOrEmpty(@Nullable int[] p_270127_)  - 
isNullOrEmpty
public static boolean isNullOrEmpty(@Nullable long[] p_270148_)  - 
isNullOrEmpty
public static boolean isNullOrEmpty(@Nullable float[] p_270428_)  - 
isNullOrEmpty
public static boolean isNullOrEmpty(@Nullable double[] p_270373_)  
 -