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