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.


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
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectIterators.UnmodifiableIterator

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

hasNext

public boolean hasNext()

next

public K next()