java.io.Externalizable, java.io.Serializable, Formatable, TypedFormatpublic class FormatableLongHolder extends java.lang.Object implements Formatable
| Modifier and Type | Field | Description |
|---|---|---|
private long |
theLong |
| Constructor | Description |
|---|---|
FormatableLongHolder() |
Niladic constructor for formatable
|
FormatableLongHolder(long theLong) |
Construct a FormatableLongHolder using the input integer.
|
| Modifier and Type | Method | 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.14 Internals - Copyright © 2004,2018 The Apache Software Foundation. All Rights Reserved.