Package com.fauna.codec
Class PageOf<V>
- java.lang.Object
-
- com.fauna.codec.ParameterizedOf<Page<V>>
-
- com.fauna.codec.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 aPage
with a specified element type, allowing for retention of the generic typeV
during deserialization by circumventing type erasure.
-
-
Method Summary
-
Methods inherited from class com.fauna.codec.ParameterizedOf
getActualTypeArguments, getOwnerType, getRawType
-
-
-
-
Constructor Detail
-
PageOf
public PageOf(java.lang.Class<V> valueClass)
Constructs aPageOf
instance for the specified element type.- Parameters:
valueClass
- The class of the elements contained in the page.
-
-