public final class TypeList extends Object implements Comparable<TypeList>
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(TypeList other)
Compares this object to the specified object to determine their relative
order.
|
short[] |
getTypes() |
String |
toString()
Returns a string containing a concise, human-readable description of this
object.
|
public static final TypeList EMPTY
public TypeList(Dex dex, short[] types)
public short[] getTypes()
public int compareTo(TypeList other)
ComparablecompareTo in interface Comparable<TypeList>other - the object to compare to this instance.another;
a positive integer if this instance is greater than
another; 0 if this instance has the same order as
another.public String toString()
ObjectgetClass().getName() + '@' + Integer.toHexString(hashCode())
See Writing a useful
toString method
if you intend implementing your own toString method.