public static class JvmType.Double extends Object implements JvmType.Primitive
JvmType.Array, JvmType.Bool, JvmType.Byte, JvmType.Char, JvmType.Clazz, JvmType.Double, JvmType.Float, JvmType.Function, JvmType.Int, JvmType.Intersection, JvmType.Long, JvmType.Null, JvmType.Primitive, JvmType.Reference, JvmType.Short, JvmType.Variable, JvmType.Void, JvmType.Wildcard| Constructor and Description |
|---|
Double() |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(JvmType t) |
boolean |
equals(Object o) |
int |
hashCode() |
String |
toString() |
List<JvmType.Variable> |
usedVariables()
This method returns the list of generic variables used in this type.
|
public int compareTo(JvmType t)
compareTo in interface Comparable<JvmType>public List<JvmType.Variable> usedVariables()
JvmTypeThis method returns the list of generic variables used in this type. So, for example, suppose we have:
T = java.lang.ArrayList<? extends S>
Then, T.usedVariables()=[S].
usedVariables in interface JvmTypeCopyright © 2016. All rights reserved.