|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectnet.moraleboost.junsai.dictionary.CharProperty.CharInfo
public static class CharProperty.CharInfo
文字情報を表す。
フィールドの概要 | |
---|---|
static int |
MASK_DEFAULT_TYPE
|
static int |
MASK_GROUP
|
static int |
MASK_INVOKE
|
static int |
MASK_LENGTH
|
static int |
MASK_TYPE
|
static int |
SIZE
|
コンストラクタの概要 | |
---|---|
CharProperty.CharInfo()
|
|
CharProperty.CharInfo(CharProperty.CharInfo ci)
コピーコンストラクタ |
メソッドの概要 | |
---|---|
int |
getDefaultType()
文字が属する既定のカテゴリのIDを取得する。 |
boolean |
getGroup()
char.defのgroupパラメータ。 |
boolean |
getInvoke()
char.defのinvokeパラメータ。 |
int |
getLength()
char.defのlengthパラメータ。 |
static int |
getSize(int num)
num個分のCharInfoの占めるバイト数を算出する。 |
int |
getType()
文字が属するカテゴリのビットセットを取得する。 |
protected int |
getValue()
|
boolean |
isKindOf(CharProperty.CharInfo c)
cとこのCharInfoが、一つでも同じカテゴリに属していれば、 trueを返す。 |
void |
read(java.nio.ByteBuffer buf)
バッファからCharInfoを読み込む。 |
void |
setDefaultType(int defaultType)
文字が属する既定のカテゴリのIDをセットする。 |
void |
setGroup(boolean group)
char.defのgroupパラメータ。 |
void |
setInvoke(boolean invoke)
char.defのinvokeパラメータ。 |
void |
setLength(int length)
char.defのlengthパラメータ。 |
void |
setType(int type)
文字が属するカテゴリのビットセットをセットする。 |
void |
write(java.nio.ByteBuffer buf)
バッファにCharInfoを書きこむ。 |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
---|
public static final int SIZE
public static final int MASK_TYPE
public static final int MASK_DEFAULT_TYPE
public static final int MASK_LENGTH
public static final int MASK_GROUP
public static final int MASK_INVOKE
コンストラクタの詳細 |
---|
public CharProperty.CharInfo()
public CharProperty.CharInfo(CharProperty.CharInfo ci)
ci
- コピー元メソッドの詳細 |
---|
protected int getValue()
public int getType()
public void setType(int type)
type
- 文字が属するカテゴリのビットセットpublic int getDefaultType()
public void setDefaultType(int defaultType)
defaultType
- 文字が属する既定のカテゴリIDpublic int getLength()
public void setLength(int length)
length
- public boolean getGroup()
public void setGroup(boolean group)
group
- public boolean getInvoke()
public void setInvoke(boolean invoke)
invoke
- public boolean isKindOf(CharProperty.CharInfo c)
c
-
public void read(java.nio.ByteBuffer buf)
buf
- public void write(java.nio.ByteBuffer buf)
buf
- public static int getSize(int num)
num
- CharInfoの個数
|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |