Boolean クラス

定義

Boolean クラスは、プリミティブ型 boolean の値を オブジェクトにラップします。

[Android.Runtime.Register("java/lang/Boolean", DoNotGenerateAcw=true)]
public sealed class Boolean : Java.Lang.Object, IConvertible, IDisposable, Java.Interop.IJavaPeerable, Java.IO.ISerializable, Java.Lang.IComparable
[<Android.Runtime.Register("java/lang/Boolean", DoNotGenerateAcw=true)>]
type Boolean = class
    inherit Object
    interface IConvertible
    interface ISerializable
    interface IJavaObject
    interface IDisposable
    interface IJavaPeerable
    interface IComparable
継承
Boolean
属性
実装

注釈

Boolean クラスは、プリミティブ型 boolean の値を オブジェクトにラップします。 型のオブジェクトには、型 Boolean が である 1 つのフィールドが boolean含まれています。

さらに、このクラスには、 を に変換するためのboolean多くのメソッドとbooleanString、 を処理booleanするときに役立つその他の定数とメソッドが用意Stringされています。

<Android で削除された--: ValueBased の段落

これは 値ベースの クラスです。プログラマは、#equals(オブジェクト) と等しいインスタンスを交換可能として扱う必要があり、同期にインスタンスを使用しないでください。または、予期しない動作が発生する可能性があります。 たとえば、今後のリリースでは、同期が失敗する可能性があります。 -->

1.0 に追加されました。

java.lang.BooleanJava ドキュメント。

このページの一部は、によって作成および共有された作業に基づく変更であり、に記載されている条件に従って使用されます。

コンストラクター

Boolean(Boolean)

引数を Boolean 表すオブジェクトを value 割り当てます。

Boolean(String)

文字列引数が Boolean でなく、大文字と小文字が区別されずnullに等しい場合は、値trueを表すオブジェクトを文字列 "true"に割り当てます。

プロパティ

Class

この Objectのランタイム クラスを返します。

(継承元 Object)
False

Booleanプリミティブ値 falseに対応する オブジェクト。

Handle

基になる Android インスタンスへのハンドル。

(継承元 Object)
JniIdentityHashCode

Boolean クラスは、プリミティブ型 boolean の値を オブジェクトにラップします。

(継承元 Object)
JniPeerMembers

Boolean クラスは、プリミティブ型 boolean の値を オブジェクトにラップします。

PeerReference

Boolean クラスは、プリミティブ型 boolean の値を オブジェクトにラップします。

(継承元 Object)
ThresholdClass

この API は Mono for Android インフラストラクチャをサポートしており、コードから直接使用するためのものではありません。

(継承元 Object)
ThresholdType

この API は Mono for Android インフラストラクチャをサポートしており、コードから直接使用するためのものではありません。

(継承元 Object)
True

Booleanプリミティブ値 trueに対応する オブジェクト。

Type

プリミティブ型ブール値を表す Class オブジェクト。

メソッド

BooleanValue()

この Boolean オブジェクトの値をブール型プリミティブとして返します。

Clone()

このオブジェクトのコピーを作成して返します。

(継承元 Object)
Compare(Boolean, Boolean)

2 つの boolean 値を比較します。

CompareTo(Boolean)

この Boolean インスタンスを別のインスタンスと比較します。

Dispose()

Boolean クラスは、プリミティブ型 boolean の値を オブジェクトにラップします。

(継承元 Object)
Dispose(Boolean)

Boolean クラスは、プリミティブ型 boolean の値を オブジェクトにラップします。

(継承元 Object)
Equals(Object)

他のオブジェクトがこのオブジェクトと "等しい" かどうかを示します。

(継承元 Object)
GetBoolean(String)

true引数によって指定されたシステム プロパティが存在し、 が と等しい場合にのみ、大文字と小文字を区別しない文字列 を返します"true"

GetHashCode()

オブジェクトのハッシュ コード値を返します。

(継承元 Object)
HashCode(Boolean)

値のハッシュ コードを boolean 返します。と互換性があります Boolean.hashCode()

JavaFinalize()

オブジェクトへの参照がなくなったとガベージ コレクションが判断したときに、オブジェクトのガベージ コレクターによって呼び出されます。

(継承元 Object)
LogicalAnd(Boolean, Boolean)

論理 AND 演算子を指定した boolean オペランドに適用した結果を返します。

LogicalOr(Boolean, Boolean)

論理 OR 演算子を指定した boolean オペランドに適用した結果を返します。

LogicalXor(Boolean, Boolean)

指定した boolean オペランドに論理 XOR 演算子を適用した結果を返します。

Notify()

このオブジェクトのモニターで待機している 1 つのスレッドを起動します。

(継承元 Object)
NotifyAll()

このオブジェクトのモニターで待機しているすべてのスレッドを起動します。

(継承元 Object)
ParseBoolean(String)

文字列引数をブール値として解析します。

SetHandle(IntPtr, JniHandleOwnership)

Handle プロパティを設定します。

(継承元 Object)
ToArray<T>()

Boolean クラスは、プリミティブ型 boolean の値を オブジェクトにラップします。

(継承元 Object)
ToString()

