public class Index extends Subitem
int value. Index values are zero-based indices that
are significant, relative to a particular component.| Modifier and Type | Field and Description |
|---|---|
protected int |
index |
| Constructor and Description |
|---|
Index(int index) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj)
Overrides the default
Object.equals functionality with class-specific support. |
int |
getIndex()
Accesses the index value.
|
java.lang.String |
toString()
Sets
toString to the value that this class represents. |
public int getIndex()
public java.lang.String toString()
toString to the value that this class represents.toString in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
Object.equals functionality with class-specific support.equals in class java.lang.Objectobj - The object to compare against