Class FSTDefaultClassInstantiator

java.lang.Object
org.nustaq.serialization.FSTDefaultClassInstantiator
All Implemented Interfaces:
FSTClassInstantiator

public class FSTDefaultClassInstantiator
extends java.lang.Object
implements FSTClassInstantiator
Created by ruedi on 12.12.14. Valid for common x86 JDK's (not android)
  • Field Summary

    Fields 
    Modifier and Type Field Description
    static java.util.concurrent.ConcurrentHashMap<java.lang.Class,​java.lang.reflect.Constructor> constructorMap
    reduce number of generated classes.
  • Constructor Summary

    Constructors 
    Constructor Description
    FSTDefaultClassInstantiator()  
  • Method Summary

    Modifier and Type Method Description
    java.lang.reflect.Constructor findConstructorForExternalize​(java.lang.Class clazz)  
    java.lang.reflect.Constructor findConstructorForSerializable​(java.lang.Class clazz)  
    java.lang.Object newInstance​(java.lang.Class clazz, java.lang.reflect.Constructor cons, boolean doesRequireInit, boolean unsafeAsLastResort)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait