public class Slot
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
MARSHALLED_LENGTH |
static int |
NEW |
static int |
UPDATE |
static Slot |
ZERO |
| Constructor and Description |
|---|
Slot(int address,
int length) |
| Modifier and Type | Method and Description |
|---|---|
int |
address() |
Slot |
append(Slot slot) |
int |
compareByAddress(Slot slot) |
int |
compareByLength(Slot slot) |
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
boolean |
isDirectlyPreceding(Slot other) |
boolean |
isNew() |
boolean |
isNull() |
static boolean |
isNull(Slot slot) |
boolean |
isUpdate() |
int |
length() |
Slot |
subSlot(int offset) |
java.lang.String |
toString() |
Slot |
truncate(int requiredLength) |
public static final Slot ZERO
public static final int NEW
public static final int UPDATE
public static int MARSHALLED_LENGTH
public int address()
public int length()
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic Slot subSlot(int offset)
public java.lang.String toString()
toString in class java.lang.Objectpublic Slot truncate(int requiredLength)
public int compareByAddress(Slot slot)
public int compareByLength(Slot slot)
public boolean isDirectlyPreceding(Slot other)
public boolean isNull()
public boolean isNew()
public boolean isUpdate()
public static boolean isNull(Slot slot)