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