public abstract class GenericType<T> extends Object implements Serializable, Type
Usage is by sub-classing: here is one way to instantiate reference
to generic type List<Integer>
:
GenericType type = new GenericType<List<Integer>>() { };which can be passed to methods that accept
GenericReference
.Modifier | Constructor and Description |
---|---|
protected |
GenericType() |
Copyright © 2015 fasterxml.com. All rights reserved.