Class MemoryByteIterator


  • public class MemoryByteIterator
    extends java.lang.Object
    Class to iterate over the bytes in memory for an address set.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean hasNext()
      Returns true if there are more bytes to iterate over
      byte next()
      Returns the next byte.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MemoryByteIterator

        public MemoryByteIterator​(Memory mem,
                                  AddressSetView set)
        Construct a memoryIterator
        Parameters:
        mem - the memory providing the bytes
        set - the set of addresses for which to iterate bytes
    • Method Detail

      • hasNext

        public boolean hasNext()
        Returns true if there are more bytes to iterate over