Index

object Index

Utilities for manipulating and creating Index objects.

Companion:
class
class Object
trait Matchable
class Any
Index.type

Value members

Concrete methods

def apply[T](): MutableIndex[T]
def apply[T](iterator: Iterator[T]): Index[T]

Constructs an Index from some iterator.

Constructs an Index from some iterator.

def apply[T](iterable: Iterable[T]): Index[T]

Constructs an Index from some iterator.

Constructs an Index from some iterator.

def load(source: Source): Index[String]

Loads a String index, one line per item with line numbers (starting at 0) as the indices.

Loads a String index, one line per item with line numbers (starting at 0) as the indices.