it.unimi.dsi.fastutil.objects
Class ObjectIterators.UnmodifiableIterator<K>

java.lang.Object
  extended by it.unimi.dsi.fastutil.objects.AbstractObjectIterator<K>
      extended by it.unimi.dsi.fastutil.objects.ObjectIterators.UnmodifiableIterator<K>
All Implemented Interfaces:
ObjectIterator<K>, Iterator<K>
Enclosing class:
ObjectIterators

public static class ObjectIterators.UnmodifiableIterator<K>
extends AbstractObjectIterator<K>

An unmodifiable wrapper class for iterators.


Field Summary
protected  ObjectIterator<K> i
           
 
Constructor Summary
ObjectIterators.UnmodifiableIterator(ObjectIterator<K> i)
           
 
Method Summary
 boolean hasNext()
           
 K next()
           
 
Methods inherited from class it.unimi.dsi.fastutil.objects.AbstractObjectIterator
remove, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

i

protected final ObjectIterator<K> i
Constructor Detail

ObjectIterators.UnmodifiableIterator

public ObjectIterators.UnmodifiableIterator(ObjectIterator<K> i)
Method Detail

hasNext

public boolean hasNext()

next

public K next()


Copyright © 2011. All Rights Reserved.