Class PageOf<V>

  • Type Parameters:
    V - The element type within the page.
    All Implemented Interfaces:
    java.lang.reflect.ParameterizedType, java.lang.reflect.Type

    public final class PageOf<V>
    extends ParameterizedOf<Page<V>>
    Represents a Page with a specified element type, allowing for retention of the generic type V during deserialization by circumventing type erasure.
    • Constructor Summary

      Constructors 
      Constructor Description
      PageOf​(java.lang.Class<V> valueClass)
      Constructs a PageOf instance for the specified element type.
    • 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

      • PageOf

        public PageOf​(java.lang.Class<V> valueClass)
        Constructs a PageOf instance for the specified element type.
        Parameters:
        valueClass - The class of the elements contained in the page.