Uses of Interface
com.jongsoft.lang.collection.Traversable
-
Packages that use Traversable Package Description com.jongsoft.lang.collection A purely functional based set of collection implementations based upon the Collection. -
-
Uses of Traversable in com.jongsoft.lang.collection
Subinterfaces of Traversable in com.jongsoft.lang.collection Modifier and Type Interface Description interfaceCollection<T>The collection interface enables basic operations that allow access to the elements.interfaceIterator<T>An extension on the defaultIteratorthat adds utility operations to easily manipulate the iterator or locate elements inside it.interfaceList<T>interfaceMap<K,T>This class represents a map implementation that is immutable.interfaceSequence<T>Sequences are ordered collections of elements.interfaceSet<T>The set is an extension of theCollectioninterface that guarantees only unique elements are contained within the set.interfaceTree<T>static interfaceTree.NodeCollection<T>The node collection is a set of tree elements each containing exactly one value.Methods in com.jongsoft.lang.collection that return Traversable Modifier and Type Method Description Traversable<T>Traversable. filter(java.util.function.Predicate<T> predicate)<U> Traversable<U>Traversable. map(java.util.function.Function<T,U> mapper)Traversable<T>Traversable. orElse(java.lang.Iterable<? extends T> other)Returns eitherthisif it is non empty, otherwise will return the providedother.Traversable<T>Traversable. orElse(java.util.function.Supplier<? extends java.lang.Iterable<? extends T>> supplier)Returns eitherthisif it is non empty, otherwise the provided supplier is evaluated and returned.Traversable<T>Traversable. reject(java.util.function.Predicate<T> predicate)Return a list that removes all elements that match thepredicateprovided.
-