public class IndexBlock extends Object
Constructor and Description |
---|
IndexBlock(long startIp,
long endIp,
int dataPtr,
int dataLen) |
Modifier and Type | Method and Description |
---|---|
byte[] |
getBytes()
get the bytes for storage
|
int |
getDataLen() |
int |
getDataPtr() |
long |
getEndIp() |
static int |
getIndexBlockLength() |
long |
getStartIp() |
void |
setDataLen(int dataLen) |
void |
setDataPtr(int dataPtr) |
void |
setEndIp(long endIp) |
void |
setStartIp(long startIp) |
public void setStartIp(long startIp)
public void setEndIp(long endIp)
public void setDataPtr(int dataPtr)
public void setDataLen(int dataLen)
public long getStartIp()
public long getEndIp()
public int getDataPtr()
public int getDataLen()
public static int getIndexBlockLength()
public byte[] getBytes()
Copyright © 2024. All rights reserved.