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