修飾子とタイプ | メソッドと説明 |
---|---|
int |
compareTo(Integral o) |
boolean |
contentEquals(CharSequence other)
オブジェクトが保持する情報の文字シーケンス表現と引数で指定された文字シーケンスを比較し
それぞれの文字の並びが一致する場合
true を返す. |
boolean |
contentEquals(Component other)
オブジェクトが保持する情報の文字シーケンス表現と引数で指定されたオブジェクトが保持する文字シーケンスを比較し
それぞれの文字の並びが一致する場合
true を返す. |
int |
intValue()
このオブジェクトが表わす整数値を返す.
|
long |
longValue()
このオブジェクトが表わす整数値を返す.
|
static UnsignedIntegral |
of(long value)
指定された
long 値に対応するインスタンスを返す. |
CharSequence |
serialize()
オブジェクトの保持する情報を文字シーケンス化する.
|
String |
toString(int radix)
このオブジェクトの文字列表現を返す.
|
public static UnsignedIntegral of(long value)
long
値に対応するインスタンスを返す.
このオブジェクトが表わすことのできる範囲を超える値が指定された場合は例外をスローする。value
- 整数値IllegalArgumentException
- このオブジェクトが表現可能な範囲を超える値が指定された場合public int compareTo(Integral o)
compareTo
インタフェース内 Comparable<Integral>
public CharSequence serialize()
Component
このメソッドが返すシーケンスはObject.toString()
が返すそれのようなデバッグ用途で利用されうるものではない。
このメソッドが返すシーケンスは当該コンポーネントのユニット定義ファイル上における表現形式で表されたものでなくてはならない。
public int intValue()
Integral
public long longValue()
Integral
public boolean contentEquals(CharSequence other)
Component
true
を返す.contentEquals
インタフェース内 Component
other
- 文字シーケンスpublic boolean contentEquals(Component other)
Component
true
を返す.contentEquals
インタフェース内 Component
other
- 文字シーケンス化可能なオブジェクトCopyright © 2016. All rights reserved.