| 限定符和类型 | 类和说明 |
|---|---|
static class |
BlocksWithLocations.BlockWithLocations
A class to keep track of a block and its locations
|
| 构造器和说明 |
|---|
BlocksWithLocations(BlocksWithLocations.BlockWithLocations[] blocks)
Constructor with one parameter
|
public BlocksWithLocations(BlocksWithLocations.BlockWithLocations[] blocks)
public BlocksWithLocations.BlockWithLocations[] getBlocks()
public void write(DataOutput out) throws IOException
write 在接口中 Writableout - DataOuput to serialize this object into.IOExceptionpublic void readFields(DataInput in) throws IOException
readFields 在接口中 Writablein - DataInput to deseriablize this object from.IOExceptionCopyright © 2009 The Apache Software Foundation