public class Ref
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
static Ref |
of(long offset,
int length) |
static Ref |
readFrom(byte[] buffer,
int offset) |
java.lang.String |
toString() |
void |
writeTo(byte[] buffer,
int offset) |
public final long offset
public final int length
public static final int SIZE
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic static Ref of(long offset, int length)
public static Ref readFrom(byte[] buffer, int offset)
public void writeTo(byte[] buffer,
int offset)