Class ArrayKeyValueSupplierIterator<K,​V>

  • All Implemented Interfaces:
    SupplierIterator<K,​V>, java.util.function.Supplier<V>, java.util.Iterator<K>

    public class ArrayKeyValueSupplierIterator<K,​V>
    extends java.lang.Object
    implements SupplierIterator<K,​V>
    • Field Detail

      • values

        final java.lang.Object[] values
      • end

        final int end
      • currentIndex

        int currentIndex
      • currentValue

        V currentValue
    • Constructor Detail

      • ArrayKeyValueSupplierIterator

        public ArrayKeyValueSupplierIterator​(java.lang.Object[] values,
                                             int start,
                                             int end)
    • Method Detail

      • hasNext

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

        public K next()
        Specified by:
        next in interface java.util.Iterator<K>
      • get

        public V get()
        Specified by:
        get in interface java.util.function.Supplier<K>
      • remove

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