public class Enumerated<E>
extends java.lang.Object
Iterable objects.| Modifier and Type | Field | Description |
|---|---|---|
int |
index |
the index.
|
E |
value |
the associated value.
|
| Constructor | Description |
|---|---|
Enumerated(int index,
E value) |
Initializes the container.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
toString() |
Simple string representation.
|
Copyright © 2019 University of Waikato, Hamilton, NZ. All Rights Reserved.