org.apache.qpid.transport.util
Class SliceIterator

java.lang.Object
  extended by org.apache.qpid.transport.util.SliceIterator
All Implemented Interfaces:
Iterator<ByteBuffer>

public class SliceIterator
extends Object
implements Iterator<ByteBuffer>

SliceIterator


Constructor Summary
SliceIterator(Iterator<ByteBuffer> iterator)
           
 
Method Summary
 boolean hasNext()
           
 ByteBuffer next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SliceIterator

public SliceIterator(Iterator<ByteBuffer> iterator)
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator<ByteBuffer>

next

public ByteBuffer next()
Specified by:
next in interface Iterator<ByteBuffer>

remove

public void remove()
Specified by:
remove in interface Iterator<ByteBuffer>


Licensed to the Apache Software Foundation