Package org.cakelab.json.util
Class Memory
- java.lang.Object
-
- org.cakelab.json.util.Memory
-
public class Memory extends java.lang.Object
This class provides a method to allocate memory for objects of given classes without calling a constructor.- Author:
- homac
-
-
Constructor Summary
Constructors Constructor Description Memory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> T
newInstance(java.lang.Class<T> clazz)
Instantiates an object of type T without calling a constructor.
-