|
|||||||||
| 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(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 hold| Method 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.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 errorpublic int getTypeFormatId()
getTypeFormatId in interface TypedFormat
|
Built on Wed 2013-06-12 15:21:56+0000, from revision ??? | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||