com.sleepycat.bind.tuple
public class BooleanBinding extends TupleBinding
TupleBinding
for a Boolean
primitive
wrapper or a boolean
primitive.
There are two ways to use this class:
Method Summary | |
---|---|
static void | booleanToEntry(boolean val, DatabaseEntry entry)
Converts a simple boolean value into an entry buffer.
|
static boolean | entryToBoolean(DatabaseEntry entry)
Converts an entry buffer into a simple boolean value.
|
Object | entryToObject(TupleInput input) |
protected TupleOutput | getTupleOutput(Object object) |
void | objectToEntry(Object object, TupleOutput output) |
boolean
value into an entry buffer.
Parameters: val is the source value. entry is the destination entry buffer.
boolean
value.
Parameters: entry is the source entry buffer.
Returns: the resulting value.