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() |
IndexBlock |
setDataLen(int dataLen) |
IndexBlock |
setDataPtr(int dataPtr) |
IndexBlock |
setEndIp(long endIp) |
IndexBlock |
setStartIp(long startIp) |
public long getStartIp()
public IndexBlock setStartIp(long startIp)
public long getEndIp()
public IndexBlock setEndIp(long endIp)
public int getDataPtr()
public IndexBlock setDataPtr(int dataPtr)
public int getDataLen()
public IndexBlock setDataLen(int dataLen)
public static int getIndexBlockLength()
public byte[] getBytes()
Copyright © 2018. All rights reserved.