Index

C D E G M O R S T 
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 input MethodHandle, but returns void and 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 String representation of the MRJExecutors.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 Character and 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 InputStream and OutputStream classes.
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 URLClassLoader regarding 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 InputStream in and 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 len amount of bytes, inserting the values into the byte-array buffer starting from offset off.

S

setPlain(AtomicInteger, int) - Static method in class org.stianloader.mrjmania.MRJAtomics
Sets the value of an AtomicInteger using 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 AtomicReference using 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
Transfers the contents of the InputStream in to the OutputStream out.
trySetAccessible(AccessibleObject) - Static method in class org.stianloader.mrjmania.MRJReflection
Attempt to make the given AccessibleObject (constructor/method/field) accessible.
C D E G M O R S T 
All Classes and Interfaces|All Packages