|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectnet.moraleboost.junsai.Token
public class Token
辞書エントリを表す。辞書見出し一つに対し、一つのTokenが対応する。
フィールドの概要 | |
---|---|
int |
compound
|
int |
feature
|
int |
lcAttr
|
int |
posid
|
int |
rcAttr
|
static int |
SIZE
|
short |
wcost
|
コンストラクタの概要 | |
---|---|
Token()
|
メソッドの概要 | |
---|---|
static int |
getSize(int num)
num個分のTokenの占めるバイト数を算出する。 |
void |
read(java.nio.ByteBuffer buf)
バッファから、Tokenのデータを読み込む。 |
void |
write(java.nio.ByteBuffer buf)
バッファに、Tokenのデータを書き込む。 |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
---|
public static final int SIZE
public int lcAttr
public int rcAttr
public int posid
public short wcost
public int feature
public int compound
コンストラクタの詳細 |
---|
public Token()
メソッドの詳細 |
---|
public void read(java.nio.ByteBuffer buf)
buf
- バッファpublic void write(java.nio.ByteBuffer buf)
buf
- バッファpublic static int getSize(int num)
num
- Token数
|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |