|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.derby.iapi.services.io.FormatableIntHolder
public class FormatableIntHolder
A formatable holder for an int.
Field Summary | |
---|---|
private int |
theInt
This class implements Formatable. |
Constructor Summary | |
---|---|
FormatableIntHolder()
Niladic constructor for formatable |
|
FormatableIntHolder(int theInt)
Construct a FormatableIntHolder using the input int. |
Method Summary | |
---|---|
static FormatableIntHolder[] |
getFormatableIntHolders(int[] theInts)
Create and return an array of FormatableIntHolders given an array of ints. |
int |
getInt()
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 |
setInt(int theInt)
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 int theInt
Constructor Detail |
---|
public FormatableIntHolder()
public FormatableIntHolder(int theInt)
theInt
- the int to holdMethod Detail |
---|
public void setInt(int theInt)
theInt
- the int to holdpublic int getInt()
public static FormatableIntHolder[] getFormatableIntHolders(int[] theInts)
theInts
- The array of ints
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 2012-03-29 21:53:33+0000, from revision ??? | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |