Package

eu.shiftforward.apso

iterator

Permalink

package iterator

Provides new types of iterators and utility classes and methods for handling and extending existing ones.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. iterator
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. class CircularIterator[A] extends Iterator[A]

    Permalink

    A wrapper around an iterator that iterates over its elements in a circular way.

    A wrapper around an iterator that iterates over its elements in a circular way.

    A

    the type of the elements to iterate over

  2. class CompositeIterator[A] extends Iterator[A]

    Permalink

    An iterator that wraps a list of other iterators and iterates over its elements sequentially.

    An iterator that wraps a list of other iterators and iterates over its elements sequentially. It handles compositions of a large number of iterators in a more efficient way than simply concatenating them, avoiding stack overflows in particular. It supports appending of new iterators while keeping its efficiency.

    A

    the type of the elements to iterate over

  3. case class MergedBufferedIterator[T](iterators: List[BufferedIterator[T]])(implicit ord: Ordering[T]) extends BufferedIterator[T] with Product with Serializable

    Permalink
  4. class ExtendedIterator[A] extends Iterator[A]

    Permalink

    A decorator for iterators adding more control over its lifetime.

    A decorator for iterators adding more control over its lifetime.

    A

    the type of the elements

    Annotations
    @deprecated
    Deprecated

    (Since version 2017/07/13) This will be removed in a future version

  5. class RoundRobinIterator[A] extends Iterator[A]

    Permalink

    An iterator that wraps an array of other iterators and iterates over its elements in a round-robin way.

    An iterator that wraps an array of other iterators and iterates over its elements in a round-robin way.

    A

    the type of the elements to iterate over

    Annotations
    @deprecated
    Deprecated

    (Since version 2017/07/13) This will be removed in a future version

Value Members

  1. object CircularIterator

    Permalink

    Companion object containing a factory for circular iterators.

  2. object CompositeIterator

    Permalink

    Companion object containing a factory for composite iterators.

  3. object RoundRobinIterator

    Permalink

    Companion object containing a factory for round-robin iterators.

Inherited from AnyRef

Inherited from Any

Ungrouped