|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
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 インスタンスを構築します。 |
|
OpenMBeanConstructorInfoSupport(String name,
String description,
OpenMBeanParameterInfo[] signature,
Descriptor descriptor)
指定した name、description、signature、および descriptor を使って公開 MBean のクラスのコンストラクタを記述する OpenMBeanConstructorInfoSupport インスタンスを構築します。 |
|
| メソッドの概要 | |
|---|---|
boolean |
equals(Object obj)
指定された obj パラメータとこの OpenMBeanConstructorInfoSupport インスタンスが等しいかどうかを比較します。 |
int |
hashCode()
この OpenMBeanConstructorInfoSupport インスタンスのハッシュコード値を返します。 |
String |
toString()
この OpenMBeanConstructorInfoSupport インスタンスの文字列表現を返します。 |
| クラス javax.management.MBeanConstructorInfo から継承されたメソッド |
|---|
clone, getSignature |
| クラス javax.management.MBeanFeatureInfo から継承されたメソッド |
|---|
getDescription, getDescriptor, 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)
指定した name、description、および signature を使って公開 MBean のクラスのコンストラクタを記述する OpenMBeanConstructorInfoSupport インスタンスを構築します。
signature 配列パラメータは、signature を使って参照されるその後の配列の変更がこのインスタンスに影響を及ぼさないように、内部でコピーされます。
name - null または空文字列は使用できないdescription - null または空文字列は使用できないsignature - 記述するパラメータが存在しない場合は null または空文字列でもよい
IllegalArgumentException - name または description が null または空文字列の場合
ArrayStoreException - signature が MBeanParameterInfo のサブクラスのインスタンスの配列でない場合
public OpenMBeanConstructorInfoSupport(String name,
String description,
OpenMBeanParameterInfo[] signature,
Descriptor descriptor)
指定した name、description、signature、および descriptor を使って公開 MBean のクラスのコンストラクタを記述する OpenMBeanConstructorInfoSupport インスタンスを構築します。
signature 配列パラメータは、signature を使って参照されるその後の配列の変更がこのインスタンスに影響を及ぼさないように、内部でコピーされます。
name - null または空文字列は使用できないdescription - null または空文字列は使用できないsignature - 記述するパラメータが存在しない場合は null または空文字列でもよいdescriptor - コンストラクタの記述子。null の場合があり、 これは空の記述子と同等
IllegalArgumentException - name または description が null または空文字列の場合
ArrayStoreException - signature が MBeanParameterInfo のサブクラスのインスタンスの配列でない場合| メソッドの詳細 |
|---|
public boolean equals(Object obj)
指定された obj パラメータとこの OpenMBeanConstructorInfoSupport インスタンスが等しいかどうかを比較します。
次のすべての条件が満たされている場合にかぎり、true を返します。
obj が null でないobj が OpenMBeanConstructorInfo インタフェースも実装するequals メソッドは、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 内の toStringMBeanConstructorInfo 内の toStringOpenMBeanConstructorInfoSupport インスタンスの文字列表現
|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
Copyright 2009 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Documentation Redistribution Policy も参照してください。