|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.derby.iapi.services.io.FormatableLongHolder
A formatable holder for an long.
| Field Summary | |
private long |
theLong
|
| Constructor Summary | |
FormatableLongHolder()
Niladic constructor for formatable |
|
FormatableLongHolder(long theLong)
Construct a FormatableLongHolder using the input integer. |
|
| Method Summary | |
static FormatableLongHolder[] |
getFormatableLongHolders(long[] theLongs)
Create and return an array of FormatableLongHolders given an array of ints. |
long |
getLong()
Get the held int. |
int |
getTypeFormatId()
Get the formatID which corresponds to this class. |
void |
readExternal(ArrayInputStream in)
|
void |
readExternal(java.io.ObjectInput in)
Read this formatable from a stream of stored objects. |
void |
setLong(int theLong)
Set the held int to the input int. |
void |
writeExternal(java.io.ObjectOutput out)
Write this formatable out |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private long theLong
| Constructor Detail |
public FormatableLongHolder()
public FormatableLongHolder(long theLong)
theLong - the long to hold| Method Detail |
public void setLong(int theLong)
public long getLong()
public static FormatableLongHolder[] getFormatableLongHolders(long[] theLongs)
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
writeExternal in interface java.io.Externalizableout - write bytes here
java.io.IOException - thrown on error
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException
readExternal in interface java.io.Externalizablein - read this.
java.io.IOException - thrown on error
public void readExternal(ArrayInputStream in)
throws java.io.IOException
java.io.IOExceptionpublic int getTypeFormatId()
getTypeFormatId in interface TypedFormat
|
Built on Tue 2006-10-10 19:23:47+0200, from revision exported | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||