Package com.sun.jna.platform.mac
Class CoreFoundation.CFDictionaryRef
java.lang.Object
com.sun.jna.PointerType
com.sun.jna.platform.mac.CoreFoundation.CFTypeRef
com.sun.jna.platform.mac.CoreFoundation.CFDictionaryRef
- All Implemented Interfaces:
- NativeMapped
- Direct Known Subclasses:
- CoreFoundation.CFMutableDictionaryRef
- Enclosing interface:
- CoreFoundation
A reference to an immutable 
CFDictionary object.- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classPlaceholder for a reference to aCFDictionaryobject.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionlonggetCount()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) Methods inherited from class com.sun.jna.platform.mac.CoreFoundation.CFTypeRefgetTypeID, isTypeID, release, retainMethods inherited from class com.sun.jna.PointerTypeequals, fromNative, getPointer, hashCode, nativeType, setPointer, toNative, toString
- 
Constructor Details- 
CFDictionaryRefpublic CFDictionaryRef()
- 
CFDictionaryRef
 
- 
- 
Method Details- 
getValueConvenience method forCoreFoundation.CFDictionaryGetValue(com.sun.jna.platform.mac.CoreFoundation.CFDictionaryRef, com.sun.jna.PointerType)on this object.- Parameters:
- key- The key for which to find a match.
- Returns:
- The value associated with key, or nullif no key-value pair matching key exists.
 
- 
getCountpublic long getCount()Convenience method forCoreFoundation.CFDictionaryGetCount(CFDictionaryRef)on this object.- Returns:
- The number of key-value pairs in theDict.
 
- 
getValueIfPresentConvenience method forCoreFoundation.CFDictionaryGetValueIfPresent(com.sun.jna.platform.mac.CoreFoundation.CFDictionaryRef, com.sun.jna.PointerType, com.sun.jna.ptr.PointerByReference)on this object.- Parameters:
- 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.
- Returns:
- trueif a matching key was found, otherwise- false
 
 
-