| Modifier and Type | Field and Description |
|---|---|
| private static final HashMap | |
| public static final int | |
| public static final int | |
| private static final MethodHandle[] | |
| private static final Logger | |
| private static final HashMap | |
| public static final Class | |
| private static final Pattern |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static void | |
| public static < the array and list entry type T> List | |
| public static <T> Iterator | |
| public static byte | Returns: The byte value of the character 0-16.An ASCII encoded character 0-9 a-f A-F c)
|
| public static int | Returns: The byte value of the character 0-16.An ASCII encoded character 0-9 a-f A-F c)
|
| public static int | Returns: The byte value of the character 0-16.An ASCII encoded character 0-9 a-f A-F c)
|
| public static void | |
| public static void | |
| public static < The type of the predicate test T> Predicate | |
| public static Class | |
| public static URI | |
| public static URI | |
| public static URI | |
| public static URI | Returns: the location as a URI (this is a URI pointing to a holder of the class: a directory, a jar file, ajrt:// resource, etc), or null of no location available.the loaded class to find a location for. clazz)Attempt to find the Location of a loaded Class. |
| public static URI | |
| public static URI | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| private static < The class of the service type. T> Stream | Returns: a stream of the loaded service providers.The service provider to instantiate. providerUsed on a |
| public static int | |
| public static int | Returns: the parsed integerbyte array b, int Offset within string offset, int Length of integer or -1 for remainder of string length, int base of the integer base)Parse an int from a byte array of ascii characters. |
| public static < the type of the service to load. T> Stream | Returns: A stream that lazily loads providers for this loader's servicethe ServiceLoader instance to use. serviceLoader)Utility to create a stream which provides the same functionality as |
| public static < the type of the service to load. T> Stream | Returns: a stream of the service type which will not throwServiceConfigurationError.the ServiceLoader instance to use. serviceLoader)Utility method to provide a stream of the service type from a |
| public static String | Returns: the classpath reference syntax for the class filethe class to reference clazz)Return the Classpath / Classloader reference for the provided class file. |
| public static String | Returns: the classpath reference syntax for the class filethe class to reference className)Return the Classpath / Classloader reference for the provided class file. |
| public static void | |
| public static void | |
| public static void | |
| public static String | |
| public static String | |
| public static < The type of the predicate test T> Predicate | |
| public static Object | |
| public static Object |
| class2Value | back to summary |
|---|---|
| private static final HashMap<Class<?>, Function<String, Object>> class2Value | |
| CR | back to summary |
|---|---|
| public static final int CR | |
| LF | back to summary |
|---|---|
| public static final int LF | |
| LOCATION_METHODS | back to summary |
|---|---|
| private static final MethodHandle[] LOCATION_METHODS | |
| LOG | back to summary |
|---|---|
| private static final Logger LOG | |
| name2Class | back to summary |
|---|---|
| private static final HashMap<String, Class<?>> name2Class | |
| NO_ARGS | back to summary |
|---|---|
| public static final Class<?>[] NO_ARGS | |
| TRAILING_DIGITS | back to summary |
|---|---|
| private static final Pattern TRAILING_DIGITS | |
| TypeUtil | back to summary |
|---|---|
| private TypeUtil() | |
| appendEnclosing | back to summary |
|---|---|
| private static void appendEnclosing(StringBuilder b, Class<?> enclosing) | |
| asList | back to summary |
|---|---|
| public static <T> List Array to List.
Works like
| |
| concat | back to summary |
|---|---|
| public static <T> Iterator | |
| convertHexDigit | back to summary |
|---|---|
public static byte convertHexDigit(byte c)
| |
| convertHexDigit | back to summary |
|---|---|
public static int convertHexDigit(char c)
| |
| convertHexDigit | back to summary |
|---|---|
public static int convertHexDigit(int c)
| |
| dump | back to summary |
|---|---|
| public static void dump(Class<?> c) | |
| dump | back to summary |
|---|---|
| public static void dump(ClassLoader cl) | |
| falsePredicate | back to summary |
|---|---|
| public static <T> Predicate A
| |
| fromName | back to summary |
|---|---|
| public static Class Class from a canonical name for a type. | |
| getClassLoaderLocation | back to summary |
|---|---|
| public static URI getClassLoaderLocation(Class<?> clazz) | |
| getClassLoaderLocation | back to summary |
|---|---|
| public static URI getClassLoaderLocation(Class<?> clazz, ClassLoader loader) | |
| getCodeSourceLocation | back to summary |
|---|---|
| public static URI getCodeSourceLocation(Class<?> clazz) | |
| getLocationOfClass | back to summary |
|---|---|
| public static URI getLocationOfClass(Class<?> clazz) Attempt to find the Location of a loaded Class. This can be null for primitives, void, and in-memory classes. | |
| getModuleLocation | back to summary |
|---|---|
| public static URI getModuleLocation(Class<?> clazz) | |
| getSystemClassLoaderLocation | back to summary |
|---|---|
| public static URI getSystemClassLoaderLocation(Class<?> clazz) | |
| isFalse | back to summary |
|---|---|
public static boolean isFalse(Object o)
| |
| isHex | back to summary |
|---|---|
| public static boolean isHex(String str, int offset, int len) | |
| isTrue | back to summary |
|---|---|
public static boolean isTrue(Object o)
| |
| mapToService | back to summary |
|---|---|
| private static <T> Stream Used on a
| |
| parseInt | back to summary |
|---|---|
| public static int parseInt(String s, int offset, int length, int base) throws NumberFormatException Parse an int from a substring. Negative numbers are not handled.
| |
| parseInt | back to summary |
|---|---|
| public static int parseInt(byte[] b, int offset, int length, int base) throws NumberFormatException Parse an int from a byte array of ascii characters. Negative numbers are not handled.
| |
| serviceProviderStream | back to summary |
|---|---|
| public static <T> Stream Utility to create a stream which provides the same functionality as
| |
| serviceStream | back to summary |
|---|---|
| public static <T> Stream Utility method to provide a stream of the service type from a
| |
| toClassReference | back to summary |
|---|---|
| public static String toClassReference(Class<?> clazz) Return the Classpath / Classloader reference for the provided class file. Convenience method for the code
String ref = myObject.getClass().getName().replace('.','/') + ".class";
| |
| toClassReference | back to summary |
|---|---|
| public static String toClassReference(String className) Return the Classpath / Classloader reference for the provided class file. Convenience method for the code
String ref = myClassName.replace('.','/') + ".class";
| |
| toHex | back to summary |
|---|---|
| public static void toHex(byte b, Appendable buf) | |
| toHex | back to summary |
|---|---|
| public static void toHex(int value, Appendable buf) throws IOException | |
| toHex | back to summary |
|---|---|
| public static void toHex(long value, Appendable buf) throws IOException | |
| toShortName | back to summary |
|---|---|
| public static String toShortName(Class<?> type) | |
| toString | back to summary |
|---|---|
| public static String toString(byte[] bytes, int base) | |
| truePredicate | back to summary |
|---|---|
| public static <T> Predicate A Predicate that is always true, with optimized
| |
| valueOf | back to summary |
|---|---|
| public static Object valueOf(Class<?> type, String value) Convert String value to instance. | |
| valueOf | back to summary |
|---|---|
| public static Object valueOf(String type, String value) Convert String value to instance. | |