18#ifndef _DECAF_UTIL_ITERATOR_H_
19#define _DECAF_UTIL_ITERATOR_H_
Defines an object that can be used to iterate over the elements of a collection.
Definition Iterator.h:34
virtual void remove()=0
Removes from the underlying collection the last element returned by the iterator (optional operation)...
virtual bool hasNext() const =0
Returns true if the iteration has more elements.
virtual ~Iterator()
Definition Iterator.h:37
virtual E next()=0
Returns the next element in the iteration.
Definition AbstractCollection.h:33
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
Definition AprPool.h:25