org.hsqldb.store
Class ValuePool

java.lang.Object
  extended byorg.hsqldb.store.ValuePool

public class ValuePool
extends Object

Under development. Only getXXX methods are used for retrival of values. If a value is not in the pool, it is added to the pool and returned. When the pool gets full, the contents are purged. (fredt@users)


Nested Class Summary
static class ValuePool.poolSettings
           
 
Constructor Summary
ValuePool()
           
 
Method Summary
static void clearPool()
           
static BigDecimal getBigDecimal(BigDecimal val)
           
static Boolean getBoolean(boolean b)
           
static Date getDate(long val)
           
static Double getDouble(long val)
           
static Integer getInt(int val)
           
static Long getLong(long val)
           
static String getString(String val)
           
static void resetPool()
           
static void resetPool(int[] sizeArray, int sizeFactor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValuePool

public ValuePool()
Method Detail

resetPool

public static void resetPool(int[] sizeArray,
                             int sizeFactor)

resetPool

public static void resetPool()

clearPool

public static void clearPool()

getInt

public static Integer getInt(int val)

getLong

public static Long getLong(long val)

getDouble

public static Double getDouble(long val)

getString

public static String getString(String val)

getDate

public static Date getDate(long val)

getBigDecimal

public static BigDecimal getBigDecimal(BigDecimal val)

getBoolean

public static Boolean getBoolean(boolean b)


Copyright © 2001 - 2004 HSQL Development Group. All Rights Reserved.