Package com.sun.jna.platform.win32
Class WinDef.BOOL
- java.lang.Object
- 
- java.lang.Number
- 
- com.sun.jna.IntegerType
- 
- com.sun.jna.platform.win32.WinDef.BOOL
 
 
 
- 
- All Implemented Interfaces:
- NativeMapped,- java.io.Serializable,- java.lang.Comparable<WinDef.BOOL>
 - Enclosing interface:
- WinDef
 
 public static class WinDef.BOOL extends IntegerType implements java.lang.Comparable<WinDef.BOOL> The Class BOOL.- See Also:
- Serialized Form
 
- 
- 
Field SummaryFields Modifier and Type Field Description static intSIZEThe Constant SIZE.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanbooleanValue()static intcompare(boolean v1, boolean v2)static intcompare(WinDef.BOOL v1, boolean v2)Compares a BOOL value with alongone.static intcompare(WinDef.BOOL v1, WinDef.BOOL v2)Compares 2 BOOL values - - Note: anullvalue is considered greater than any non-nullone (i.e.,nullvalues are "pushed" to the end of a sorted array / list of values)intcompareTo(WinDef.BOOL other)java.lang.StringtoString()- 
Methods inherited from class com.sun.jna.IntegerTypecompare, compare, compare, doubleValue, equals, floatValue, fromNative, hashCode, intValue, longValue, nativeType, setValue, toNative
 
- 
 
- 
- 
- 
Field Detail- 
SIZEpublic static final int SIZE The Constant SIZE.- See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
booleanValuepublic boolean booleanValue() 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- IntegerType
 
 - 
compareTopublic int compareTo(WinDef.BOOL other) - Specified by:
- compareToin interface- java.lang.Comparable<WinDef.BOOL>
 
 - 
comparepublic static int compare(WinDef.BOOL v1, WinDef.BOOL v2) Compares 2 BOOL values - - Note: anullvalue is considered greater than any non-nullone (i.e.,nullvalues are "pushed" to the end of a sorted array / list of values)- Parameters:
- v1- The 1st value
- v2- The 2nd value
- Returns:
- 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().
- See Also:
- compare(boolean, boolean)
 
 - 
comparepublic static int compare(WinDef.BOOL v1, boolean v2) Compares a BOOL value with alongone. Note: if the BOOL value isnullthen it is consider greater than anylongvalue.- Parameters:
- v1- The- WinDef.BOOLvalue
- v2- The- booleanvalue
- Returns:
- 0 if values are equal, negative if 1st value less than 2nd one,
 positive otherwise. Note: the comparison uses the IntegerType.longValue().
- See Also:
- compare(boolean, boolean)
 
 - 
comparepublic static int compare(boolean v1, boolean v2)
 
- 
 
-