Package io.netty.util.collection
Class ByteCollections.UnmodifiableMap.IteratorImpl
- java.lang.Object
-
- io.netty.util.collection.ByteCollections.UnmodifiableMap.IteratorImpl
-
- All Implemented Interfaces:
java.util.Iterator<ByteObjectMap.PrimitiveEntry<V>>
- Enclosing class:
- ByteCollections.UnmodifiableMap<V>
private class ByteCollections.UnmodifiableMap.IteratorImpl extends java.lang.Object implements java.util.Iterator<ByteObjectMap.PrimitiveEntry<V>>
Unmodifiable wrapper for an iterator.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.util.Iterator<ByteObjectMap.PrimitiveEntry<V>>
iter
-
Constructor Summary
Constructors Constructor Description IteratorImpl(java.util.Iterator<ByteObjectMap.PrimitiveEntry<V>> iter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
ByteObjectMap.PrimitiveEntry<V>
next()
void
remove()
-
-
-
Field Detail
-
iter
final java.util.Iterator<ByteObjectMap.PrimitiveEntry<V>> iter
-
-
Constructor Detail
-
IteratorImpl
IteratorImpl(java.util.Iterator<ByteObjectMap.PrimitiveEntry<V>> iter)
-
-
Method Detail
-
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interfacejava.util.Iterator<ByteObjectMap.PrimitiveEntry<V>>
-
next
public ByteObjectMap.PrimitiveEntry<V> next()
- Specified by:
next
in interfacejava.util.Iterator<ByteObjectMap.PrimitiveEntry<V>>
-
remove
public void remove()
- Specified by:
remove
in interfacejava.util.Iterator<ByteObjectMap.PrimitiveEntry<V>>
-
-