| Modifier and Type | Field and Description |
|---|---|
| private static final int | |
| private int | |
| private int | |
| private int | |
| private long[] |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public int | |
| public boolean | |
| public boolean | |
| public void | |
| public boolean | |
| public long | |
| public long | |
| private int | |
| public long | |
| public int | |
| public boolean | |
| public long | |
| public long | |
| public long | |
| private void | |
| public int | |
| public void | |
| public void | |
| public long[] | |
| public void |
| DEFAULT_INITIAL_CAPACITY | back to summary |
|---|---|
| private static final int DEFAULT_INITIAL_CAPACITY | |
| elementCount | back to summary |
|---|---|
| private int elementCount | |
| endindex | back to summary |
|---|---|
| private int endindex | |
| firstindex | back to summary |
|---|---|
| private int firstindex | |
| list | back to summary |
|---|---|
| private long[] list | |
| LongDeque | back to summary |
|---|---|
| public LongDeque() | |
| LongDeque | back to summary |
|---|---|
| public LongDeque(int capacity) | |
| add | back to summary |
|---|---|
| public boolean add(long value) | |
| addAll | back to summary |
|---|---|
| public int addAll(LongDeque deque) | |
| addFirst | back to summary |
|---|---|
| public boolean addFirst(long value) | |
| addLast | back to summary |
|---|---|
| public boolean addLast(long value) | |
| clear | back to summary |
|---|---|
| public void clear() | |
| contains | back to summary |
|---|---|
| public boolean contains(long value) | |
| get | back to summary |
|---|---|
| public long get(int i) throws IndexOutOfBoundsException | |
| getFirst | back to summary |
|---|---|
| public long getFirst() throws NoSuchElementException | |
| getInternalIndex | back to summary |
|---|---|
| private int getInternalIndex(int i) throws IndexOutOfBoundsException | |
| getLast | back to summary |
|---|---|
| public long getLast() throws NoSuchElementException | |
| indexOf | back to summary |
|---|---|
| public int indexOf(long value) | |
| isEmpty | back to summary |
|---|---|
| public boolean isEmpty() | |
| remove | back to summary |
|---|---|
| public long remove(final int index) | |
| removeFirst | back to summary |
|---|---|
| public long removeFirst() throws NoSuchElementException | |
| removeLast | back to summary |
|---|---|
| public long removeLast() throws NoSuchElementException | |
| resetCapacity | back to summary |
|---|---|
| private void resetCapacity() | |
| size | back to summary |
|---|---|
| public int size() | |
| toArray | back to summary |
|---|---|
| public void toArray(int[] array) | |
| toArray | back to summary |
|---|---|
| public void toArray(long[] array) | |
| toArray | back to summary |
|---|---|
| public long[] toArray() | |
| zeroSize | back to summary |
|---|---|
| public void zeroSize() | |