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