Joshua
open source statistical hierarchical phrase-based machine translation system
|
Public Member Functions | |
String | getKey () |
int | size () |
void | readState (DataInputStream in) throws IOException |
void | writeState (DataOutputStream out) throws IOException |
abstract int | read (ByteBuffer stream, int position) |
abstract void | write (ByteBuffer stream, int value) |
Static Public Member Functions | |
static PrimitiveIntEncoder | get (String k) |
Public Attributes | |
BYTE | |
CHAR | |
INT | |
SHORT | |
Private Member Functions | |
PrimitiveIntEncoder (String k, int s) | |
Private Attributes | |
final String | key |
final int | size |
joshua.util.encoding.PrimitiveIntEncoder.PrimitiveIntEncoder | ( | String | k, |
int | s | ||
) | [private] |
static PrimitiveIntEncoder joshua.util.encoding.PrimitiveIntEncoder.get | ( | String | k | ) | [static] |
Implements joshua.util.encoding.IntEncoder.
abstract int joshua.util.encoding.PrimitiveIntEncoder.read | ( | ByteBuffer | stream, |
int | position | ||
) | [pure virtual] |
Implements joshua.util.encoding.IntEncoder.
void joshua.util.encoding.PrimitiveIntEncoder.readState | ( | DataInputStream | in | ) | throws IOException |
Implements joshua.util.encoding.IntEncoder.
Implements joshua.util.encoding.IntEncoder.
abstract void joshua.util.encoding.PrimitiveIntEncoder.write | ( | ByteBuffer | stream, |
int | value | ||
) | [pure virtual] |
Implements joshua.util.encoding.IntEncoder.
void joshua.util.encoding.PrimitiveIntEncoder.writeState | ( | DataOutputStream | out | ) | throws IOException |
Implements joshua.util.encoding.IntEncoder.
final String joshua.util.encoding.PrimitiveIntEncoder.key [private] |
final int joshua.util.encoding.PrimitiveIntEncoder.size [private] |