org.jruby.util
Interface ByteList.ByteIterator

Enclosing class:
ByteList

public static interface ByteList.ByteIterator

Interface for internal iteration over bytes.


Method Summary
 boolean next(int index, byte bite)
          Receives index and byte value for each byte in this ByteList.
 

Method Detail

next

boolean next(int index,
             byte bite)
Receives index and byte value for each byte in this ByteList. Return false to terminate iteration, true to continue;

Parameters:
index - index of current byte
bite - value of current byte
Returns:
true to continue iteration, false to terminate


Copyright © 2011. All Rights Reserved.