public final class HybsEntry extends Object implements Comparable<HybsEntry>
コンストラクタと説明 |
---|
HybsEntry(String key,
String value)
コンストラクタ
内部変数への値の設定は、このコンストラクターで行われます。
|
HybsEntry(String key,
String value,
String comment)
コンストラクタ
内部変数への値の設定は、このコンストラクターで行われます。
|
修飾子とタイプ | メソッドと説明 |
---|---|
int |
compareTo(HybsEntry other)
自然比較メソッド
インタフェース Comparable の 実装です。
|
boolean |
equals(Object object)
このオブジェクトと他のオブジェクトが等しいかどうかを示します。
|
String |
getComment()
エントリに対応するコメントを返します。
|
String |
getKey()
エントリに対応するキーを返します。
|
String |
getValue()
エントリに対応する値を返します。
|
HybsEntry |
getValue(String newValue)
HybsEntry の設定されている値を変更します。
|
int |
hashCode()
オブジェクトのハッシュコード値を返します。
|
String |
toString()
オブジェクトの識別子として,詳細なユーザー情報を返します。
|
public HybsEntry(String key, String value)
key
- キーvalue
- 値IllegalArgumentException
- key に null がセットされた場合public HybsEntry(String key, String value, String comment)
key
- キーvalue
- 値comment
- コメントIllegalArgumentException
- key に null がセットされた場合public String getComment()
public HybsEntry getValue(String newValue)
newValue
- 新しい値public int compareTo(HybsEntry other)
compareTo
インタフェース内 Comparable<HybsEntry>
other
- 比較対象のObjectClassCastException
- 指定されたオブジェクトがキャストできない場合。public boolean equals(Object object)
public int hashCode()
Webアプリケーションフレームワーク openGionCopyright (c) 2009 The openGion Project.