public class FormatableLongHolder extends java.lang.Object implements Formatable
| Modifier and Type | Field and Description |
|---|---|
private long |
theLong |
| Constructor and Description |
|---|
FormatableLongHolder()
Niladic constructor for formatable
|
FormatableLongHolder(long theLong)
Construct a FormatableLongHolder using the input integer.
|
| Modifier and Type | Method and Description |
|---|---|
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
|
public FormatableLongHolder()
public FormatableLongHolder(long theLong)
theLong - the long to holdpublic void setLong(int theLong)
theLong - the int to holdpublic long getLong()
public static FormatableLongHolder[] getFormatableLongHolders(long[] theLongs)
theLongs - The array of longspublic void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
writeExternal in interface java.io.Externalizableout - write bytes herejava.io.IOException - thrown on errorpublic 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 TypedFormatApache Derby V10.10 Internals - Copyright © 2004,2014 The Apache Software Foundation. All Rights Reserved.