public abstract class UnsafeAllocator
extends java.lang.Object
Constructor and Description |
---|
UnsafeAllocator() |
Modifier and Type | Method and Description |
---|---|
static UnsafeAllocator |
create()
Creates an UnsafeAllocator.
|
abstract <T> T |
newInstance(java.lang.Class<T> clazz)
Instantiates an object of type T without calling a constructor.
|
public abstract <T> T newInstance(java.lang.Class<T> clazz) throws java.lang.InstantiationException
java.lang.InstantiationException
public static UnsafeAllocator create()