org.hammerlab

iterator

package iterator

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. iterator
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. class DropRightIterator[T] extends AnyRef

  2. type GroupRunsIterator[T] = iterator.GroupRunsIteratorObj.GroupRunsIterator[T]

  3. class LinesIterator extends SimpleBufferedIterator[String]

    Wrap a BufferedReader and emit lines.

  4. class RangeAccruingIterator extends Iterator[Range]

    Given an Iterator of Ints, collapse contiguous "ranges" of integers that are each 1 greater than their predecessor.

  5. class RunLengthIterator[K] extends AnyRef

    Run-length encode an input iterator, replacing contiguous runs of identical elements with pairs consisting of the first element in the run and the number of elements observed.

  6. trait SimpleBufferedIterator[+T] extends BufferedIterator[T]

    Interface for implementing BufferedIterators following a common pattern: the hasNext implementation must actually compute the next element (or return a sentinel that implies that one doesn't exist), and should therefore cache that element to serve head and next() calls.

  7. case class Sliding2OptIterator[T](it: Iterator[T]) extends Product with Serializable

  8. class Sliding3OptIterator[T] extends AnyRef

    Given an Iterator[T], emit each element sandwiched between its preceding and succeeding elements.

  9. class TakeUntilIterator[T] extends Iterator[Seq[T]]

    For each element in an input Iterator, emit the sequence of elements from the current one to the next sentinel value (or the end of the iterator, if no more sentinels follow the current element).

Value Members

  1. object DropRightIterator

  2. object GroupRunsIterator

  3. object GroupRunsIteratorObj

    Given an iterator and a predicate function, emit iterators containing maximal runs of sequential elements that all satisfy the predicate, or individual elements that do not.

  4. object LinesIterator

  5. object RunLengthIterator

  6. object Sliding2OptIterator extends Serializable

  7. object Sliding3OptIterator

Inherited from AnyRef

Inherited from Any

Ungrouped