Package fr.lirmm.graphik.util.stream
package fr.lirmm.graphik.util.stream
-
ClassDescriptionBase class for closeable iterators.Adapts a closeable iterator to a buffered closeable iterator backed by an array-blocking stream.Concurrent in-memory stream backed by a circular array.Closeable iterator backed by an in-memory array.Represents an iterable that provides closeable iterators.Adapts a standard iterable to the closeable-iterable API without checked exceptions.Represents an iterable that provides closeable iterators without checked exceptions.Iterator contract whose lifecycle must be explicitly closed.This Iterator stores the items passed in a buffer memory.Adapts standard iterators and streams to the closeable-iterator API.Flattens a stream of closeable iterators into a single closeable iterator.Aggregates closeable iterators into a single closeable iterator without checked exceptions.This Iterator iterate recursively on Iterator or CloseableIterable results from a primary iterator.Represents a closeable iterator that does not throw checked exceptions.Counts the number of elements read from a closeable iterator.Represents an in-memory stream that can be written to and read from without checked exceptions.Adapts a
CloseableIterableto the standardIterableinterface.Adapts aCloseableIteratorto the standardIteratorinterface.Exception thrown when iterating over a closeable iterator fails.Helper methods for creating and collecting closeable iterators.Concurrent in-memory stream backed by a linked queue.QueueStream<T>In-memory stream backed by a plain queue.Closeable iterator without checked exceptions over a single element.Stream<T>Represents a closeable iterator that can also be written to.Adapts iterators to theStreaminterface while closing underlying resources when needed.ThrowingFunction<T,R> This functional interface allows to not catch an Exception in a lambda expression : use it at your own risk, the exception becomes unchecked.UniqIterator<T>Remove adjacent equals elements.Writer<T>Writer contract for single objects or iterator-backed batches.