Class Offset (1.13.8)

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
Name Description
offset long
Returns
Type Description
Offset

Constructors

Offset()

public Offset()

Methods

compareTo(Offset o)

public int compareTo(Offset o)
Parameter
Name Description
o Offset
Returns
Type Description
int

value()

public abstract long value()

The long value of this offset.

Returns
Type Description
long