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 interfaceIndexedList<E>IndexedListimplementations guarantee fast random access to elements viaList.get(int).interfaceIterable<E>Iterabledefines collections that can be accessed via anIterator.interfaceLinkedList<E>LinkedListimplementations guarantee fast access to the head viaList.first()and tail viaLinkedList.tail().interfaceList<E>Listdefines an sequence of elements where the order is preserved.interfaceMap<K,V>Mapdefines the interface for maps that associate keys with values.interfaceSet<E>Set defines the interface for a unique set of values as defined byObject.equals(Object).interfaceSortedMap<K,V>SortedMap defines the interface for maps that are sorted by their key.interfaceSortedSet<E>SortedSetdefines the interface for sets that are sorted.Classes in com.github.andrewoma.dexx.collection that implement Traversable Modifier and Type Class Description classArrayList<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.classDerivedKeyHashMap<K,V>DerivedKeyHashMapis aHashMapvariant where the key for theMapis derived from the value stored.classHashMap<K,V>HashMapis an implementation ofMapbased on a hash trie.classHashSet<E>HashSetis an implementation ofSetbacked by aHashMap.(package private) classNil<E>Nil is the empty listclassTreeMap<K,V>classTreeSet<E>TreeSetis an implementation ofSortedSetbacked by aTreeMap.classVector<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> booleanAdapters. contains(@NotNull Traversable<E> traversable, java.lang.Object o)static <E> booleanAdapters. 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 classAbstractIndexedList<E>classAbstractIterable<E>classAbstractLinkedList<E>classAbstractList<E>classAbstractMap<K,V>classAbstractSet<E>classAbstractSortedMap<K,V>classAbstractSortedSet<E>classAbstractTraversable<E>classMappedIterable<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 classListMap<K,V>(package private) classListMap.Node<K,V>
-