|
|||||||||
| Home >> All >> org >> apache >> derby >> iapi >> services >> [ io overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.apache.derby.iapi.services.io
Class FormatableLongHolder

java.lang.Objectorg.apache.derby.iapi.services.io.FormatableLongHolder
- All Implemented Interfaces:
- java.io.Externalizable, Formatable, java.io.Serializable, TypedFormat
- public class FormatableLongHolder
- extends java.lang.Object
- implements Formatable
- extends java.lang.Object
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 |
theLong
private long theLong
| Constructor Detail |
FormatableLongHolder
public FormatableLongHolder()
- Niladic constructor for formatable
FormatableLongHolder
public FormatableLongHolder(long theLong)
- Construct a FormatableLongHolder using the input integer.
| Method Detail |
setLong
public void setLong(int theLong)
- Set the held int to the input int.
getLong
public long getLong()
- Get the held int.
getFormatableLongHolders
public static FormatableLongHolder[] getFormatableLongHolders(long[] theLongs)
- Create and return an array of FormatableLongHolders
given an array of ints.
writeExternal
public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
- Write this formatable out
- Specified by:
writeExternalin interfacejava.io.Externalizable
readExternal
public void readExternal(java.io.ObjectInput in) throws java.io.IOException
- Read this formatable from a stream of stored objects.
- Specified by:
readExternalin interfacejava.io.Externalizable
readExternal
public void readExternal(ArrayInputStream in) throws java.io.IOException
getTypeFormatId
public int getTypeFormatId()
- Get the formatID which corresponds to this class.
- Specified by:
getTypeFormatIdin interfaceTypedFormat
|
|||||||||
| Home >> All >> org >> apache >> derby >> iapi >> services >> [ io overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
org.apache.derby.iapi.services.io.FormatableLongHolder