Class Offset

    • Constructor Detail

      • Offset

        public Offset()
    • Method Detail

      • reset

        public abstract void reset()
        Resets the Offset to the position it was created or cloned with.
      • getBaseReadableOffset

        public abstract ReadableOffset getBaseReadableOffset()
        Returns the same offset ("this") or a readable "view" of this offset, which always returns the same value from ReadableOffset.getOffset(), as this offset. This method is useful for "unwrapping" such offsets as FilteredOffset and reduce reference indirection, when only ReadableOffset API is needed.