PoolChunk.
The implementation is based on the binary heap, as described in Algorithms by Sedgewick and Wayne.
| Modifier and Type | Field and Description |
|---|---|
| private int[] | |
| public static final int | |
| private int |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| private void | |
| public void | |
| public int | |
| public int | |
| public void | |
| private void | |
| private boolean | |
| private void |
| array | back to summary |
|---|---|
| private int[] array | |
| NO_VALUE | back to summary |
|---|---|
| public static final int NO_VALUE | |
| size | back to summary |
|---|---|
| private int size | |
| IntPriorityQueue | back to summary |
|---|---|
| pack-priv IntPriorityQueue() | |
| isEmpty | back to summary |
|---|---|
| public boolean isEmpty() | |
| lift | back to summary |
|---|---|
| private void lift(int index) | |
| offer | back to summary |
|---|---|
| public void offer(int handle) | |
| peek | back to summary |
|---|---|
| public int peek() | |
| poll | back to summary |
|---|---|
| public int poll() | |
| remove | back to summary |
|---|---|
| public void remove(int value) | |
| sink | back to summary |
|---|---|
| private void sink(int index) | |
| subord | back to summary |
|---|---|
| private boolean subord(int a, int b) | |
| swap | back to summary |
|---|---|
| private void swap(int a, int b) | |