jsts
Version:
A JavaScript library of spatial predicates and functions for processing geometry
23 lines (22 loc) • 546 B
TypeScript
/**
* @see http://download.oracle.com/javase/6/docs/api/java/util/Iterator.html
* @constructor
* @private
*/
export default class Iterator {
/**
* Returns true if the iteration has more elements.
* @return {boolean}
*/
hasNext(): boolean;
/**
* Returns the next element in the iteration.
* @return {Object}
*/
next(): any;
/**
* Removes from the underlying collection the last element returned by the
* iterator (optional operation).
*/
remove(): void;
}