|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use List | |
|---|---|
| com.github.andrewoma.dexx.collection | Dexx collections are a port of Scala's immutable, persistent collection classes to pure Java. |
| com.github.andrewoma.dexx.collection.internal.adapter | |
| com.github.andrewoma.dexx.collection.internal.base | |
| Uses of List in com.github.andrewoma.dexx.collection |
|---|
| Subinterfaces of List in com.github.andrewoma.dexx.collection | |
|---|---|
interface |
IndexedList<E>
IndexedList implementations guarantee fast random access to elements via get(int). |
interface |
LinkedList<E>
LinkedList implementations guarantee fast access to the head via first()
and tail via LinkedList.tail(). |
| Classes in com.github.andrewoma.dexx.collection that implement List | |
|---|---|
class |
ArrayList<E>
ArrayList is an IndexedList implementation backed by an array. |
class |
ConsList<E>
ConsList is a functional LinkedList implementation
that constructs a list by prepending an element to another list. |
class |
Vector<E>
Vector is a general-purpose, immutable data structure. |
| Methods in com.github.andrewoma.dexx.collection that return List | |
|---|---|
List<E> |
List.append(E elem)
Returns a list with the specified element appended to the bottom of the list. |
List<E> |
List.drop(int number)
Returns a list containing all elements in this list, excluding the first number of elements. |
List<E> |
List.prepend(E elem)
Returns a list with the specified element prepended to the top of the list. |
List<E> |
List.range(int from,
boolean fromInclusive,
int to,
boolean toInclusive)
Returns a list containing a contiguous range of elements from this list. |
List<E> |
List.set(int i,
E elem)
Returns a list with the element set to the value specified at the index (zero-based). |
List<E> |
ArrayList.tail()
|
List<E> |
List.tail()
Returns a list containing all elements in the list, excluding the first element. |
List<E> |
List.take(int number)
Returns a list containing the first number of elements from this list. |
| Uses of List in com.github.andrewoma.dexx.collection.internal.adapter |
|---|
| Constructors in com.github.andrewoma.dexx.collection.internal.adapter with parameters of type List | |
|---|---|
ListAdapater(List<E> list)
|
|
| Uses of List in com.github.andrewoma.dexx.collection.internal.base |
|---|
| Classes in com.github.andrewoma.dexx.collection.internal.base that implement List | |
|---|---|
class |
AbstractIndexedList<E>
|
class |
AbstractLinkedList<E>
|
class |
AbstractList<E>
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||