| Modifier and Type | Field and Description |
|---|---|
| private final List | list
The int are stored as Integer objects here. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | |
| pack-priv boolean |
| list | back to summary |
|---|---|
| private final List<Integer> list The int are stored as Integer objects here. | |
| IntList | back to summary |
|---|---|
| pack-priv IntList() This constructor creates an empty list. | |
| add | back to summary |
|---|---|
| pack-priv void add(final int i) Adds an element to the list. | |
| contains | back to summary |
|---|---|
| pack-priv boolean contains(final int i) Checks if the specified int is already in the list. | |