Package com.sun.jna.platform.win32
Class WinNT.LARGE_INTEGER
- java.lang.Object
- 
- com.sun.jna.Structure
- 
- com.sun.jna.platform.win32.WinNT.LARGE_INTEGER
 
 
- 
- All Implemented Interfaces:
- java.lang.Comparable<WinNT.LARGE_INTEGER>
 - Direct Known Subclasses:
- WinNT.LARGE_INTEGER.ByReference
 - Enclosing interface:
- WinNT
 
 @FieldOrder("u") public static class WinNT.LARGE_INTEGER extends Structure implements java.lang.Comparable<WinNT.LARGE_INTEGER> A 64-bit integer;
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classWinNT.LARGE_INTEGER.ByReferencestatic classWinNT.LARGE_INTEGER.LowHighstatic classWinNT.LARGE_INTEGER.UNION- 
Nested classes/interfaces inherited from class com.sun.jna.StructureStructure.ByValue, Structure.FieldOrder, Structure.StructField
 
- 
 - 
Field SummaryFields Modifier and Type Field Description WinNT.LARGE_INTEGER.UNIONu- 
Fields inherited from class com.sun.jna.StructureALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
 
- 
 - 
Constructor SummaryConstructors Constructor Description LARGE_INTEGER()LARGE_INTEGER(long value)
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static intcompare(WinNT.LARGE_INTEGER v1, long v2)Compares a LARGE_INTEGER value with alongone.static intcompare(WinNT.LARGE_INTEGER v1, WinNT.LARGE_INTEGER v2)Compares 2 LARGE_INTEGER 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(WinNT.LARGE_INTEGER other)WinDef.DWORDgetHigh()High DWORD.WinDef.DWORDgetLow()Low DWORD.longgetValue()64-bit value.java.lang.StringtoString()Ifjna.dump_memoryis true, will include a native memory dump of the Structure's backing memory.- 
Methods inherited from class com.sun.jna.StructureallocateMemory, allocateMemory, autoAllocate, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, calculateSize, clear, createFieldsOrder, createFieldsOrder, createFieldsOrder, createFieldsOrder, dataEquals, dataEquals, ensureAllocated, equals, fieldOffset, getAutoRead, getAutoWrite, getFieldList, getFieldOrder, getFields, getNativeAlignment, getNativeSize, getNativeSize, getPointer, getStringEncoding, getStructAlignment, hashCode, newInstance, newInstance, read, readField, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setStringEncoding, size, sortFields, toArray, toArray, toString, useMemory, useMemory, write, writeField, writeField, writeField
 
- 
 
- 
- 
- 
Field Detail- 
upublic WinNT.LARGE_INTEGER.UNION u 
 
- 
 - 
Method Detail- 
getLowpublic WinDef.DWORD getLow() Low DWORD.- Returns:
- Low DWORD value
 
 - 
getHighpublic WinDef.DWORD getHigh() High DWORD.- Returns:
- High DWORD value
 
 - 
getValuepublic long getValue() 64-bit value.- Returns:
- The 64-bit value.
 
 - 
compareTopublic int compareTo(WinNT.LARGE_INTEGER other) - Specified by:
- compareToin interface- java.lang.Comparable<WinNT.LARGE_INTEGER>
 
 - 
toStringpublic java.lang.String toString() Description copied from class:StructureIfjna.dump_memoryis true, will include a native memory dump of the Structure's backing memory.
 - 
comparepublic static int compare(WinNT.LARGE_INTEGER v1, WinNT.LARGE_INTEGER v2) Compares 2 LARGE_INTEGER 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 thegetValue().
- See Also:
- IntegerType.compare(long, long)
 
 - 
comparepublic static int compare(WinNT.LARGE_INTEGER v1, long v2) Compares a LARGE_INTEGER value with alongone. Note: if the LARGE_INTEGER value isnullthen it is consider greater than anylongvalue.- Parameters:
- v1- The- WinNT.LARGE_INTEGERvalue
- v2- The- longvalue
- Returns:
- 0 if values are equal, negative if 1st value less than 2nd one,
 positive otherwise. Note: the comparison uses the getValue().
- See Also:
- IntegerType.compare(long, long)
 
 
- 
 
-