Package com.sun.jna.platform.mac
Klasse CoreFoundation.CFDictionaryRef
java.lang.Object
com.sun.jna.PointerType
com.sun.jna.platform.mac.CoreFoundation.CFTypeRef
com.sun.jna.platform.mac.CoreFoundation.CFDictionaryRef
- Alle implementierten Schnittstellen:
NativeMapped
- Bekannte direkte Unterklassen:
CoreFoundation.CFMutableDictionaryRef
- Umschließende Schnittstelle:
CoreFoundation
A reference to an immutable
CFDictionary object.-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypKlasseBeschreibungstatic classPlaceholder for a reference to aCFDictionaryobject. -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibunglonggetCount()Convenience method forCoreFoundation.CFDictionaryGetCount(CFDictionaryRef)on this object.getValue(PointerType key) Convenience method forCoreFoundation.CFDictionaryGetValue(com.sun.jna.platform.mac.CoreFoundation.CFDictionaryRef, com.sun.jna.PointerType)on this object.booleangetValueIfPresent(PointerType key, PointerByReference value) Von Klasse geerbte Methoden com.sun.jna.platform.mac.CoreFoundation.CFTypeRef
getTypeID, isTypeID, release, retainVon Klasse geerbte Methoden com.sun.jna.PointerType
equals, fromNative, getPointer, hashCode, nativeType, setPointer, toNative, toString
-
Konstruktordetails
-
CFDictionaryRef
public CFDictionaryRef() -
CFDictionaryRef
-
-
Methodendetails
-
getValue
Convenience method forCoreFoundation.CFDictionaryGetValue(com.sun.jna.platform.mac.CoreFoundation.CFDictionaryRef, com.sun.jna.PointerType)on this object.- Parameter:
key- The key for which to find a match.- Gibt zurück:
- The value associated with key, or
nullif no key-value pair matching key exists.
-
getCount
public long getCount()Convenience method forCoreFoundation.CFDictionaryGetCount(CFDictionaryRef)on this object.- Gibt zurück:
- The number of key-value pairs in theDict.
-
getValueIfPresent
Convenience method forCoreFoundation.CFDictionaryGetValueIfPresent(com.sun.jna.platform.mac.CoreFoundation.CFDictionaryRef, com.sun.jna.PointerType, com.sun.jna.ptr.PointerByReference)on this object.- Parameter:
key- The key for which to find a match.value- A pointer to memory which, on return, is filled with the pointer-sized value if a matching key is found.- Gibt zurück:
trueif a matching key was found, otherwisefalse
-