Uses of Interface
me.sbasalaev.collection.Traversable
Packages that use Traversable
Package
Description
Useful utilities that I use throughout my projects.
Collection framework.
-
Uses of Traversable in me.sbasalaev
Classes in me.sbasalaev that implement TraversableMethods in me.sbasalaev that return TraversableModifier and TypeMethodDescriptionstatic <T> Traversable<T> API.chain(Traversable<? extends T>... elements) Chains several traversables together.Methods in me.sbasalaev with parameters of type TraversableModifier and TypeMethodDescriptionstatic <T> Traversable<T> API.chain(Traversable<? extends T>... elements) Chains several traversables together.static intAPI.sum(Traversable<Integer> numbers) Returns sum of all numbers in a given traversable. -
Uses of Traversable in me.sbasalaev.collection
Subinterfaces of Traversable in me.sbasalaev.collectionModifier and TypeInterfaceDescriptioninterfaceCommon methods ofMutableListandMutableSet.Classes in me.sbasalaev.collection that implement TraversableModifier and TypeClassDescriptionclassCollection<T>Collection of elements.classList<T>Sequence of elements numbered by integer indices.classMutableList<T>List that can be mutated.classMutableSet<T>Set that can be mutated.classSet<T>A collection of distinct elements.Methods in me.sbasalaev.collection that return TraversableModifier and TypeMethodDescriptiondefault Traversable<?> Traversable.chain(Traversable<?> other) Traversable that iterates over elements of both traversables.default <R> Traversable<R> Traversable.chainMap(Function<? super @Out T, ? extends Traversable<R>> mapping) Appliesmappingto the elements and chains the resulting traversables together.Traversable<Entry<K, V>> ListMultimap.entries()abstract Traversable<Entry<K, V>> Multimap.entries()All key-value associations of this multimap.default Traversable<T> Returns traversable that only traverses elements satisfying givencondition.default <R> Traversable<R> Returns traversable with givenmappingapplied to all elements.default <U> Traversable<U> Returns traversable that only traverses subclasses ofclazz.<R> Traversable<R> Traverses all pairs of elements in this list.default Traversable<T> Traversable.take(int limit) Traverses no more thanlimitelements of this traversable.default Traversable<T> Iterates through elements of this traversable until given condition fails.Multimap.values()Traverses all the values of this multimap.Methods in me.sbasalaev.collection with parameters of type TraversableModifier and TypeMethodDescriptiondefault Traversable<?> Traversable.chain(Traversable<?> other) Traversable that iterates over elements of both traversables.static <T> Set<T> Set.union(Traversable<? extends Set<? extends T>> sets) Set containing elements of all given sets.Method parameters in me.sbasalaev.collection with type arguments of type TraversableModifier and TypeMethodDescriptiondefault <R> Traversable<R> Traversable.chainMap(Function<? super @Out T, ? extends Traversable<R>> mapping) Appliesmappingto the elements and chains the resulting traversables together.