Class CodeUnitKeyIterator

  • All Implemented Interfaces:
    CodeUnitIterator, java.lang.Iterable<CodeUnit>, java.util.Iterator<CodeUnit>

    public class CodeUnitKeyIterator
    extends java.lang.Object
    implements CodeUnitIterator
    Converts an AddressKeyIterator into a CodeUnitIterator
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean hasNext()
      Returns true if the iteration has more elements.
      java.util.Iterator<CodeUnit> iterator()  
      CodeUnit next()
      Return the next code unit in the iteration.
      void remove()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.lang.Iterable

        forEach, spliterator
      • Methods inherited from interface java.util.Iterator

    • Constructor Detail

      • CodeUnitKeyIterator

        public CodeUnitKeyIterator​(CodeManager codeMgr,
                                   AddressKeyIterator it,
                                   boolean forward)
        Construct a new CodeUnitKeyIterator
        codeMgr - the code manager
        it - the addressKeyIterator
        forward - the direction to iterate.