Interface: OrderedIterator

system.data. OrderedIterator

Defines an iterator that operates over an ordered collection. This iterator allows both forward and reverse iteration through the collection.

Extends

Methods


delete()

Deletes from the underlying collection the last element returned by the iterator (optional operation).

Inherited From:

hasNext()

Returns true if the iteration has more elements.

Inherited From:
Returns:

true if the iteration has more elements.


key()

Returns the current key of the internal pointer of the iterator (optional operation).

Inherited From:
Returns:

the current key of the internal pointer of the iterator (optional operation).


next()

Returns the next element in the iteration.

Inherited From:
Returns:

the next element in the iteration.


reset()

Reset the internal pointer of the iterator (optional operation).

Inherited From:

seek()

Changes the position of the internal pointer of the iterator (optional operation).

Inherited From:

toString()

Returns the string representation of this instance.

Overrides:
Returns:

the string representation of this instance.