| Modifier and Type | Field and Description |
|---|---|
| private final Type | |
| private final int |
| Access | Constructor and Description |
|---|---|
| public | ArrayType(final byte
array type, e.g. T_INT type, final int array dimensions dimensions)Convenience constructor for array type, e.g. int[] |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: true if both type objects refer to the same array type.the reference object with which to compare. type)Overrides org. |
| public Type | |
| public String | Returns: name of referenced class.Overrides org. |
| public int | |
| public Type | |
| public int | Returns: a hash code value for the object.Overrides org. |
| basicType | back to summary |
|---|---|
| private final Type basicType | |
| dimensions | back to summary |
|---|---|
| private final int dimensions | |
| ArrayType | back to summary |
|---|---|
| public ArrayType(final byte type, final int dimensions) Convenience constructor for array type, e.g. int[]
| |
| ArrayType | back to summary |
|---|---|
| public ArrayType(final String className, final int dimensions) Convenience constructor for reference array type, e.g. Object[] | |
| ArrayType | back to summary |
|---|---|
| public ArrayType(final Type type, final int dimensions) Constructor for array of given type
| |
| equals | back to summary |
|---|---|
| public boolean equals(final Object type) Overrides org. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| getBasicType | back to summary |
|---|---|
public Type getBasicType()
| |
| getClassName | back to summary |
|---|---|
| public String getClassName() Overrides org. Gets the name of referenced class. | |
| getDimensions | back to summary |
|---|---|
public int getDimensions()
| |
| getElementType | back to summary |
|---|---|
public Type getElementType()
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides org. Doc from java. Returns a hash code value for the object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |