Package com.couchbase.client.java.codec
Class TypeRef<T>
java.lang.Object
com.couchbase.client.java.codec.TypeRef<T>
- Type Parameters:
T
- The type to represent
public abstract class TypeRef<T> extends Object
Conveys generic type information at run time.
Create an anonymous subclass parameterized with the type you want to represent. For example:
TypeRef<List<String>> listOfStrings = new TypeRef<List<String>>(){};Immutable.
-
Constructor Summary
Constructors Modifier Constructor Description protected
TypeRef()
-
Method Summary