Package org.atlanmod.commons.collect
Provides utility classes and methods related to
Collections and arrays.-
Interface Summary Interface Description CloseableIterator<E> A closeableIteratorthat allows implementations to clean up any resources they need to keep open to iterate over elements.CloseableListIterator<E> A closeableListIteratorthat allows implementations to clean up any resources they need to keep open to iterate over elements.IntRange A range (or "interval") defines the boundaries around a contiguous span of values of integer.Range<C extends Comparable<C>> A range (or "interval") defines the boundaries around a contiguous span of values of someComparabletype. -
Class Summary Class Description DelegatedIterator<T,R> AnIteratorthat iterates over another.DelegatedListIterator<T,R> AListIteratorthat iterates over another.MoreArrays Static utility methods related to arrays.MoreIterables Static utility methods related toIterableinstances.MoreIterators Static utility methods related toIteratorinstances.MoreStreams Static utility methods related toStreaminstances.Path<T> This data structure can represent a sequence o elements, such as: - File paths: "/usr/local/bin" - Domain names: "org.atlanmod.commons" - Namespaces: "java.util.function.BiFunction"SizedIterator<E> A size-basedIteratorthat loads each value with aIntFunction.SizedListIterator<E> A size-basedIteratorthat loads each value with aIntFunction.Tree<T> A Tree data structure, with a root value and subtrees of children with a parent node, represented as a set of linked nodes.TreeMap<K,V>