|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectjavax.management.MBeanFeatureInfo
javax.management.MBeanConstructorInfo
javax.management.openmbean.OpenMBeanConstructorInfoSupport
public class OpenMBeanConstructorInfoSupport
Open MBean のコンストラクタを記述します。
| フィールドの概要 |
|---|
| クラス javax.management.MBeanFeatureInfo から継承されたフィールド |
|---|
description, name |
| コンストラクタの概要 | |
|---|---|
OpenMBeanConstructorInfoSupport(String name,
String description,
OpenMBeanParameterInfo[] signature)
指定された name、description、および signature を持つ公開 MBean のクラスのコンストラクタを記述する、OpenMBeanConstructorInfoSupport インスタンスを構築します。 |
|
| メソッドの概要 | |
|---|---|
boolean |
equals(Object obj)
指定された obj パラメータとこの OpenMBeanConstructorInfoSupport インスタンスが等しいかどうかを比較します。 |
int |
hashCode()
この OpenMBeanConstructorInfoSupport インスタンスのハッシュコード値を返します。 |
String |
toString()
この OpenMBeanConstructorInfoSupport インスタンスの文字列表現を返します。 |
| クラス javax.management.MBeanConstructorInfo から継承されたメソッド |
|---|
clone, getSignature |
| クラス javax.management.MBeanFeatureInfo から継承されたメソッド |
|---|
getDescription, getName |
| クラス java.lang.Object から継承されたメソッド |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| インタフェース javax.management.openmbean.OpenMBeanConstructorInfo から継承されたメソッド |
|---|
getDescription, getName, getSignature |
| コンストラクタの詳細 |
|---|
public OpenMBeanConstructorInfoSupport(String name,
String description,
OpenMBeanParameterInfo[] signature)
signature 配列パラメータは、signature を使って参照されるその後の配列の変更がこのインスタンスに影響を及ぼさないように、内部でコピーされます。
name - null または空文字列以外description - null または空文字列以外signature - 記述するパラメータが存在しない場合は null または空文字列でもよい
IllegalArgumentException - name または description が null または空文字列の場合
ArrayStoreException - signature が MBeanParameterInfo のサブクラスのインスタンスから成る配列でない場合| メソッドの詳細 |
|---|
public boolean equals(Object obj)
OpenMBeanConstructorInfoSupport インスタンスが等しいかどうかを比較します。
次のすべての条件が満たされている場合にかぎり、true を返します。
OpenMBeanConstructorInfo インタフェースを実装しているOpenMBeanConstructorInfo インタフェースの異なった実装である obj パラメータに対して正常に機能します。
OpenMBeanConstructorInfo 内の equalsMBeanConstructorInfo 内の equalsobj - この OpenMBeanConstructorInfoSupport インスタンスと等しいかどうかを比較するオブジェクト
OpenMBeanConstructorInfoSupport インスタンスと等しい場合は trueObject.hashCode(),
Hashtablepublic int hashCode()
OpenMBeanConstructorInfoSupport インスタンスのハッシュコード値を返します。
OpenMBeanConstructorInfoSupport インスタンスのハッシュコードは、equals の比較で使用されたすべての情報要素 (名前とシグニチャー。シグニチャー hashCode は java.util.Arrays.asList(this.getSignature).hashCode() の呼び出しによって計算される) のハッシュコードの合計です。
これにより、Object.hashCode() メソッドの一般規約によって要求される、任意の 2 つの OpenMBeanConstructorInfoSupport インスタンス t1 と t2 で、t1.equals(t2) であれば t1.hashCode()==t2.hashCode() となることが保証されます。
OpenMBeanConstructorInfo インタフェースを実装する別のクラスインスタンスが、equals(java.lang.Object) で定義されているように、この OpenMBeanConstructorInfoSupport インスタンスと等しくなる場合もあります。しかし、計算方法が異なっているため、ハッシュコードも異なっている可能性があります。
OpenMBeanConstructorInfoSupport インスタンスは不変で、このインスタンスのハッシュコードは、hashCode の最初の呼び出し時に 1 回だけ計算されます。その後の呼び出しには、同じ値が返されます。
OpenMBeanConstructorInfo 内の hashCodeMBeanConstructorInfo 内の hashCodeOpenMBeanConstructorInfoSupport インスタンスのハッシュコード値Object.equals(java.lang.Object),
Hashtablepublic String toString()
OpenMBeanConstructorInfoSupport インスタンスの文字列表現を返します。
この文字列表現は、このクラスの名前 (javax.management.openmbean.OpenMBeanConstructorInfoSupport) と、記述されたコンストラクタの名前およびシグニチャーで構成されます。
OpenMBeanConstructorInfoSupport インスタンスは不変で、このインスタンスの文字列表現は、toString の最初の呼び出し時に 1 回だけ計算されます。その後の呼び出しには、同じ値が返されます。
OpenMBeanConstructorInfo 内の toStringObject 内の toStringOpenMBeanConstructorInfoSupport インスタンスの文字列表現
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Documentation Redistribution Policy も参照してください。