Inheritance diagram for com::sleepycat::bind::tuple::DoubleBinding:
Public Member Functions | |
Object | entryToObject (TupleInput input) |
void | objectToEntry (Object object, TupleOutput output) |
Static Public Member Functions | |
static double | entryToDouble (DatabaseEntry entry) |
static void | doubleToEntry (double val, DatabaseEntry entry) |
Protected Member Functions | |
TupleOutput | getTupleOutput (Object object) |
TupleBinding
for a Double
primitive wrapper or a double
primitive.There are two ways to use this class:
Definition at line 29 of file DoubleBinding.java.
|
Converts a simple
Definition at line 70 of file DoubleBinding.java. References com::sleepycat::bind::tuple::TupleBase::outputToEntry(). |
|
Converts an entry buffer into a simple
Definition at line 58 of file DoubleBinding.java. References com::sleepycat::bind::tuple::TupleBase::entryToInput(). |
|
Constructs a key or data object from a TupleInput entry.
Implements com::sleepycat::bind::tuple::TupleBinding. Definition at line 34 of file DoubleBinding.java. References com::sleepycat::bind::tuple::TupleInput::readDouble(). |
|
Returns an empty TupleOutput instance that will be used by the tuple binding or key creator. The default implementation of this method creates a new TupleOutput with an initial buffer size that can be changed using the setTupleBufferSize method. This method may be overridden to return a TupleOutput instance. For example, an instance per thread could be created and returned by this method. If a TupleOutput instance is reused, be sure to call its com.sleepycat.util.FastOutputStream#reset method before each use.
Reimplemented from com::sleepycat::bind::tuple::TupleBase. Definition at line 46 of file DoubleBinding.java. |
|
Converts a key or data object to a tuple entry.
Implements com::sleepycat::bind::tuple::TupleBinding. Definition at line 40 of file DoubleBinding.java. References com::sleepycat::bind::tuple::TupleOutput::writeDouble(). |