All Packages Class Hierarchy This Package Previous Next Index
Class busrider.Indexed
java.lang.Object
|
+----busrider.Indexed
- public class Indexed
- extends Object
This immutable class represents an indexed item.
Constructor Index
-
Indexed(int)
- constructs an object.
Method Index
-
equals(Object)
- compares for index-equality.
-
getIndex()
- returns the index.
Constructors
Indexed
public Indexed(int index)
- constructs an object.
Methods
equals
public boolean equals(Object ob)
- compares for index-equality.
- Overrides:
- equals in class Object
getIndex
public int getIndex()
- returns the index.
All Packages Class Hierarchy This Package Previous Next Index