public class TypeArgument extends Object
| Constructor and Description |
|---|
TypeArgument(Variance variance,
GenericType bound) |
| Modifier and Type | Method and Description |
|---|---|
static TypeArgument |
contravariant(GenericType bound) |
static TypeArgument |
covariant(GenericType bound) |
boolean |
equals(Object o) |
GenericType |
getBound() |
Variance |
getVariance() |
int |
hashCode() |
static TypeArgument |
invariant(GenericType type) |
TypeArgument |
mapBound(java.util.function.Function<GenericType,GenericType> f) |
public TypeArgument(Variance variance, GenericType bound)
public Variance getVariance()
public GenericType getBound()
public static TypeArgument invariant(GenericType type)
public static TypeArgument covariant(GenericType bound)
public static TypeArgument contravariant(GenericType bound)
public TypeArgument mapBound(java.util.function.Function<GenericType,GenericType> f)
Copyright © 2019. All rights reserved.