オブジェクトの文字列形式を返します。

(継承元 Object)
ToString(Boolean)

指定したブール値を String 表すオブジェクトを返します。

UnregisterFromRuntime()

Boolean クラスは、プリミティブ型 boolean の値を オブジェクトにラップします。

(継承元 Object)
ValueOf(Boolean)

指定した値を Boolean 表すインスタンスを返します boolean

ValueOf(String)

指定した Boolean 文字列で表される値を持つ を返します。

Wait()

現在のスレッドが起動するまで待機します。通常<は、通知</em> または>< em 中断</em によって待機します>。>

(継承元 Object)
Wait(Int64)

現在のスレッドが起動するまで待機します。通常<は、通知></em> または <>em 中断</em>、または特定のリアルタイムが経過するまで待機します。

(継承元 Object)
Wait(Int64, Int32)

現在のスレッドが起動するまで待機します。通常<は、通知></em> または <>em 中断</em>、または特定のリアルタイムが経過するまで待機します。

(継承元 Object)

演算子

Explicit(Boolean to Boolean)

Boolean クラスは、プリミティブ型 boolean の値を オブジェクトにラップします。

明示的なインターフェイスの実装

IComparable.CompareTo(Object)

Boolean クラスは、プリミティブ型 boolean の値を オブジェクトにラップします。

IConvertible.GetTypeCode()

Boolean クラスは、プリミティブ型 boolean の値を オブジェクトにラップします。

IConvertible.ToBoolean(IFormatProvider)

Boolean クラスは、プリミティブ型 boolean の値を オブジェクトにラップします。

IConvertible.ToByte(IFormatProvider)

Boolean クラスは、プリミティブ型 boolean の値を オブジェクトにラップします。

IConvertible.ToChar(IFormatProvider)

Boolean クラスは、プリミティブ型 boolean の値を オブジェクトにラップします。

IConvertible.ToDateTime(IFormatProvider)

Boolean クラスは、プリミティブ型 boolean の値を オブジェクトにラップします。

IConvertible.ToDecimal(IFormatProvider)

Boolean クラスは、プリミティブ型 boolean の値を オブジェクトにラップします。

IConvertible.ToDouble(IFormatProvider)

Boolean クラスは、プリミティブ型 boolean の値を オブジェクトにラップします。

IConvertible.ToInt16(IFormatProvider)

Boolean クラスは、プリミティブ型 boolean の値を オブジェクトにラップします。

IConvertible.ToInt32(IFormatProvider)

Boolean クラスは、プリミティブ型 boolean の値を オブジェクトにラップします。

IConvertible.ToInt64(IFormatProvider)

Boolean クラスは、プリミティブ型 boolean の値を オブジェクトにラップします。

IConvertible.ToSByte(IFormatProvider)

Boolean クラスは、プリミティブ型 boolean の値を オブジェクトにラップします。

IConvertible.ToSingle(IFormatProvider)

Boolean クラスは、プリミティブ型 boolean の値を オブジェクトにラップします。

IConvertible.ToString(IFormatProvider)

Boolean クラスは、プリミティブ型 boolean の値を オブジェクトにラップします。

IConvertible.ToType(Type, IFormatProvider)

Boolean クラスは、プリミティブ型 boolean の値を オブジェクトにラップします。

IConvertible.ToUInt16(IFormatProvider)

Boolean クラスは、プリミティブ型 boolean の値を オブジェクトにラップします。

IConvertible.ToUInt32(IFormatProvider)

Boolean クラスは、プリミティブ型 boolean の値を オブジェクトにラップします。

IConvertible.ToUInt64(IFormatProvider)

Boolean クラスは、プリミティブ型 boolean の値を オブジェクトにラップします。

IJavaPeerable.Disposed()

Boolean クラスは、プリミティブ型 boolean の値を オブジェクトにラップします。

(継承元 Object)
IJavaPeerable.DisposeUnlessReferenced()

Boolean クラスは、プリミティブ型 boolean の値を オブジェクトにラップします。

(継承元 Object)
IJavaPeerable.Finalized()

Boolean クラスは、プリミティブ型 boolean の値を オブジェクトにラップします。

(継承元 Object)
IJavaPeerable.JniManagedPeerState

Boolean クラスは、プリミティブ型 boolean の値を オブジェクトにラップします。

(継承元 Object)
IJavaPeerable.SetJniIdentityHashCode(Int32)

Boolean クラスは、プリミティブ型 boolean の値を オブジェクトにラップします。

(継承元 Object)
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates)

Boolean クラスは、プリミティブ型 boolean の値を オブジェクトにラップします。

(継承元 Object)
IJavaPeerable.SetPeerReference(JniObjectReference)

Boolean クラスは、プリミティブ型 boolean の値を オブジェクトにラップします。

(継承元 Object)

拡張メソッド

JavaCast<TResult>(IJavaObject)

Android ランタイムチェック型変換を実行します。

JavaCast<TResult>(IJavaObject)

Boolean クラスは、プリミティブ型 boolean の値を オブジェクトにラップします。

GetJniTypeName(IJavaPeerable)

Boolean クラスは、プリミティブ型 boolean の値を オブジェクトにラップします。

適用対象