Package com.sun.jna.platform.win32
Klasse WinDef.BOOL
java.lang.Object
java.lang.Number
com.sun.jna.IntegerType
com.sun.jna.platform.win32.WinDef.BOOL
- Alle implementierten Schnittstellen:
NativeMapped
,Serializable
,Comparable<WinDef.BOOL>
- Umschließende Schnittstelle:
WinDef
The Class BOOL.
- Siehe auch:
-
Feldübersicht
Felder -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungboolean
static int
compare
(boolean v1, boolean v2) static int
compare
(WinDef.BOOL v1, boolean v2) Compares a BOOL value with along
one.static int
compare
(WinDef.BOOL v1, WinDef.BOOL v2) Compares 2 BOOL values - - Note: anull
value is considered greater than any non-null
one (i.e.,null
values are "pushed" to the end of a sorted array / list of values)int
compareTo
(WinDef.BOOL other) toString()
Von Klasse geerbte Methoden com.sun.jna.IntegerType
compare, compare, compare, doubleValue, equals, floatValue, fromNative, hashCode, intValue, longValue, nativeType, setValue, toNative
Von Klasse geerbte Methoden java.lang.Number
byteValue, shortValue
-
Felddetails
-
SIZE
public static final int SIZEThe Constant SIZE.- Siehe auch:
-
-
Konstruktordetails
-
BOOL
public BOOL()Instantiates a new bool. -
BOOL
public BOOL(boolean value) Instantiates a new bool.- Parameter:
value
- the value
-
BOOL
public BOOL(long value) Instantiates a new bool.- Parameter:
value
- the value
-
-
Methodendetails
-
booleanValue
public boolean booleanValue() -
toString
- Setzt außer Kraft:
toString
in KlasseIntegerType
-
compareTo
- Angegeben von:
compareTo
in SchnittstelleComparable<WinDef.BOOL>
-
compare
Compares 2 BOOL values - - Note: anull
value is considered greater than any non-null
one (i.e.,null
values are "pushed" to the end of a sorted array / list of values)- Parameter:
v1
- The 1st valuev2
- The 2nd value- Gibt zurück:
- 0 if values are equal (including if both are
null
, negative if 1st value less than 2nd one, positive otherwise. Note: the comparison uses thebooleanValue()
. - Siehe auch:
-
compare
Compares a BOOL value with along
one. Note: if the BOOL value isnull
then it is consider greater than anylong
value.- Parameter:
v1
- TheWinDef.BOOL
valuev2
- Theboolean
value- Gibt zurück:
- 0 if values are equal, negative if 1st value less than 2nd one,
positive otherwise. Note: the comparison uses the
IntegerType.longValue()
. - Siehe auch:
-
compare
public static int compare(boolean v1, boolean v2)
-