Top Fields Constructors Methods
org.hsqldb.persist

public Class IntArrayCachedObject

extends CachedObjectBase
Class Inheritance
Imports
org.hsqldb.lib.LongLookup, org.hsqldb.rowio.RowInputInterface, .RowOutputInterface

Author
Fred Toussi (fredt@users dot sourceforge.net)
Since
2.3.0
Version
2.4.1

Field Summary

Modifier and TypeField and Description
public static final int
pack-priv int[]
Inherited from org.hsqldb.persist.CachedObjectBase:
accessCounthasChangedisInMemoryisMemorykeepCountpositionstorageSize

Constructor Summary

AccessConstructor and Description
public
IntArrayCachedObject(int capacity)

Method Summary

Modifier and TypeMethod and Description
public int
public int[]
public int
getNonZeroSize()

returns on first zero element

public int
public int
getValue(int position)

public void
public void
setIntArray(int[] array)

public void
setValue(int position, int value)

public void
public void
Inherited from org.hsqldb.persist.CachedObjectBase:
destroyequalsgetAccessCountgetPosgetStorageSizehasChangedhashCodeisBlockisInMemoryisInvariableisKeepInMemoryisMemoryisNewkeepInMemoryrestoresetChangedsetInMemorysetPossetStorageSizeupdateAccessCount

Field Detail

fileSizeFactorback to summary
public static final int fileSizeFactor
valuesback to summary
pack-priv int[] values

Constructor Detail

IntArrayCachedObjectback to summary
public IntArrayCachedObject(int capacity)

Method Detail

getDefaultCapacityback to summary
public int getDefaultCapacity()

Implements org.hsqldb.persist.CachedObject.getDefaultCapacity.

getIntArrayback to summary
public int[] getIntArray()
getNonZeroSizeback to summary
public int getNonZeroSize()

returns on first zero element

getRealSizeback to summary
public int getRealSize(RowOutputInterface out)

Implements org.hsqldb.persist.CachedObject.getRealSize.

getValueback to summary
public int getValue(int position)
readback to summary
public void read(RowInputInterface in)

Implements org.hsqldb.persist.CachedObject.read.

setIntArrayback to summary
public void setIntArray(int[] array)
setValueback to summary
public void setValue(int position, int value)
writeback to summary
public void write(RowOutputInterface out)

Implements org.hsqldb.persist.CachedObject.write.

writeback to summary
public void write(RowOutputInterface out, LongLookup lookup)

Implements org.hsqldb.persist.CachedObject.write.