KtMutableIterator<T> class
An iterator over a mutable collection. Provides the ability to remove elements while iterating. @see MutableCollection.iterator
- Implemented types
-
- KtIterator<
T>
- KtIterator<
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
hasNext(
) → bool -
Returns
true
if the iteration has more elements. (In other words, returnstrue
if [next} would return an element rather than throwing an exception.) [...]inherited -
next(
) → T -
Returns the next element in the iteration. [...]
@nullable, inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
remove(
) → void - Removes from the underlying collection the last element returned by this iterator.
-
toString(
) → String -
A string representation of this object. [...]
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited