Index
All Classes and Interfaces|All Packages
C
- canAccess(AccessibleObject, Object) - Static method in class org.stianloader.mrjmania.MRJReflection
-
Invoke AccessibleObject#canAccess if available (J9+), or use the more imprecise
AccessibleObject.isAccessible()that can be error-prone in a post-JPMS world.
D
- dropReturn(MethodHandle) - Static method in class org.stianloader.mrjmania.MRJReflection
-
Returns a
MethodHandle, that has the same method signature and behaviour as the inputMethodHandle, but returnsvoidand discards the result value.
E
- equals(byte[], int, int, byte[], int, int) - Static method in class org.stianloader.mrjmania.MRJArrays
-
Assert that the two array sections, which should be of equal length, are equal to each other in content.
G
- getClassloaderName(ClassLoader) - Static method in class org.stianloader.mrjmania.MRJURLClassLoader
-
Returns the name of the given classloader.
- getMRJVersion() - Static method in class org.stianloader.mrjmania.MRJMania
-
Obtains the MRJ release version that is currently being used by JVM to read this library.
- getName() - Method in class org.stianloader.mrjmania.MRJURLClassLoader
-
Obtains this classloader's name.
- getPlain(AtomicInteger) - Static method in class org.stianloader.mrjmania.MRJAtomics
-
Get the value of an
AtomicInteger, with plain access if possible (J9+), otherwise be stricter from a thread-safety standpoint. - getPlain(AtomicReference<V>) - Static method in class org.stianloader.mrjmania.MRJAtomics
-
Get the value of an
AtomicReference, with plain access if possible (J9+), otherwise be stricter. - getPlatformClassLoader() - Static method in class org.stianloader.mrjmania.MRJURLClassLoader
-
Obtains the platform classloader under Java 9 or above.
- getVirtualExecutor() - Static method in class org.stianloader.mrjmania.MRJExecutors
-
Returns an executor that may or may not be virtual, see
MRJExecutors.supportsVirtualExecutors(). - getVirtualExecutorType() - Static method in class org.stianloader.mrjmania.MRJExecutors
-
Gets a
Stringrepresentation of theMRJExecutors.getVirtualExecutor()executor used.
M
- mismatch(byte[], int, int, byte[], int, int) - Static method in class org.stianloader.mrjmania.MRJArrays
-
Return the index where the two arrays first converge between each other in a given interval.
- mismatch(byte[], byte[]) - Static method in class org.stianloader.mrjmania.MRJArrays
-
Return the index where the two arrays first diverge from each other.
- MRJArrays - Class in org.stianloader.mrjmania
-
Polyfills for array-related methods.
- MRJAtomics - Class in org.stianloader.mrjmania
-
Polyfills related to classes like
AtomicInteger,AtomicReference, etc. - MRJCharacter - Class in org.stianloader.mrjmania
-
Polyfills around the
Characterand related classes. - MRJExecutors - Class in org.stianloader.mrjmania
-
Polyfills regarding threads,
Executors and thread pools. - MRJIO - Class in org.stianloader.mrjmania
-
Polyfills concerning IO-operations, especially regarding the
InputStreamandOutputStreamclasses. - MRJMania - Class in org.stianloader.mrjmania
-
Generic meta class for the MRJ-Mania library.
- MRJReflection - Class in org.stianloader.mrjmania
-
Polyfills for reflection-related workloads.
- MRJURLClassLoader - Class in org.stianloader.mrjmania
-
Polyfill for the
URLClassLoaderregarding the fact that classloaders can be named in Java 9 and beyond. - MRJURLClassLoader(String, URL[], ClassLoader) - Constructor for class org.stianloader.mrjmania.MRJURLClassLoader
-
Constructor.
O
- org.stianloader.mrjmania - package org.stianloader.mrjmania
R
- readAllBytes(InputStream) - Static method in class org.stianloader.mrjmania.MRJIO
-
Exhaustively read all bytes inside the given
InputStreaminand return the read bytes as a byte[]-array. - readNBytes(InputStream, byte[], int, int) - Static method in class org.stianloader.mrjmania.MRJIO
-
Attempt to read at most
lenamount of bytes, inserting the values into the byte-arraybufferstarting from offsetoff.
S
- setPlain(AtomicInteger, int) - Static method in class org.stianloader.mrjmania.MRJAtomics
-
Sets the value of an
AtomicIntegerusing a plain write if possible (J9+), otherwise be stricter from a thread-safety standpoint. - setPlain(AtomicReference<V>, V) - Static method in class org.stianloader.mrjmania.MRJAtomics
-
Sets the value of an
AtomicReferenceusing a plain write if possible (J9+), otherwise be stricter from a thread-safety standpoint. - supportsVirtualExecutors() - Static method in class org.stianloader.mrjmania.MRJExecutors
-
Returns whether virtual threads are enabled/support in the given release.
T
- toString(int) - Static method in class org.stianloader.mrjmania.MRJCharacter
-
Convert a unicode codepoint to a
String. - transferTo(InputStream, OutputStream) - Static method in class org.stianloader.mrjmania.MRJIO
- trySetAccessible(AccessibleObject) - Static method in class org.stianloader.mrjmania.MRJReflection
-
Attempt to make the given
AccessibleObject(constructor/method/field) accessible.
All Classes and Interfaces|All Packages