public static class WinDef.BOOL extends IntegerType implements java.lang.Comparable<WinDef.BOOL>
| Modifier and Type | Field and Description |
|---|---|
static int |
SIZE
The Constant SIZE.
|
| Constructor and Description |
|---|
BOOL()
Instantiates a new bool.
|
BOOL(boolean value)
Instantiates a new bool.
|
BOOL(long value)
Instantiates a new bool.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
booleanValue() |
static int |
compare(boolean v1,
boolean v2) |
static int |
compare(WinDef.BOOL v1,
boolean v2)
Compares a BOOL value with a
long one. |
static int |
compare(WinDef.BOOL v1,
WinDef.BOOL v2)
Compares 2 BOOL values - - Note: a
null
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) |
java.lang.String |
toString() |
doubleValue, equals, floatValue, fromNative, hashCode, intValue, longValue, nativeType, setValue, toNativepublic static final int SIZE
public BOOL()
public BOOL(boolean value)
value - the valuepublic BOOL(long value)
value - the valuepublic boolean booleanValue()
public java.lang.String toString()
toString in class IntegerTypepublic int compareTo(WinDef.BOOL other)
compareTo in interface java.lang.Comparable<WinDef.BOOL>public static int compare(WinDef.BOOL v1, WinDef.BOOL v2)
null
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)v1 - The 1st valuev2 - The 2nd valuenull,
negative if 1st value less than 2nd one, positive otherwise. Note:
the comparison uses the booleanValue().compare(boolean, boolean)public static int compare(WinDef.BOOL v1, boolean v2)
long one. Note: if
the BOOL value is null then it is consider greater
than any long value.v1 - The WinDef.BOOL valuev2 - The boolean valueIntegerType.longValue().compare(boolean, boolean)public static int compare(boolean v1,
boolean v2)