Uses of Interface
com.github.andrewoma.dexx.collection.Traversable
Packages that use Traversable
Package
Description
Dexx collections are a port of Scala's immutable, persistent collection classes to pure Java.
-
Uses of Traversable in com.github.andrewoma.dexx.collection
Subinterfaces of Traversable in com.github.andrewoma.dexx.collectionModifier and TypeInterfaceDescriptioninterfaceIndexedList<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 TraversableModifier 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.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 TraversableModifier and TypeMethodDescription<R extends Traversable<E>>
RConverts this collection to another collection using a builder.Methods in com.github.andrewoma.dexx.collection with parameters of type TraversableModifier and TypeMethodDescriptionBuilder.addAll(@NotNull Traversable<E> elements) static <E> @NotNull SortedSet<E> SortedSets.copyOf(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 Comparable<? super K>, V>
@NotNull SortedMap<K, V> SortedMaps.copyOfTraversable(Traversable<Pair<K, V>> traversable) static <K,V> @NotNull SortedMap <K, V> SortedMaps.copyOfTraversable(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(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 TraversableModifier and TypeMethodDescriptionstatic <E> booleanAdapters.contains(@NotNull Traversable<E> traversable, Object o) static <E> booleanAdapters.containsAll(@NotNull Traversable<E> traversable, @NotNull 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 TraversableModifier and TypeClassDescriptionclassclassclassclassAbstractList<E>classAbstractMap<K,V> classAbstractSet<E>classAbstractSortedMap<K,V> classclassclassMappedIterable<T,F> Methods in com.github.andrewoma.dexx.collection.internal.base with type parameters of type Traversable -
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 -
Uses of Traversable in com.github.andrewoma.dexx.collection.internal.hashmap
Classes in com.github.andrewoma.dexx.collection.internal.hashmap that implement Traversable