HTIterator

scalation.database.LinHashMap.HTIterator
class HTIterator(is: Int, bs: Bucket, js: Int) extends Iterator[(K, V)]

The HTIterator inner class supports iterating over all the elements in a Hash-Table by traversing through the buckets in this hash table.

Value parameters

bs

the starting home bucket (defaults to hTable(0))

is

the starting bucket chain (defaults to 0)

js

the starting within node index (defaults to 0)

Attributes

Graph
Supertypes
trait Iterator[(K, V)]
trait IterableOnceOps[(K, V), Iterator, Iterator[(K, V)]]
trait IterableOnce[(K, V)]
class Object
trait Matchable
class Any
Show all

Members list

Type members

Inherited classlikes

class GroupedIterator[B >: A](self: Iterator[B], size: Int, step: Int)

Attributes

Inherited from:
Iterator
Supertypes
class AbstractIterator[Seq[B]]
trait Iterator[Seq[B]]
trait IterableOnceOps[Seq[B], Iterator, Iterator[Seq[B]]]
trait IterableOnce[Seq[B]]
class Object
trait Matchable
class Any
Show all

Value members

Concrete methods

def hasNext: Boolean
def next(): (K, V)

Inherited methods

final def ++[B >: (K, V)](xs: => IterableOnce[B]): Iterator[B]

Attributes

Inherited from:
Iterator
final def addString(b: StringBuilder): b.type

Attributes

Inherited from:
IterableOnceOps
final def addString(b: StringBuilder, sep: String): b.type

Attributes

Inherited from:
IterableOnceOps
def addString(b: StringBuilder, start: String, sep: String, end: String): b.type

Attributes

Inherited from:
IterableOnceOps
def buffered: BufferedIterator[(K, V)]

Attributes

Inherited from:
Iterator
def collect[B](pf: PartialFunction[(K, V), B]): Iterator[B]

Attributes

Inherited from:
Iterator
def collectFirst[B](pf: PartialFunction[(K, V), B]): Option[B]

Attributes

Inherited from:
IterableOnceOps
def concat[B >: (K, V)](xs: => IterableOnce[B]): Iterator[B]

Attributes

Inherited from:
Iterator
def contains(elem: Any): Boolean

Attributes

Inherited from:
Iterator
def copyToArray[B >: (K, V)](xs: Array[B], start: Int, len: Int): Int

Attributes

Inherited from:
IterableOnceOps
def copyToArray[B >: (K, V)](xs: Array[B], start: Int): Int

Attributes

Inherited from:
IterableOnceOps
def copyToArray[B >: (K, V)](xs: Array[B]): Int

Attributes

Inherited from:
IterableOnceOps
def corresponds[B](that: IterableOnce[B])(p: ((K, V), B) => Boolean): Boolean

Attributes

Inherited from:
IterableOnceOps
def count(p: ((K, V)) => Boolean): Int

Attributes

Inherited from:
IterableOnceOps
def distinct: Iterator[(K, V)]

Attributes

Inherited from:
Iterator
def distinctBy[B](f: ((K, V)) => B): Iterator[(K, V)]

Attributes

Inherited from:
Iterator
def drop(n: Int): Iterator[(K, V)]

Attributes

Inherited from:
Iterator
def dropWhile(p: ((K, V)) => Boolean): Iterator[(K, V)]

Attributes

Inherited from:
Iterator
def duplicate: (Iterator[(K, V)], Iterator[(K, V)])

Attributes

Inherited from:
Iterator
def exists(p: ((K, V)) => Boolean): Boolean

Attributes

Inherited from:
IterableOnceOps
def filter(p: ((K, V)) => Boolean): Iterator[(K, V)]

Attributes

Inherited from:
Iterator
def filterNot(p: ((K, V)) => Boolean): Iterator[(K, V)]

Attributes

Inherited from:
Iterator
def find(p: ((K, V)) => Boolean): Option[(K, V)]

Attributes

Inherited from:
IterableOnceOps
def flatMap[B](f: ((K, V)) => IterableOnce[B]): Iterator[B]

Attributes

Inherited from:
Iterator
def flatten[B](implicit ev: ((K, V)) => IterableOnce[B]): Iterator[B]

Attributes

Inherited from:
Iterator
def fold[A1 >: (K, V)](z: A1)(op: (A1, A1) => A1): A1

Attributes

Inherited from:
IterableOnceOps
def foldLeft[B](z: B)(op: (B, (K, V)) => B): B

Attributes

Inherited from:
IterableOnceOps
def foldRight[B](z: B)(op: ((K, V), B) => B): B

Attributes

Inherited from:
IterableOnceOps
def forall(p: ((K, V)) => Boolean): Boolean

