クラスの使用
org.piax.common.Id
| パッケージ | 説明 |
|---|---|
| org.piax.common |
-
org.piax.commonでのIdの使用
org.piax.commonでのIdのサブクラス 修飾子とタイプ クラス 説明 classObjectIdA class that corresponds to an identifier of a object.classPeerIdstatic classPeerId.SpecialIdclassServiceIdA class that corresponds to an identifier of a service.classTransportIdA class of a identifier of a Transport.Idを返すorg.piax.commonのメソッド 修飾子とタイプ メソッド 説明 static IdId. newId(int len)指定された長さのランダムなbyte列を持つIdオブジェクトを生成する。Id型のパラメータを持つorg.piax.commonのメソッド 修飾子とタイプ メソッド 説明 intId. commonPostfixLen(Id id)intId. commonPrefixLen(Id id)intId. compareTo(Id id)intPeerId. compareTo(Id id)Id型のパラメータを持つorg.piax.commonのコンストラクタ コンストラクタ 説明 PeerId(Id id)