|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apfloat.internal.LongDataStorageBuilder
Default data storage creation strategy for the long
data type.
LongMemoryDataStorage
,
LongDiskDataStorage
Constructor Summary | |
LongDataStorageBuilder()
Default constructor. |
Method Summary | |
DataStorage |
createDataStorage(long size)
Get an appropriate type of data storage for the requested size of data. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public LongDataStorageBuilder()
Method Detail |
public DataStorage createDataStorage(long size) throws ApfloatRuntimeException
DataStorageBuilder
Note that the returned data storage object is not set to have the
requested size, so the client should call the object's DataStorage.setSize(long)
method before storing data to it.
createDataStorage
in interface DataStorageBuilder
size
- The size of data to be stored in the storage, in bytes.
DataStorage
object of an appropriate type for storing size
bytes of data.
ApfloatRuntimeException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |