Class ListOf<E>

  • Type Parameters:
    E - The element class of the list.
    All Implemented Interfaces:
    java.lang.reflect.ParameterizedType, java.lang.reflect.Type

    public class ListOf<E>
    extends ParameterizedOf<java.util.List<E>>
    ListOf stores the generic parameter class to evade type erasure during deserialization.
    • Constructor Summary

      Constructors 
      Constructor Description
      ListOf​(java.lang.Class<E> elementClass)  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.lang.reflect.Type

        getTypeName
    • Constructor Detail

      • ListOf

        public ListOf​(java.lang.Class<E> elementClass)