/** * Returns an <code>Iterator</code> that does not support modification of * the heap. */ @Override public Iterator<T> iterator() { return IteratorUtils.<T> unmodifiableIterator(heap.iterator()); }
/** * Returns an <code>Iterator</code> that does not support modification * of the heap. */ @Override public Iterator<T> iterator() { return IteratorUtils.<T>unmodifiableIterator(heap.iterator()); }