E
- type of created objectspublic final class AllocateInstanceObjectFactory<E> extends Object implements ObjectFactory<E>
Unsafe.allocateInstance()
call,
i. e. without calling constructor.Constructor and Description |
---|
AllocateInstanceObjectFactory(Class<E> eClass) |
Modifier and Type | Method and Description |
---|---|
Class<E> |
allocatedClass() |
E |
create() |
boolean |
equals(Object obj) |
int |
hashCode() |
String |
toString() |
public E create() throws InstantiationException
create
in interface ObjectFactory<E>
InstantiationException
Copyright © 2019. All rights reserved.