Package net.lax1dude.eaglercraft.v1_8
Class JDKBackports
- java.lang.Object
-
- net.lax1dude.eaglercraft.v1_8.JDKBackports
-
public class JDKBackports extends java.lang.Object
Copyright (c) 2022-2023 LAX1DUDE. All Rights Reserved. WITH THE EXCEPTION OF PATCH FILES, MINIFIED JAVASCRIPT, AND ALL FILES NORMALLY FOUND IN AN UNMODIFIED MINECRAFT RESOURCE PACK, YOU ARE NOT ALLOWED TO SHARE, DISTRIBUTE, OR REPURPOSE ANY FILE USED BY OR PRODUCED BY THE SOFTWARE IN THIS REPOSITORY WITHOUT PRIOR PERMISSION FROM THE PROJECT AUTHOR. NOT FOR COMMERCIAL OR MALICIOUS USE (please read the 'LICENSE' file this repo's root directory for more info)
-
-
Constructor Summary
Constructors Constructor Description JDKBackports()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> T
javaUtilObject_requireNonNull(T obj)
static <T> T
javaUtilObject_requireNonNull(T obj, java.lang.String message)
static <T> T
javaUtilObject_requireNonNull(T obj, java.util.function.Supplier<java.lang.String> messageSupplier)
static long
parseLong(java.lang.CharSequence s, int beginIndex, int endIndex, int radix)
-
-
-
Method Detail
-
parseLong
public static long parseLong(java.lang.CharSequence s, int beginIndex, int endIndex, int radix) throws java.lang.NumberFormatException
- Throws:
java.lang.NumberFormatException
-
javaUtilObject_requireNonNull
public static <T> T javaUtilObject_requireNonNull(T obj, java.util.function.Supplier<java.lang.String> messageSupplier)
-
javaUtilObject_requireNonNull
public static <T> T javaUtilObject_requireNonNull(T obj, java.lang.String message)
-
javaUtilObject_requireNonNull
public static <T> T javaUtilObject_requireNonNull(T obj)
-
-