public class BlockDiskElementDescriptor
extends java.lang.Object
implements java.io.Serializable, java.io.Externalizable
| Constructor and Description |
|---|
BlockDiskElementDescriptor() |
| Modifier and Type | Method and Description |
|---|---|
int[] |
getBlocks()
This holds the block numbers.
|
java.io.Serializable |
getKey() |
void |
readExternal(java.io.ObjectInput input)
Saves on reflection.
|
void |
setBlocks(int[] blocks) |
void |
setKey(java.io.Serializable key) |
java.lang.String |
toString()
For debugging.
|
void |
writeExternal(java.io.ObjectOutput output)
Saves on reflection.
|
public void setKey(java.io.Serializable key)
key - The key to set.public java.io.Serializable getKey()
public void setBlocks(int[] blocks)
blocks - The blocks to set.public int[] getBlocks()
public java.lang.String toString()
toString in class java.lang.Objectpublic void readExternal(java.io.ObjectInput input)
throws java.io.IOException,
java.lang.ClassNotFoundException
(non-Javadoc)
readExternal in interface java.io.Externalizablejava.io.IOExceptionjava.lang.ClassNotFoundExceptionExternalizable.readExternal(java.io.ObjectInput)public void writeExternal(java.io.ObjectOutput output)
throws java.io.IOException
(non-Javadoc)
writeExternal in interface java.io.Externalizablejava.io.IOExceptionExternalizable.writeExternal(java.io.ObjectOutput)Copyright © 2002-2013 Apache Software Foundation. All Rights Reserved.