Package oshi.jna.platform.unix
Class Kstat2.Kstat2NV
java.lang.Object
com.sun.jna.Structure
oshi.jna.platform.unix.Kstat2.Kstat2NV
- Enclosing interface:
- Kstat2
@FieldOrder({"name","type","kind","flags","data"})
public static class Kstat2.Kstat2NV
extends com.sun.jna.Structure
Immutable Name/Value pair.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class com.sun.jna.Structure
com.sun.jna.Structure.ByReference, com.sun.jna.Structure.ByValue, com.sun.jna.Structure.FieldOrder, com.sun.jna.Structure.StructField -
Field Summary
FieldsModifier and TypeFieldDescriptionshortbytebyteFields inherited from class com.sun.jna.Structure
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.sun.jna.Structure
allocateMemory, 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, readField, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setStringEncoding, size, sortFields, toArray, toArray, toString, toString, useMemory, useMemory, write, writeField, writeField, writeField
-
Field Details
-
name
-
type
public byte type -
kind
public byte kind -
flags
public short flags -
data
-
-
Constructor Details
-
Kstat2NV
public Kstat2NV() -
Kstat2NV
public Kstat2NV(com.sun.jna.Pointer p)
-
-
Method Details
-
read
public void read()- Overrides:
readin classcom.sun.jna.Structure
-