Attributes

Inherited from:
IterableOnceOps
def foreach[U](f: ((K, V)) => U): Unit

Attributes

Inherited from:
IterableOnceOps
def grouped[B >: (K, V)](size: Int): GroupedIterator[B]

Attributes

Inherited from:
Iterator
def indexOf[B >: (K, V)](elem: B, from: Int): Int

Attributes

Inherited from:
Iterator
def indexOf[B >: (K, V)](elem: B): Int

Attributes

Inherited from:
Iterator
def indexWhere(p: ((K, V)) => Boolean, from: Int): Int

Attributes

Inherited from:
Iterator
override def isEmpty: Boolean

Attributes

Definition Classes
Iterator -> IterableOnceOps
Inherited from:
Iterator
def isTraversableAgain: Boolean

Attributes

Inherited from:
IterableOnceOps
final def iterator: Iterator[(K, V)]

Attributes

Inherited from:
Iterator
def knownSize: Int

Attributes

Inherited from:
IterableOnce
final def length: Int

Attributes

Inherited from:
Iterator
def map[B](f: ((K, V)) => B): Iterator[B]

Attributes

Inherited from:
Iterator
def max[B >: (K, V)](implicit ord: Ordering[B]): (K, V)

Attributes

Inherited from:
IterableOnceOps
def maxBy[B](f: ((K, V)) => B)(implicit ord: Ordering[B]): (K, V)

Attributes

Inherited from:
IterableOnceOps
def maxByOption[B](f: ((K, V)) => B)(implicit ord: Ordering[B]): Option[(K, V)]

Attributes

Inherited from:
IterableOnceOps
def maxOption[B >: (K, V)](implicit ord: Ordering[B]): Option[(K, V)]

Attributes

Inherited from:
IterableOnceOps
def min[B >: (K, V)](implicit ord: Ordering[B]): (K, V)

Attributes

Inherited from:
IterableOnceOps
def minBy[B](f: ((K, V)) => B)(implicit ord: Ordering[B]): (K, V)

Attributes

Inherited from:
IterableOnceOps
def minByOption[B](f: ((K, V)) => B)(implicit ord: Ordering[B]): Option[(K, V)]

Attributes

Inherited from:
IterableOnceOps
def minOption[B >: (K, V)](implicit ord: Ordering[B]): Option[(K, V)]

Attributes

Inherited from:
IterableOnceOps
final def mkString: String

Attributes

Inherited from:
IterableOnceOps
final def mkString(sep: String): String

Attributes

Inherited from:
IterableOnceOps
final def mkString(start: String, sep: String, end: String): String

Attributes

Inherited from:
IterableOnceOps
def nextOption(): Option[(K, V)]

Attributes

Inherited from:
Iterator
def nonEmpty: Boolean

Attributes

Inherited from:
IterableOnceOps
def padTo[B >: (K, V)](len: Int, elem: B): Iterator[B]

Attributes

Inherited from:
Iterator
def partition(p: ((K, V)) => Boolean): (Iterator[(K, V)], Iterator[(K, V)])

Attributes

Inherited from:
Iterator
def patch[B >: (K, V)](from: Int, patchElems: Iterator[B], replaced: Int): Iterator[B]

Attributes

Inherited from:
Iterator
def product[B >: (K, V)](implicit num: Numeric[B]): B

Attributes

Inherited from:
IterableOnceOps
def reduce[B >: (K, V)](op: (B, B) => B): B

Attributes

Inherited from:
IterableOnceOps
def reduceLeft[B >: (K, V)](op: (B, (K, V)) => B): B

Attributes

Inherited from:
IterableOnceOps
def reduceLeftOption[B >: (K, V)](op: (B, (K, V)) => B): Option[B]

Attributes

Inherited from:
IterableOnceOps
def reduceOption[B >: (K, V)](op: (B, B) => B): Option[B]

Attributes

Inherited from:
IterableOnceOps
def reduceRight[B >: (K, V)](op: ((K, V), B) => B): B

Attributes

Inherited from:
IterableOnceOps
def reduceRightOption[B >: (K, V)](op: ((K, V), B) => B): Option[B]

Attributes

Inherited from:
IterableOnceOps
protected def reversed: Iterable[(K, V)]

Attributes

Inherited from:
IterableOnceOps
def sameElements[B >: (K, V)](that: IterableOnce[B]): Boolean

Attributes

Inherited from:
Iterator
def scanLeft[B](z: B)(op: (B, (K, V)) => B): Iterator[B]

Attributes

Inherited from:
Iterator
def size: Int

Attributes

Inherited from:
IterableOnceOps
def slice(from: Int, until: Int): Iterator[(K, V)]

Attributes

