|
|||||||||
| 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(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 hold| Method 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.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 | ||||||||