T
- Component typepublic abstract class AbstractIterator<T> extends Object implements Iterator<T>
Object.toString()
implementation.
equals(Object)
and hashCode()
are intentionally not overridden in order to prevent this iterator
from being evaluated. In other words, (identity-)equals and hashCode are implemented by Object.
Constructor and Description |
---|
AbstractIterator() |
Modifier and Type | Method and Description |
---|---|
protected abstract T |
getNext() |
T |
next() |
String |
toString()
Clarifies that values have a proper toString() method implemented.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
concat, concat, concat, continually, continually, distinct, distinctBy, distinctBy, drop, dropRight, dropUntil, dropWhile, empty, fill, filter, findLast, flatMap, foldRight, from, from, from, from, get, groupBy, grouped, hasDefiniteSize, head, headOption, init, initOption, intersperse, isEmpty, isTraversableAgain, iterate, iterator, length, map, narrow, of, of, ofAll, ofAll, ofAll, ofAll, ofAll, ofAll, ofAll, ofAll, ofAll, ofAll, partition, peek, range, range, range, rangeBy, rangeBy, rangeBy, rangeBy, rangeClosed, rangeClosed, rangeClosed, rangeClosedBy, rangeClosedBy, rangeClosedBy, rangeClosedBy, reduceLeft, reduceRight, replace, replaceAll, retainAll, scan, scanLeft, scanRight, sliding, sliding, span, spliterator, stringPrefix, tabulate, tail, tailOption, take, takeRight, takeUntil, takeWhile, transform, unzip, unzip3, zip, zipAll, zipWithIndex
forEachRemaining, hasNext, remove
average, containsAll, count, existsUnique, find, foldLeft, hash, isSingleValued, last, lastOption, max, maxBy, maxBy, min, minBy, minBy, mkString, mkString, mkString, narrow, nonEmpty, product, reduceLeftOption, reduceRightOption, size, sum
fold, reduce, reduceOption
contains, corresponds, eq, equals, exists, forAll, forEach, getOption, getOrElse, getOrElse, getOrElseThrow, getOrElseTry, hashCode, narrow, out, out, stderr, stdout, toArray, toCharSeq, toJavaArray, toJavaArray, toJavaCollection, toJavaList, toJavaList, toJavaMap, toJavaMap, toJavaOptional, toJavaSet, toJavaSet, toJavaStream, toLeft, toLeft, toList, toMap, toOption, toQueue, toRight, toRight, toSet, toStack, toStream, toTree, toTry, toTry, toVector
public String toString()
Value
See Object.toString().
protected abstract T getNext()
Copyright © 2016. All Rights Reserved.