public class BlockPrefix
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
BlockPrefix.BlockType |
| Modifier and Type | Field and Description |
|---|---|
long |
length |
BlockPrefix.BlockType |
type |
| Constructor and Description |
|---|
BlockPrefix(long length,
BlockPrefix.BlockType type) |
| Modifier and Type | Method and Description |
|---|---|
static BlockPrefix |
decode(DurableInput in) |
void |
encode(DurableOutput out) |
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
java.lang.String |
toString() |
public final long length
public final BlockPrefix.BlockType type
public BlockPrefix(long length,
BlockPrefix.BlockType type)
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic static BlockPrefix decode(DurableInput in)
public void encode(DurableOutput out)