Package apple.foundation
Class NSDictionary<_KeyType,_ObjectType>
- java.lang.Object
-
- org.moe.natj.general.NativeObject
-
- org.moe.natj.objc.ObjCObject
-
- apple.NSObject
-
- apple.foundation.NSDictionary<_KeyType,_ObjectType>
-
- All Implemented Interfaces:
NSFetchRequestResult,NSCoding,NSCopying,NSFastEnumeration,NSMutableCopying,NSSecureCoding,NSObject,java.util.Map<_KeyType,_ObjectType>
- Direct Known Subclasses:
NSMutableDictionary
public class NSDictionary<_KeyType,_ObjectType> extends NSObject implements NSCopying, NSMutableCopying, NSSecureCoding, NSFastEnumeration, NSFetchRequestResult, java.util.Map<_KeyType,_ObjectType>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceNSDictionary.Block_enumerateKeysAndObjectsUsingBlockstatic interfaceNSDictionary.Block_enumerateKeysAndObjectsWithOptionsUsingBlockstatic interfaceNSDictionary.Block_keysOfEntriesPassingTeststatic interfaceNSDictionary.Block_keysOfEntriesWithOptionsPassingTeststatic interfaceNSDictionary.Block_keysSortedByValueUsingComparatorstatic interfaceNSDictionary.Block_keysSortedByValueWithOptionsUsingComparator-
Nested classes/interfaces inherited from class apple.NSObject
NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedNSDictionary(org.moe.natj.general.Pointer peer)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean_supportsSecureCoding()This property must return YES on all classes that allow secure coding.static booleanaccessInstanceVariablesDirectly()NSArray<_KeyType>allKeys()NSArray<_KeyType>allKeysForObject(_ObjectType anObject)static NSDictionary<?,?>alloc()static java.lang.ObjectallocWithZone(org.moe.natj.general.ptr.VoidPtr zone)NSArray<_ObjectType>allValues()static booleanautomaticallyNotifiesObserversForKey(java.lang.String key)static voidcancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)static voidcancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget, org.moe.natj.objc.SEL aSelector, java.lang.Object anArgument)static NSArray<java.lang.String>classFallbacksForKeyedArchiver()static org.moe.natj.objc.ClassclassForKeyedUnarchiver()voidclear()booleancontainsKey(java.lang.Object key)booleancontainsValue(java.lang.Object value)java.lang.ObjectcopyWithZone(org.moe.natj.general.ptr.VoidPtr zone)longcount()longcountByEnumeratingWithStateObjectsCount(org.moe.natj.general.ptr.VoidPtr state, org.moe.natj.general.ptr.Ptr<org.moe.natj.objc.ObjCObject> buffer, long len)static java.lang.StringdebugDescription_static()java.lang.Stringdescription()java.lang.StringdescriptionInStringsFileFormat()java.lang.StringdescriptionWithLocale(java.lang.Object locale)java.lang.StringdescriptionWithLocaleIndent(java.lang.Object locale, long level)static <_KeyType,_ObjectType>
NSDictionary<?,?>dictionary()static <_KeyType,_ObjectType>
NSDictionary<_KeyType,_ObjectType>dictionaryWithContentsOfFile(java.lang.String path)These methods are deprecated, and will be marked with API_DEPRECATED in a subsequent release.static <_KeyType,_ObjectType>
NSDictionary<_KeyType,_ObjectType>dictionaryWithContentsOfURL(NSURL url)static <_KeyType,_ObjectType>
NSDictionary<java.lang.String,_ObjectType>dictionaryWithContentsOfURLError(NSURL url, org.moe.natj.general.ptr.Ptr<NSError> error)Reads dictionary stored in NSPropertyList format from the specified url.static <_KeyType,_ObjectType>
NSDictionary<?,?>dictionaryWithDictionary(NSDictionary<_KeyType,_ObjectType> dict)static <_KeyType,_ObjectType>
NSDictionary<?,?>dictionaryWithObjectForKey(_ObjectType object, java.lang.Object key)static <_KeyType,_ObjectType>
NSDictionary<?,?>dictionaryWithObjectsAndKeys(java.lang.Object firstObject, java.lang.Object... varargs)static <_KeyType,_ObjectType>
NSDictionary<?,?>dictionaryWithObjectsForKeys(NSArray<_ObjectType> objects, NSArray<?> keys)static <_KeyType,_ObjectType>
NSDictionary<?,?>dictionaryWithObjectsForKeysCount(org.moe.natj.general.ptr.Ptr<_ObjectType> objects, org.moe.natj.general.ptr.Ptr<org.moe.natj.objc.ObjCObject> keys, long cnt)voidencodeWithCoder(NSCoder coder)java.util.Set<java.util.Map.Entry<_KeyType,_ObjectType>>entrySet()voidenumerateKeysAndObjectsUsingBlock(NSDictionary.Block_enumerateKeysAndObjectsUsingBlock block)voidenumerateKeysAndObjectsWithOptionsUsingBlock(long opts, NSDictionary.Block_enumerateKeysAndObjectsWithOptionsUsingBlock block)booleanequals(java.lang.Object object)NSDatefileCreationDate()booleanfileExtensionHidden()NSNumberfileGroupOwnerAccountID()java.lang.StringfileGroupOwnerAccountName()intfileHFSCreatorCode()intfileHFSTypeCode()booleanfileIsAppendOnly()booleanfileIsImmutable()NSDatefileModificationDate()NSNumberfileOwnerAccountID()java.lang.StringfileOwnerAccountName()longfilePosixPermissions()longfileSize()longfileSystemFileNumber()longfileSystemNumber()java.lang.StringfileType()_ObjectTypeget(java.lang.Object key)voidgetObjectsAndKeys(org.moe.natj.general.ptr.Ptr<org.moe.natj.objc.ObjCObject> objects, org.moe.natj.general.ptr.Ptr<org.moe.natj.objc.ObjCObject> keys)This method is unsafe because it could potentially cause buffer overruns.voidgetObjectsAndKeysCount(org.moe.natj.general.ptr.Ptr<org.moe.natj.objc.ObjCObject> objects, org.moe.natj.general.ptr.Ptr<org.moe.natj.objc.ObjCObject> keys, long count)count refers to the number of elements in the dictionarystatic longhash_static()inthashCode()NSDictionary<?,?>init()NSDictionary<?,?>initWithCoder(NSCoder coder)NS_DESIGNATED_INITIALIZERNSDictionary<_KeyType,_ObjectType>initWithContentsOfFile(java.lang.String path)NSDictionary<_KeyType,_ObjectType>initWithContentsOfURL(NSURL url)NSDictionary<java.lang.String,_ObjectType>initWithContentsOfURLError(NSURL url, org.moe.natj.general.ptr.Ptr<NSError> error)Reads dictionary stored in NSPropertyList format from the specified url.NSDictionary<?,?>initWithDictionary(NSDictionary<_KeyType,_ObjectType> otherDictionary)NSDictionary<?,?>initWithDictionaryCopyItems(NSDictionary<_KeyType,_ObjectType> otherDictionary, boolean flag)NSDictionary<?,?>initWithObjectsAndKeys(java.lang.Object firstObject, java.lang.Object... varargs)NSDictionary<?,?>initWithObjectsForKeys(NSArray<_ObjectType> objects, NSArray<?> keys)NSDictionary<?,?>initWithObjectsForKeysCount(org.moe.natj.general.ptr.Ptr<_ObjectType> objects, org.moe.natj.general.ptr.Ptr<org.moe.natj.objc.ObjCObject> keys, long cnt)static NSObject.Function_instanceMethodForSelector_retinstanceMethodForSelector(org.moe.natj.objc.SEL aSelector)static NSMethodSignatureinstanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)static booleaninstancesRespondToSelector(org.moe.natj.objc.SEL aSelector)booleanisEmpty()booleanisEqualToDictionary(NSDictionary<_KeyType,_ObjectType> otherDictionary)static booleanisSubclassOfClass(org.moe.natj.objc.Class aClass)NSEnumerator<_KeyType>keyEnumerator()static NSSet<java.lang.String>keyPathsForValuesAffectingValueForKey(java.lang.String key)java.util.Set<_KeyType>keySet()NSSet<_KeyType>keysOfEntriesPassingTest(NSDictionary.Block_keysOfEntriesPassingTest predicate)NSSet<_KeyType>keysOfEntriesWithOptionsPassingTest(long opts, NSDictionary.Block_keysOfEntriesWithOptionsPassingTest predicate)NSArray<_KeyType>keysSortedByValueUsingComparator(NSDictionary.Block_keysSortedByValueUsingComparator cmptr)NSArray<_KeyType>keysSortedByValueUsingSelector(org.moe.natj.objc.SEL comparator)NSArray<_KeyType>keysSortedByValueWithOptionsUsingComparator(long opts, NSDictionary.Block_keysSortedByValueWithOptionsUsingComparator cmptr)java.lang.ObjectmutableCopyWithZone(org.moe.natj.general.ptr.VoidPtr zone)static java.lang.Objectnew_objc()NSEnumerator<_ObjectType>objectEnumerator()_ObjectTypeobjectForKey(_KeyType aKey)_ObjectTypeobjectForKeyedSubscript(_KeyType key)NSArray<_ObjectType>objectsForKeysNotFoundMarker(NSArray<_KeyType> keys, _ObjectType marker)_ObjectTypeput(_KeyType key, _ObjectType value)voidputAll(java.util.Map<? extends _KeyType,? extends _ObjectType> arg0)_ObjectTyperemove(java.lang.Object key)static booleanresolveClassMethod(org.moe.natj.objc.SEL sel)static booleanresolveInstanceMethod(org.moe.natj.objc.SEL sel)static voidsetVersion_static(long aVersion)static <_KeyType,_ObjectType>
java.lang.ObjectsharedKeySetForKeys(NSArray<?> keys)Use this method to create a key set to pass to +dictionaryWithSharedKeySet:.intsize()static org.moe.natj.objc.Classsuperclass_static()static <_KeyType,_ObjectType>
booleansupportsSecureCoding()_ObjectTypevalueForKey(java.lang.String key)Return the result of sending -objectForKey: to the receiver.java.util.Collection<_ObjectType>values()static longversion_static()booleanwriteToFileAtomically(java.lang.String path, boolean useAuxiliaryFile)booleanwriteToURLAtomically(NSURL url, boolean atomically)the atomically flag is ignored if url of a type that cannot be written atomically.booleanwriteToURLError(NSURL url, org.moe.natj.general.ptr.Ptr<NSError> error)Serializes this instance to the specified URL in the NSPropertyList format (using NSPropertyListXMLFormat_v1_0).-
Methods inherited from class apple.NSObject
accessibilityActivate, accessibilityActivationPoint, accessibilityAssistiveTechnologyFocusedIdentifiers, accessibilityAttributedHint, accessibilityAttributedLabel, accessibilityAttributedUserInputLabels, accessibilityAttributedValue, accessibilityContainerType, accessibilityCustomActions, accessibilityCustomRotors, accessibilityDecrement, accessibilityDragSourceDescriptors, accessibilityDropPointDescriptors, accessibilityElementAtIndex, accessibilityElementCount, accessibilityElementDidBecomeFocused, accessibilityElementDidLoseFocus, accessibilityElementIsFocused, accessibilityElements, accessibilityElementsHidden, accessibilityFrame, accessibilityHint, accessibilityIncrement, accessibilityLabel, accessibilityLanguage, accessibilityNavigationStyle, accessibilityPath, accessibilityPerformEscape, accessibilityPerformMagicTap, accessibilityRespondsToUserInteraction, accessibilityScroll, accessibilityTextualContext, accessibilityTraits, accessibilityUserInputLabels, accessibilityValue, accessibilityViewIsModal, addObserverForKeyPathOptionsContext, attemptRecoveryFromErrorOptionIndex, attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo, autoContentAccessingProxy, awakeAfterUsingCoder, awakeFromNib, class_objc, classForCoder, classForKeyedArchiver, copy, dealloc, debugDescription, description_static, dictionaryWithValuesForKeys, didChangeValueForKey, didChangeValueForKeyWithSetMutationUsingObjects, didChangeValuesAtIndexesForKey, doesNotRecognizeSelector, fileManagerShouldProceedAfterError, fileManagerWillProcessPath, finalize_objc, forwardingTargetForSelector, forwardInvocation, hash, indexOfAccessibilityElement, isAccessibilityElement, isEqual, isKindOfClass, isMemberOfClass, isProxy, methodForSelector, methodSignatureForSelector, mutableArrayValueForKey, mutableArrayValueForKeyPath, mutableCopy, mutableOrderedSetValueForKey, mutableOrderedSetValueForKeyPath, mutableSetValueForKey, mutableSetValueForKeyPath, observationInfo, observeValueForKeyPathOfObjectChangeContext, performSelector, performSelectorInBackgroundWithObject, performSelectorOnMainThreadWithObjectWaitUntilDone, performSelectorOnMainThreadWithObjectWaitUntilDoneModes, performSelectorOnThreadWithObjectWaitUntilDone, performSelectorOnThreadWithObjectWaitUntilDoneModes, performSelectorWithObject, performSelectorWithObjectAfterDelay, performSelectorWithObjectAfterDelayInModes, performSelectorWithObjectWithObject, prepareForInterfaceBuilder, provideImageDataBytesPerRowOrigin_Size_UserInfo, removeObserverForKeyPath, removeObserverForKeyPathContext, replacementObjectForCoder, replacementObjectForKeyedArchiver, respondsToSelector, self, setAccessibilityActivationPoint, setAccessibilityAttributedHint, setAccessibilityAttributedLabel, setAccessibilityAttributedUserInputLabels, setAccessibilityAttributedValue, setAccessibilityContainerType, setAccessibilityCustomActions, setAccessibilityCustomRotors, setAccessibilityDragSourceDescriptors, setAccessibilityDropPointDescriptors, setAccessibilityElements, setAccessibilityElementsHidden, setAccessibilityFrame, setAccessibilityHint, setAccessibilityLabel, setAccessibilityLanguage, setAccessibilityNavigationStyle, setAccessibilityPath, setAccessibilityRespondsToUserInteraction, setAccessibilityTextualContext, setAccessibilityTraits, setAccessibilityUserInputLabels, setAccessibilityValue, setAccessibilityViewIsModal, setIsAccessibilityElement, setNilValueForKey, setObservationInfo, setShouldGroupAccessibilityChildren, setValueForKey, setValueForKeyPath, setValueForUndefinedKey, setValuesForKeysWithDictionary, shouldGroupAccessibilityChildren, superclass, validateValueForKeyError, validateValueForKeyPathError, valueForKeyPath, valueForUndefinedKey, willChangeValueForKey, willChangeValueForKeyWithSetMutationUsingObjects, willChangeValuesAtIndexesForKey
-
-
-
-
Method Detail
-
accessInstanceVariablesDirectly
public static boolean accessInstanceVariablesDirectly()
-
alloc
public static NSDictionary<?,?> alloc()
-
allocWithZone
public static java.lang.Object allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
-
automaticallyNotifiesObserversForKey
public static boolean automaticallyNotifiesObserversForKey(java.lang.String key)
-
cancelPreviousPerformRequestsWithTarget
public static void cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)
-
cancelPreviousPerformRequestsWithTargetSelectorObject
public static void cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget, org.moe.natj.objc.SEL aSelector, java.lang.Object anArgument)
-
classFallbacksForKeyedArchiver
public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
-
classForKeyedUnarchiver
public static org.moe.natj.objc.Class classForKeyedUnarchiver()
-
debugDescription_static
public static java.lang.String debugDescription_static()
-
dictionary
public static <_KeyType,_ObjectType> NSDictionary<?,?> dictionary()
-
dictionaryWithContentsOfFile
public static <_KeyType,_ObjectType> NSDictionary<_KeyType,_ObjectType> dictionaryWithContentsOfFile(java.lang.String path)
These methods are deprecated, and will be marked with API_DEPRECATED in a subsequent release. Use the variants that use errors instead.
-
dictionaryWithContentsOfURL
public static <_KeyType,_ObjectType> NSDictionary<_KeyType,_ObjectType> dictionaryWithContentsOfURL(NSURL url)
-
dictionaryWithDictionary
public static <_KeyType,_ObjectType> NSDictionary<?,?> dictionaryWithDictionary(NSDictionary<_KeyType,_ObjectType> dict)
-
dictionaryWithObjectForKey
public static <_KeyType,_ObjectType> NSDictionary<?,?> dictionaryWithObjectForKey(_ObjectType object, java.lang.Object key)
-
dictionaryWithObjectsForKeys
public static <_KeyType,_ObjectType> NSDictionary<?,?> dictionaryWithObjectsForKeys(NSArray<_ObjectType> objects, NSArray<?> keys)
-
dictionaryWithObjectsForKeysCount
public static <_KeyType,_ObjectType> NSDictionary<?,?> dictionaryWithObjectsForKeysCount(org.moe.natj.general.ptr.Ptr<_ObjectType> objects, org.moe.natj.general.ptr.Ptr<org.moe.natj.objc.ObjCObject> keys, long cnt)
-
dictionaryWithObjectsAndKeys
public static <_KeyType,_ObjectType> NSDictionary<?,?> dictionaryWithObjectsAndKeys(java.lang.Object firstObject, java.lang.Object... varargs)
-
hash_static
public static long hash_static()
-
instanceMethodForSelector
public static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
-
instanceMethodSignatureForSelector
public static NSMethodSignature instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)
-
instancesRespondToSelector
public static boolean instancesRespondToSelector(org.moe.natj.objc.SEL aSelector)
-
isSubclassOfClass
public static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
-
keyPathsForValuesAffectingValueForKey
public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(java.lang.String key)
-
new_objc
public static java.lang.Object new_objc()
-
resolveClassMethod
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
-
resolveInstanceMethod
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
-
setVersion_static
public static void setVersion_static(long aVersion)
-
sharedKeySetForKeys
public static <_KeyType,_ObjectType> java.lang.Object sharedKeySetForKeys(NSArray<?> keys)
Use this method to create a key set to pass to +dictionaryWithSharedKeySet:. The keys are copied from the array and must be copyable. If the array parameter is nil or not an NSArray, an exception is thrown. If the array of keys is empty, an empty key set is returned. The array of keys may contain duplicates, which are ignored (it is undefined which object of each duplicate pair is used). As for any usage of hashing, is recommended that the keys have a well-distributed implementation of -hash, and the hash codes must satisfy the hash/isEqual: invariant. Keys with duplicate hash codes are allowed, but will cause lower performance and increase memory usage.
-
superclass_static
public static org.moe.natj.objc.Class superclass_static()
-
supportsSecureCoding
public static <_KeyType,_ObjectType> boolean supportsSecureCoding()
-
version_static
public static long version_static()
-
allKeysForObject
public NSArray<_KeyType> allKeysForObject(_ObjectType anObject)
-
allValues
public NSArray<_ObjectType> allValues()
-
copyWithZone
public java.lang.Object copyWithZone(org.moe.natj.general.ptr.VoidPtr zone)
- Specified by:
copyWithZonein interfaceNSCopying
-
count
public long count()
-
countByEnumeratingWithStateObjectsCount
public long countByEnumeratingWithStateObjectsCount(org.moe.natj.general.ptr.VoidPtr state, org.moe.natj.general.ptr.Ptr<org.moe.natj.objc.ObjCObject> buffer, long len)- Specified by:
countByEnumeratingWithStateObjectsCountin interfaceNSFastEnumeration
-
description
public java.lang.String description()
- Specified by:
descriptionin interfaceNSObject- Overrides:
descriptionin classNSObject
-
descriptionInStringsFileFormat
public java.lang.String descriptionInStringsFileFormat()
-
descriptionWithLocale
public java.lang.String descriptionWithLocale(java.lang.Object locale)
-
descriptionWithLocaleIndent
public java.lang.String descriptionWithLocaleIndent(java.lang.Object locale, long level)
-
encodeWithCoder
public void encodeWithCoder(NSCoder coder)
- Specified by:
encodeWithCoderin interfaceNSCoding
-
enumerateKeysAndObjectsUsingBlock
public void enumerateKeysAndObjectsUsingBlock(NSDictionary.Block_enumerateKeysAndObjectsUsingBlock block)
-
enumerateKeysAndObjectsWithOptionsUsingBlock
public void enumerateKeysAndObjectsWithOptionsUsingBlock(long opts, NSDictionary.Block_enumerateKeysAndObjectsWithOptionsUsingBlock block)
-
fileCreationDate
public NSDate fileCreationDate()
-
fileExtensionHidden
public boolean fileExtensionHidden()
-
fileGroupOwnerAccountID
public NSNumber fileGroupOwnerAccountID()
-
fileGroupOwnerAccountName
public java.lang.String fileGroupOwnerAccountName()
-
fileHFSCreatorCode
public int fileHFSCreatorCode()
-
fileHFSTypeCode
public int fileHFSTypeCode()
-
fileIsAppendOnly
public boolean fileIsAppendOnly()
-
fileIsImmutable
public boolean fileIsImmutable()
-
fileModificationDate
public NSDate fileModificationDate()
-
fileOwnerAccountID
public NSNumber fileOwnerAccountID()
-
fileOwnerAccountName
public java.lang.String fileOwnerAccountName()
-
filePosixPermissions
public long filePosixPermissions()
-
fileSize
public long fileSize()
-
fileSystemFileNumber
public long fileSystemFileNumber()
-
fileSystemNumber
public long fileSystemNumber()
-
fileType
public java.lang.String fileType()
-
getObjectsAndKeys
public void getObjectsAndKeys(org.moe.natj.general.ptr.Ptr<org.moe.natj.objc.ObjCObject> objects, org.moe.natj.general.ptr.Ptr<org.moe.natj.objc.ObjCObject> keys)This method is unsafe because it could potentially cause buffer overruns. You should use -getObjects:andKeys:count:
-
getObjectsAndKeysCount
public void getObjectsAndKeysCount(org.moe.natj.general.ptr.Ptr<org.moe.natj.objc.ObjCObject> objects, org.moe.natj.general.ptr.Ptr<org.moe.natj.objc.ObjCObject> keys, long count)count refers to the number of elements in the dictionary
-
init
public NSDictionary<?,?> init()
-
initWithCoder
public NSDictionary<?,?> initWithCoder(NSCoder coder)
Description copied from interface:NSCodingNS_DESIGNATED_INITIALIZER- Specified by:
initWithCoderin interfaceNSCoding
-
initWithContentsOfFile
public NSDictionary<_KeyType,_ObjectType> initWithContentsOfFile(java.lang.String path)
-
initWithContentsOfURL
public NSDictionary<_KeyType,_ObjectType> initWithContentsOfURL(NSURL url)
-
initWithDictionary
public NSDictionary<?,?> initWithDictionary(NSDictionary<_KeyType,_ObjectType> otherDictionary)
-
initWithDictionaryCopyItems
public NSDictionary<?,?> initWithDictionaryCopyItems(NSDictionary<_KeyType,_ObjectType> otherDictionary, boolean flag)
-
initWithObjectsForKeys
public NSDictionary<?,?> initWithObjectsForKeys(NSArray<_ObjectType> objects, NSArray<?> keys)
-
initWithObjectsForKeysCount
public NSDictionary<?,?> initWithObjectsForKeysCount(org.moe.natj.general.ptr.Ptr<_ObjectType> objects, org.moe.natj.general.ptr.Ptr<org.moe.natj.objc.ObjCObject> keys, long cnt)
-
initWithObjectsAndKeys
public NSDictionary<?,?> initWithObjectsAndKeys(java.lang.Object firstObject, java.lang.Object... varargs)
-
isEqualToDictionary
public boolean isEqualToDictionary(NSDictionary<_KeyType,_ObjectType> otherDictionary)
-
keyEnumerator
public NSEnumerator<_KeyType> keyEnumerator()
-
keysOfEntriesPassingTest
public NSSet<_KeyType> keysOfEntriesPassingTest(NSDictionary.Block_keysOfEntriesPassingTest predicate)
-
keysOfEntriesWithOptionsPassingTest
public NSSet<_KeyType> keysOfEntriesWithOptionsPassingTest(long opts, NSDictionary.Block_keysOfEntriesWithOptionsPassingTest predicate)
-
keysSortedByValueUsingComparator
public NSArray<_KeyType> keysSortedByValueUsingComparator(NSDictionary.Block_keysSortedByValueUsingComparator cmptr)
-
keysSortedByValueUsingSelector
public NSArray<_KeyType> keysSortedByValueUsingSelector(org.moe.natj.objc.SEL comparator)
-
keysSortedByValueWithOptionsUsingComparator
public NSArray<_KeyType> keysSortedByValueWithOptionsUsingComparator(long opts, NSDictionary.Block_keysSortedByValueWithOptionsUsingComparator cmptr)
-
mutableCopyWithZone
public java.lang.Object mutableCopyWithZone(org.moe.natj.general.ptr.VoidPtr zone)
- Specified by:
mutableCopyWithZonein interfaceNSMutableCopying
-
objectEnumerator
public NSEnumerator<_ObjectType> objectEnumerator()
-
objectForKey
public _ObjectType objectForKey(_KeyType aKey)
-
objectForKeyedSubscript
public _ObjectType objectForKeyedSubscript(_KeyType key)
-
objectsForKeysNotFoundMarker
public NSArray<_ObjectType> objectsForKeysNotFoundMarker(NSArray<_KeyType> keys, _ObjectType marker)
-
_supportsSecureCoding
public boolean _supportsSecureCoding()
Description copied from interface:NSSecureCodingThis property must return YES on all classes that allow secure coding. Subclasses of classes that adopt NSSecureCoding and override initWithCoder: must also override this method and return YES. The Secure Coding Guide should be consulted when writing methods that decode data.- Specified by:
_supportsSecureCodingin interfaceNSSecureCoding
-
valueForKey
public _ObjectType valueForKey(java.lang.String key)
Return the result of sending -objectForKey: to the receiver.- Overrides:
valueForKeyin classNSObject
-
writeToFileAtomically
public boolean writeToFileAtomically(java.lang.String path, boolean useAuxiliaryFile)
-
writeToURLAtomically
public boolean writeToURLAtomically(NSURL url, boolean atomically)
the atomically flag is ignored if url of a type that cannot be written atomically.
-
clear
public void clear()
- Specified by:
clearin interfacejava.util.Map<_KeyType,_ObjectType>
-
containsKey
public boolean containsKey(java.lang.Object key)
- Specified by:
containsKeyin interfacejava.util.Map<_KeyType,_ObjectType>
-
containsValue
public boolean containsValue(java.lang.Object value)
- Specified by:
containsValuein interfacejava.util.Map<_KeyType,_ObjectType>
-
entrySet
public java.util.Set<java.util.Map.Entry<_KeyType,_ObjectType>> entrySet()
- Specified by:
entrySetin interfacejava.util.Map<_KeyType,_ObjectType>
-
get
public _ObjectType get(java.lang.Object key)
- Specified by:
getin interfacejava.util.Map<_KeyType,_ObjectType>
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfacejava.util.Map<_KeyType,_ObjectType>
-
keySet
public java.util.Set<_KeyType> keySet()
- Specified by:
keySetin interfacejava.util.Map<_KeyType,_ObjectType>
-
put
public _ObjectType put(_KeyType key, _ObjectType value)
- Specified by:
putin interfacejava.util.Map<_KeyType,_ObjectType>
-
putAll
public void putAll(java.util.Map<? extends _KeyType,? extends _ObjectType> arg0)
- Specified by:
putAllin interfacejava.util.Map<_KeyType,_ObjectType>
-
remove
public _ObjectType remove(java.lang.Object key)
- Specified by:
removein interfacejava.util.Map<_KeyType,_ObjectType>
-
size
public int size()
- Specified by:
sizein interfacejava.util.Map<_KeyType,_ObjectType>
-
values
public java.util.Collection<_ObjectType> values()
- Specified by:
valuesin interfacejava.util.Map<_KeyType,_ObjectType>
-
equals
public boolean equals(java.lang.Object object)
- Specified by:
equalsin interfacejava.util.Map<_KeyType,_ObjectType>- Overrides:
equalsin classorg.moe.natj.objc.ObjCObject
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacejava.util.Map<_KeyType,_ObjectType>- Overrides:
hashCodein classjava.lang.Object
-
dictionaryWithContentsOfURLError
public static <_KeyType,_ObjectType> NSDictionary<java.lang.String,_ObjectType> dictionaryWithContentsOfURLError(NSURL url, org.moe.natj.general.ptr.Ptr<NSError> error)
Reads dictionary stored in NSPropertyList format from the specified url.
-
initWithContentsOfURLError
public NSDictionary<java.lang.String,_ObjectType> initWithContentsOfURLError(NSURL url, org.moe.natj.general.ptr.Ptr<NSError> error)
Reads dictionary stored in NSPropertyList format from the specified url.
-
-