Inherited from:
Iterator
def sliding[B >: (K, V)](size: Int, step: Int): GroupedIterator[B]

Attributes

Inherited from:
Iterator
def span(p: ((K, V)) => Boolean): (Iterator[(K, V)], Iterator[(K, V)])

Attributes

Inherited from:
Iterator
def splitAt(n: Int): (Iterator[(K, V)], Iterator[(K, V)])

Attributes

Inherited from:
IterableOnceOps
def stepper[S <: Stepper[_]](implicit shape: StepperShape[(K, V), S]): S

Attributes

Inherited from:
IterableOnce
def sum[B >: (K, V)](implicit num: Numeric[B]): B

Attributes

Inherited from:
IterableOnceOps
def take(n: Int): Iterator[(K, V)]

Attributes

Inherited from:
Iterator
def takeWhile(p: ((K, V)) => Boolean): Iterator[(K, V)]

Attributes

Inherited from:
Iterator
override def tapEach[U](f: ((K, V)) => U): Iterator[(K, V)]

Attributes

Definition Classes
Iterator -> IterableOnceOps
Inherited from:
Iterator
def to[C1](factory: Factory[(K, V), C1]): C1

Attributes

Inherited from:
IterableOnceOps
def toArray[B >: (K, V) : ClassTag]: Array[B]

Attributes

Inherited from:
IterableOnceOps
final def toBuffer[B >: (K, V)]: Buffer[B]

Attributes

Inherited from:
IterableOnceOps
def toIndexedSeq: IndexedSeq[(K, V)]

Attributes

Inherited from:
IterableOnceOps
def toList: List[(K, V)]

Attributes

Inherited from:
IterableOnceOps
def toMap[K, V](implicit ev: (K, V) <:< (K, V)): Map[K, V]

Attributes

Inherited from:
IterableOnceOps
def toSeq: Seq[(K, V)]

Attributes

Inherited from:
IterableOnceOps
def toSet[B >: (K, V)]: Set[B]

Attributes

Inherited from:
IterableOnceOps
override def toString(): String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Iterator -> Any
Inherited from:
Iterator
def toVector: Vector[(K, V)]

Attributes

Inherited from:
IterableOnceOps
def withFilter(p: ((K, V)) => Boolean): Iterator[(K, V)]

Attributes

Inherited from:
Iterator
def zip[B](that: IterableOnce[B]): Iterator[((K, V), B)]

Attributes

Inherited from:
Iterator
def zipAll[A1 >: (K, V), B](that: IterableOnce[B], thisElem: A1, thatElem: B): Iterator[(A1, B)]

Attributes

Inherited from:
Iterator
def zipWithIndex: Iterator[((K, V), Int)]

Attributes

Inherited from:
Iterator

Deprecated and Inherited methods

final def /:[B](z: B)(op: (B, (K, V)) => B): B

Attributes

Deprecated
[Since version 2.13.0] Use foldLeft instead of /:
Inherited from:
IterableOnceOps
final def :\[B](z: B)(op: ((K, V), B) => B): B

Attributes

Deprecated
[Since version 2.13.0] Use foldRight instead of :\\
Inherited from:
IterableOnceOps
def aggregate[B](z: => B)(seqop: (B, (K, V)) => B, combop: (B, B) => B): B

Attributes

Deprecated
[Since version 2.13.0] `aggregate` is not relevant for sequential collections. Use `foldLeft(z)(seqop)` instead.
Inherited from:
IterableOnceOps
final def copyToBuffer[B >: (K, V)](dest: Buffer[B]): Unit

Attributes

Deprecated
[Since version 2.13.0] Use `dest ++= coll` instead
Inherited from:
IterableOnceOps
final override def hasDefiniteSize: Boolean

Attributes

Deprecated
[Since version 2.13.0] hasDefiniteSize on Iterator is the same as isEmpty
Definition Classes
Iterator -> IterableOnceOps
Inherited from:
Iterator
def scanRight[B](z: B)(op: ((K, V), B) => B): Iterator[B]

Attributes

Deprecated
[Since version 2.13.0] Call scanRight on an Iterable instead.
Inherited from:
Iterator
def seq: Iterator.this.type

Attributes

Deprecated
[Since version 2.13.0] Iterator.seq always returns the iterator itself
Inherited from:
Iterator
final def toIterator: Iterator[(K, V)]

Attributes

Deprecated
[Since version 2.13.0] Use .iterator instead of .toIterator
Inherited from:
IterableOnceOps
final def toStream: Stream[(K, V)]

Attributes

Deprecated
[Since version 2.13.0] Use .to(LazyList) instead of .toStream
Inherited from:
IterableOnceOps

Concrete fields

var b: Bucket
var i: Int
var j: Int