T
- The type to representpublic abstract class TypeRef<T> extends Object
Create an anonymous subclass parameterized with the type you want to represent. For example:
TypeRef<List<String>> listOfStrings = new TypeRef<List<String>>(){};Immutable.
Modifier | Constructor and Description |
---|---|
protected |
TypeRef() |
Copyright © 2020 Couchbase, Inc.. All rights reserved.