Class TransformingLongIterator<T>

    • Constructor Detail

      • TransformingLongIterator

        public TransformingLongIterator​(SkippingIterator<T> theBaseIt,
                                        boolean theSkipValues)
    • Method Detail

      • getLong

        protected abstract long getLong​(T theValue)
      • getSkipTarget

        protected abstract T getSkipTarget​(long theValue)
      • skipTo

        public boolean skipTo​(long theValue)
        Description copied from interface: SkippingLongIterator
        Moves the position to the minimal value that is greater than or equal to the target. Returns true, if such value exists, false otherwise.
        Specified by:
        skipTo in interface SkippingLongIterator