| Modifier and Type | Field and Description |
|---|---|
| protected List | data
dynamically-sized buffer of elements |
| protected int | p
index of next element to fill |
| protected int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public T | |
| public T | |
| public int | |
| public T | |
| public void | |
| public int | |
| public String | toString()
Overrides java. |
| data | back to summary |
|---|---|
| protected List<T> data dynamically-sized buffer of elements | |
| p | back to summary |
|---|---|
| protected int p index of next element to fill | |
| range | back to summary |
|---|---|
| protected int range | |
| FastQueue | back to summary |
|---|---|
| public FastQueue() | |
| add | back to summary |
|---|---|
| public void add(T o) | |
| clear | back to summary |
|---|---|
| public void clear() | |
| elementAt | back to summary |
|---|---|
| public T elementAt(int i) Return element | |
| head | back to summary |
|---|---|
| public T head() | |
| range | back to summary |
|---|---|
| public int range() | |
| remove | back to summary |
|---|---|
| public T remove() Get and remove first element in queue | |
| reset | back to summary |
|---|---|
| public void reset() | |
| size | back to summary |
|---|---|
| public int size() | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Return string of current buffer contents; non-destructive
| |