Class IndexToAddressRangeIteratorAdapter

    • Constructor Detail

      • IndexToAddressRangeIteratorAdapter

        public IndexToAddressRangeIteratorAdapter​(AddressMap addressMap,
                                                  IndexRangeIterator it)
        Constructs a new IndexToAddressRangeIteratorAdapter given an AddressMap and IndexRangeIterator
        Parameters:
        addressMap - the address map
        it - the IndexRangeIterator
    • Method Detail

      • iterator

        public java.util.Iterator<AddressRange> iterator()
        Specified by:
        iterator in interface java.lang.Iterable<AddressRange>
      • remove

        public void remove()
        Specified by:
        remove in interface java.util.Iterator<AddressRange>
      • hasNext

        public boolean hasNext()
        Specified by:
        hasNext in interface java.util.Iterator<AddressRange>
        See Also:
        Iterator.hasNext()
      • next

        public AddressRange next()
        Specified by:
        next in interface java.util.Iterator<AddressRange>
        See Also:
        Iterator.next()