Uses of Interface
com.github.andrewoma.dexx.collection.List
Packages that use List
Package
Description
Dexx collections are a port of Scala's immutable, persistent collection classes to pure Java.
-
Uses of List in com.github.andrewoma.dexx.collection
Subinterfaces of List in com.github.andrewoma.dexx.collectionModifier and TypeInterfaceDescriptioninterfaceIndexedList<E>IndexedListimplementations guarantee fast random access to elements viaList.get(int).interfaceLinkedList<E>LinkedListimplementations guarantee fast access to the head viaList.first()and tail viaLinkedList.tail().Classes in com.github.andrewoma.dexx.collection that implement ListModifier and TypeClassDescriptionclassArrayList<E>ArrayListis anIndexedListimplementation backed by an array.(package private) classCons<E>Cons constructs a new list by prepending a new element to an existing listclassConsList<E>ConsListis a functionalLinkedListimplementation that constructs a list by prepending an element to another list.(package private) classNil<E>Nil is the empty listclassVector<E>Vector is a general-purpose, immutable data structure.Methods in com.github.andrewoma.dexx.collection that return ListModifier and TypeMethodDescriptionReturns a list with the specified element appended to the bottom of the list.List.drop(int number) Returns a list containing all elements in this list, excluding the firstnumberof elements.Returns a list with the specified element prepended to the top of the list.List.range(int from, boolean fromInclusive, int to, boolean toInclusive) Returns a list containing a contiguous range of elements from this list.Returns a list with the element set to the value specified at the index (zero-based).ArrayList.tail()List.tail()Returns a list containing all elements in the list, excluding the first element.List.take(int number) Returns a list containing the firstnumberof elements from this list. -
Uses of List in com.github.andrewoma.dexx.collection.internal.adapter
Fields in com.github.andrewoma.dexx.collection.internal.adapter declared as ListConstructors in com.github.andrewoma.dexx.collection.internal.adapter with parameters of type List -
Uses of List in com.github.andrewoma.dexx.collection.internal.base
Classes in com.github.andrewoma.dexx.collection.internal.base that implement List