Uses of Interface
com.github.andrewoma.dexx.collection.Traversable
-
Packages that use Traversable Package Description 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 com.github.andrewoma.dexx.collection.internal.builder com.github.andrewoma.dexx.collection.internal.hashmap -
-
Uses of Traversable in com.github.andrewoma.dexx.collection
Subinterfaces of Traversable in com.github.andrewoma.dexx.collection Modifier and Type Interface Description interface
IndexedList<E>
IndexedList
implementations guarantee fast random access to elements viaList.get(int)
.interface
Iterable<E>
Iterable
defines collections that can be accessed via anIterator
.interface
LinkedList<E>
LinkedList
implementations guarantee fast access to the head viaList.first()
and tail viaLinkedList.tail()
.interface
List<E>
List
defines an sequence of elements where the order is preserved.interface
Map<K,V>
Map
defines the interface for maps that associate keys with values.interface
Set<E>
Set defines the interface for a unique set of values as defined byObject.equals(Object)
.interface
SortedMap<K,V>
SortedMap defines the interface for maps that are sorted by their key.interface
SortedSet<E>
SortedSet
defines the interface for sets that are sorted.Classes in com.github.andrewoma.dexx.collection that implement Traversable Modifier and Type Class Description class
ArrayList<E>
ArrayList
is anIndexedList
implementation backed by an array.(package private) class
Cons<E>
Cons constructs a new list by prepending a new element to an existing listclass
ConsList<E>
ConsList
is a functionalLinkedList
implementation that constructs a list by prepending an element to another list.class
DerivedKeyHashMap<K,V>
DerivedKeyHashMap
is aHashMap
variant where the key for theMap
is derived from the value stored.class
HashMap<K,V>
HashMap
is an implementation ofMap
based on a hash trie.class
HashSet<E>
HashSet
is an implementation ofSet
backed by aHashMap
.(package private) class
Nil<E>
Nil is the empty listclass
TreeMap<K,V>
class
TreeSet<E>
TreeSet
is an implementation ofSortedSet
backed by aTreeMap
.class
Vector<E>
Vector is a general-purpose, immutable data structure.Methods in com.github.andrewoma.dexx.collection with type parameters of type Traversable Modifier and Type Method Description <R extends Traversable<E>>
RTraversable. to(@NotNull Builder<E,R> builder)
Converts this collection to another collection using a builder.Methods in com.github.andrewoma.dexx.collection with parameters of type Traversable Modifier and Type Method Description @NotNull Builder<E,R>
Builder. addAll(@NotNull Traversable<E> elements)
static <E> @NotNull SortedSet<E>
SortedSets. copyOf(java.util.Comparator<? super E> comparator, Traversable<E> traversable)
static <E> @NotNull IndexedList<E>
ArrayLists. copyOfTraversable(Traversable<E> traversable)
static <E> @NotNull IndexedList<E>
IndexedLists. copyOfTraversable(Traversable<E> traversable)
static <E> @NotNull LinkedList<E>
LinkedLists. copyOfTraversable(Traversable<E> traversable)
static <K,V>
@NotNull Map<K,V>Maps. copyOfTraversable(Traversable<Pair<K,V>> traversable)
static <E> @NotNull Set<E>
Sets. copyOfTraversable(Traversable<E> traversable)
static <K extends java.lang.Comparable<? super K>,V>
@NotNull SortedMap<K,V>SortedMaps. copyOfTraversable(Traversable<Pair<K,V>> traversable)
static <K,V>
@NotNull SortedMap<K,V>SortedMaps. copyOfTraversable(java.util.Comparator<? super K> comparator, Traversable<Pair<K,V>> traversable)
static <E> @NotNull SortedSet<E>
SortedSets. copyOfTraversable(Traversable<E> traversable)
static <E> @NotNull SortedSet<E>
SortedSets. copyOfTraversable(java.util.Comparator<? super E> comparator, Traversable<E> traversable)
-
Uses of Traversable in com.github.andrewoma.dexx.collection.internal.adapter
Methods in com.github.andrewoma.dexx.collection.internal.adapter with parameters of type Traversable Modifier and Type Method Description static <E> boolean
Adapters. contains(@NotNull Traversable<E> traversable, java.lang.Object o)
static <E> boolean
Adapters. containsAll(@NotNull Traversable<E> traversable, @NotNull java.util.Collection<?> c)
static <T,E>
T[]Adapters. toArray(@NotNull Traversable<E> traversable, T[] a)
-
Uses of Traversable in com.github.andrewoma.dexx.collection.internal.base
Classes in com.github.andrewoma.dexx.collection.internal.base that implement Traversable Modifier and Type Class Description class
AbstractIndexedList<E>
class
AbstractIterable<E>
class
AbstractLinkedList<E>
class
AbstractList<E>
class
AbstractMap<K,V>
class
AbstractSet<E>
class
AbstractSortedMap<K,V>
class
AbstractSortedSet<E>
class
AbstractTraversable<E>
class
MappedIterable<T,F>
Methods in com.github.andrewoma.dexx.collection.internal.base with type parameters of type Traversable Modifier and Type Method Description <R extends Traversable<E>>
RAbstractTraversable. to(@NotNull Builder<E,R> builder)
-
Uses of Traversable in com.github.andrewoma.dexx.collection.internal.builder
Methods in com.github.andrewoma.dexx.collection.internal.builder with parameters of type Traversable Modifier and Type Method Description @NotNull Builder<E,R>
AbstractBuilder. addAll(@NotNull Traversable<E> elements)
-
Uses of Traversable in com.github.andrewoma.dexx.collection.internal.hashmap
Classes in com.github.andrewoma.dexx.collection.internal.hashmap that implement Traversable Modifier and Type Class Description class
ListMap<K,V>
(package private) class
ListMap.Node<K,V>
-