Class Offset (1.8.0)

public abstract class Offset implements Comparable<Offset>, Serializable

An offset in the partition.

Inheritance

java.lang.Object > Offset

Static Methods

of(long offset)

public static Offset of(long offset)

Create an offset.

Parameter
NameDescription
offsetlong
Returns
TypeDescription
Offset

Constructors

Offset()

public Offset()

Methods

compareTo(Offset o)

public int compareTo(Offset o)
Parameter
NameDescription
oOffset
Returns
TypeDescription
int

value()

public abstract long value()

The long value of this offset.

Returns
TypeDescription
long