public abstract class Offset extends Object implements Comparable<Offset>, Serializable
| Constructor and Description |
|---|
Offset() |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Offset o) |
static Offset |
of(long offset)
Create an offset.
|
abstract long |
value()
The long value of this offset.
|
public static Offset of(long offset)
public abstract long value()
public int compareTo(Offset o)
compareTo in interface Comparable<Offset>Copyright © 2021 Google LLC. All rights reserved.