java.lang.Object
com.here.platform.data.client.model.ByteRange
com.here.platform.data.client.model.Range
All Implemented Interfaces:
Serializable, scala.Equals, scala.Product

public final class Range extends ByteRange implements scala.Product, Serializable
Indicates that we should process all the bytes from start to end (inclusive).
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    Range(long start, long end)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    abstract static R
    apply(T1 v1, T2 v2)
     
    scala.Option<ByteRange>
    dropBytes(long count)
    Truncates the range by count bytes from the beginning.
    long
    end()
     
    long
     
    static String
     

    Methods inherited from class com.here.platform.data.client.model.ByteRange

    all, containsAllBytes, fromOffset, fromRange

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface scala.Equals

    canEqual, equals

    Methods inherited from interface scala.Product

    productArity, productElement, productElementName, productElementNames, productIterator, productPrefix
  • Constructor Details

    • Range

      public Range(long start, long end)
  • Method Details

    • apply

      public abstract static R apply(T1 v1, T2 v2)
    • toString

      public static String toString()
    • start

      public long start()
    • end

      public long end()
    • dropBytes

      public scala.Option<ByteRange> dropBytes(long count)
      Description copied from class: ByteRange
      Truncates the range by count bytes from the beginning.

      Specified by:
      dropBytes in class ByteRange
      Returns:
      Some(range) with truncated range if it's available, None otherwise.