KtMutableIterator<T> class
abstract
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.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent 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