public final class DataItem extends Object implements Item, StoreLocation
ACTIVE, FREE, LOCATION_SIZE, MAGIC, POSITION_NOT_SET
Constructor and Description |
---|
DataItem() |
public int getSize()
getSize
in interface StoreLocation
StoreLocation.getSize()
public void setSize(int size)
size
- The size to set.public long getOffset()
getOffset
in interface StoreLocation
StoreLocation.getOffset()
public void setOffset(long offset)
offset
- The offset to set.public int getFile()
getFile
in interface StoreLocation
StoreLocation.getFile()
public void setFile(int file)
file
- The file to set.public DataItem copy()
Copyright © 2005-2013 The Apache Software Foundation. All Rights Reserved.