Class ConverterCollections.ConverterLongArray.ConverterLongArrayIterator

    • Constructor Detail

      • ConverterLongArrayIterator

        public ConverterLongArrayIterator​(LongArray.Iterator<F> iter)
        Construct a converting iterator.
        Parameters:
        iter - the underlying iterator
    • Method Detail

      • getIndex

        public long getIndex()
        Description copied from interface: LongArray.Iterator
        Returns the index of the current value, which is the value returned by the most recent call to the next method.
        Specified by:
        getIndex in interface LongArray.Iterator<T>
        Returns:
        the index of the current value
      • getValue

        public T getValue()
        Description copied from interface: LongArray.Iterator
        Returns the current value, which is the same value returned by the most recent call to the next method, or the most recent value passed to setValue if setValue were called after the next method.
        Specified by:
        getValue in interface LongArray.Iterator<T>
        Returns:
        the current value
      • setValue

        public T setValue​(T oValue)
        Description copied from interface: LongArray.Iterator
        Stores a new value at the current value index, returning the value that was replaced. The index of the current value is obtainable by calling the getIndex method.
        Specified by:
        setValue in interface LongArray.Iterator<T>
        Parameters:
        oValue - the new value to store
        Returns:
        the replaced value