|
|||||||||
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
public class 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 long 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 holdMethod Detail |
---|
public void setLong(int theLong)
theLong
- the int to holdpublic long getLong()
public static FormatableLongHolder[] getFormatableLongHolders(long[] theLongs)
theLongs
- The array of longs
public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
out
- write bytes here
java.io.IOException
- thrown on errorpublic void readExternal(java.io.ObjectInput in) throws java.io.IOException
readExternal
in interface java.io.Externalizable
in
- read this.
java.io.IOException
- thrown on errorpublic void readExternal(ArrayInputStream in) throws java.io.IOException
java.io.IOException
public int getTypeFormatId()
getTypeFormatId
in interface TypedFormat
|
Built on Thu 2011-03-10 11:54:14+0000, from revision ??? | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |