Class ByteRange

  • Direct Known Subclasses:
    ByteRange

    public abstract class ByteRange
    extends java.lang.Object
    • Constructor Detail

      • ByteRange

        public ByteRange()
    • Method Detail

      • isSlice

        public abstract boolean isSlice()
      • isFromOffset

        public abstract boolean isFromOffset()
      • isSuffix

        public abstract boolean isSuffix()
      • getSliceFirst

        public abstract java.util.OptionalLong getSliceFirst()
      • getSliceLast

        public abstract java.util.OptionalLong getSliceLast()
      • getOffset

        public abstract java.util.OptionalLong getOffset()
      • getSuffixLength

        public abstract java.util.OptionalLong getSuffixLength()
      • createSlice

        public static ByteRange createSlice​(long first,
                                            long last)
      • createFromOffset

        public static ByteRange createFromOffset​(long offset)
      • createSuffix

        public static ByteRange createSuffix​(long length)