Klasse Kstat2.Kstat2Map
java.lang.Object
com.sun.jna.PointerType
com.sun.jna.platform.unix.solaris.Kstat2.Kstat2Map
- Alle implementierten Schnittstellen:
NativeMapped
- Umschließende Schnittstelle:
Kstat2
Opaque kstat map handle.
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungConvenience method forKstat2.kstat2_map_get(Kstat2Map, String, PointerByReference)
that retrieves the name/value (nv) pair identified by the supplied name and returns the value as an object.Convenience method forKstat2.kstat2_map_get(Kstat2Map, String, PointerByReference)
that retrieves the name/value (nv) pair identified by the supplied name.Von Klasse geerbte Methoden com.sun.jna.PointerType
equals, fromNative, getPointer, hashCode, nativeType, setPointer, toNative, toString
-
Konstruktordetails
-
Kstat2Map
public Kstat2Map() -
Kstat2Map
-
-
Methodendetails
-
mapGet
Convenience method forKstat2.kstat2_map_get(Kstat2Map, String, PointerByReference)
that retrieves the name/value (nv) pair identified by the supplied name.- Parameter:
name
- The uri of the data to retrieve.- Gibt zurück:
- The name/value data.
-
getValue
Convenience method forKstat2.kstat2_map_get(Kstat2Map, String, PointerByReference)
that retrieves the name/value (nv) pair identified by the supplied name and returns the value as an object.- Parameter:
name
- The name of the data to retrieve.- Gibt zurück:
- If the value is of type
Kstat2.KSTAT2_NVVT_MAP
, aKstat2.Kstat2Map
is returned.If the value is of type
Kstat2.KSTAT2_NVVT_INT
, aUngültige Referenz
long
If the value is of type
Kstat2.KSTAT2_NVVT_INTS
, an array ofUngültige Referenz
long
If the value is of type
Kstat2.KSTAT2_NVVT_STR
, aString
is returned.If the value is of type
Kstat2.KSTAT2_NVVT_STRS
, an array ofString
is returned.If no value exists for this property (error or invalid data
Kstat2.KSTAT2_NVF_INVAL
), returnsnull
.
-