TTIterator<V> class
abstract
An iterator that also reports prefixEditDistance.
Throws ConcurrentModificationError if underlying collection changes during calls to moveNext.
- Implemented types
-
- Iterator<
V>
- Iterator<
Constructors
Properties
- current → V
-
The current element.
no setterinherited
- hasCurrentValue → bool
-
Return true if current value is set, otherwise false.
Accessing current or prefixEditDistance before calling
moveNext throws StateError. This getter provides a way to check
if iterator has been initialised without triggering this error.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- prefixEditDistance → int
-
The key prefix edit distance associated with current iterator value.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
moveNext(
) → bool -
Advances the iterator to the next element of the iteration.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- noCurrentValueError → StateError
-
Value thrown when current accessed before calling moveNext.
final
- noPrefixEditDistanceError → StateError
-
Value thrown when prefixEditDistance accessed before calling moveNext.
final