public class IntList extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
IntList.IntIterator
to iterate on the content of the list
not an actual iterator to avoid autoboxing
|
| Constructor and Description |
|---|
IntList()
construct an empty list
|
public void add(int i)
i - value to append to the end of the listpublic IntList.IntIterator iterator()
public int size()
Copyright © 2015 The Apache Software Foundation. All rights reserved.