| Package | Description |
|---|---|
| eu.simuline.util |
Utility classes: very inhomogeneous.
|
| Modifier and Type | Method and Description |
|---|---|
static <E> TwoSidedList<E> |
TwoSidedList.create(List<? extends E> list)
Creates a new
TwoSidedList
containing the elements of list in proper sequence. |
static <E> TwoSidedList<E> |
TwoSidedList.create(List<? extends E> list,
int firstIndex)
Creates a new
TwoSidedList
containing the elements of list in proper sequence
with first index given by firstIndex. |
static <E> TwoSidedList<E> |
TwoSidedList.create(TwoSidedList<? extends E> other)
|
TwoSidedList<E> |
TwoSidedList.subList2(int indStart,
int indEnd)
Returns a view of the portion of this twosided list
between the specified
fromIndex, inclusive,
and toIndex, exclusive. |
| Modifier and Type | Method and Description |
|---|---|
(package private) abstract void |
TwoSidedList.Direction.checkAdd1(TwoSidedList<?> list)
Checks in
add(int, Object, Direction)
whether by adding elements
causes underrun in firstIndex()
or overrun in minFreeIndex(). |
(package private) abstract void |
TwoSidedList.Direction.checkAddAll(int size,
TwoSidedList<?> list)
Checks in
addAll(int, Collection, Direction)
whether by adding elements
causes underrun in firstIndex()
or overrun in minFreeIndex(). |
(package private) abstract void |
TwoSidedList.Direction.checkRange(int ind,
TwoSidedList<?> list)
Checks whether index
ind
is in the range of list
and throws an appropriate exception if not. |
static <E> TwoSidedList<E> |
TwoSidedList.create(TwoSidedList<? extends E> other)
|
| Constructor and Description |
|---|
TwoSidedList(TwoSidedList<E> other)
Copy constructor with shallow copy of the wrapped list
list. |
Copyright © 2012–2018 Simuline Organization (l2r). All rights reserved.