public class NSMutableDictionary<_KeyType,_ObjectType> extends NSDictionary<_KeyType,_ObjectType>
NSDictionary.Block_enumerateKeysAndObjectsUsingBlock, NSDictionary.Block_enumerateKeysAndObjectsWithOptionsUsingBlock, NSDictionary.Block_keysOfEntriesPassingTest, NSDictionary.Block_keysOfEntriesWithOptionsPassingTest, NSDictionary.Block_keysSortedByValueUsingComparator, NSDictionary.Block_keysSortedByValueWithOptionsUsingComparatorNSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret| Modifier | Constructor and Description |
|---|---|
protected |
NSMutableDictionary(org.moe.natj.general.Pointer peer) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
_supportsSecureCoding()
This property must return YES on all classes that allow secure coding.
|
static boolean |
accessInstanceVariablesDirectly() |
void |
addEntriesFromDictionary(NSDictionary<_KeyType,_ObjectType> otherDictionary) |
static NSMutableDictionary<?,?> |
alloc() |
static NSMutableDictionary<?,?> |
allocWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
static boolean |
automaticallyNotifiesObserversForKey(java.lang.String key) |
static void |
cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget) |
static void |
cancelPreviousPerformRequestsWithTargetSelectorObject(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.Class |
classForKeyedUnarchiver() |
void |
clear() |
boolean |
containsKey(java.lang.Object key) |
boolean |
containsValue(java.lang.Object value) |
static java.lang.String |
debugDescription_static() |
static java.lang.String |
description_static() |
static <_KeyType,_ObjectType> |
dictionary() |
static <_KeyType,_ObjectType> |
dictionaryWithCapacity(long numItems) |
static <_KeyType,_ObjectType> |
dictionaryWithContentsOfFile(java.lang.String path) |
static <_KeyType,_ObjectType> |
dictionaryWithContentsOfURL(NSURL url) |
static <_KeyType,_ObjectType> |
dictionaryWithContentsOfURLError(NSURL url,
org.moe.natj.general.ptr.Ptr<NSError> error) |
static <_KeyType,_ObjectType> |
dictionaryWithDictionary(NSDictionary<_KeyType,_ObjectType> dict) |
static <_KeyType,_ObjectType> |
dictionaryWithObjectForKey(_ObjectType object,
_KeyType key) |
static <_KeyType,_ObjectType> |
dictionaryWithObjectsAndKeys(java.lang.Object firstObject,
java.lang.Object... varargs) |
static <_KeyType,_ObjectType> |
dictionaryWithObjectsForKeys(NSArray<_ObjectType> objects,
NSArray<_KeyType> keys) |
static <_KeyType,_ObjectType> |
dictionaryWithObjectsForKeysCount(org.moe.natj.general.ptr.Ptr<_ObjectType> objects,
org.moe.natj.general.ptr.Ptr<_KeyType> keys,
long cnt) |
static <_KeyType,_ObjectType> |
dictionaryWithSharedKeySet(java.lang.Object keyset)
Create a mutable dictionary which is optimized for dealing with a known set of keys.
|
java.util.Set<java.util.Map.Entry<_KeyType,_ObjectType>> |
entrySet() |
_ObjectType |
get(java.lang.Object key) |
static long |
hash_static() |
NSMutableDictionary<?,?> |
init() |
NSMutableDictionary<?,?> |
initWithCapacity(long numItems) |
NSMutableDictionary<?,?> |
initWithCoder(NSCoder coder)
NS_DESIGNATED_INITIALIZER
|
NSMutableDictionary<_KeyType,_ObjectType> |
initWithContentsOfFile(java.lang.String path) |
NSMutableDictionary<_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.
|
NSMutableDictionary<?,?> |
initWithDictionary(NSDictionary<_KeyType,_ObjectType> otherDictionary) |
NSMutableDictionary<?,?> |
initWithDictionaryCopyItems(NSDictionary<_KeyType,_ObjectType> otherDictionary,
boolean flag) |
NSMutableDictionary<?,?> |
initWithObjectsAndKeys(java.lang.Object firstObject,
java.lang.Object... varargs) |
NSMutableDictionary<?,?> |
initWithObjectsForKeys(NSArray<_ObjectType> objects,
NSArray<_KeyType> keys) |
NSMutableDictionary<?,?> |
initWithObjectsForKeysCount(org.moe.natj.general.ptr.Ptr<_ObjectType> objects,
org.moe.natj.general.ptr.Ptr<_KeyType> keys,
long cnt) |
static NSObject.Function_instanceMethodForSelector_ret |
instanceMethodForSelector(org.moe.natj.objc.SEL aSelector) |
static NSMethodSignature |
instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector) |
static boolean |
instancesRespondToSelector(org.moe.natj.objc.SEL aSelector) |
boolean |
isEmpty() |
static boolean |
isSubclassOfClass(org.moe.natj.objc.Class aClass) |
static NSSet<java.lang.String> |
keyPathsForValuesAffectingValueForKey(java.lang.String key) |
java.util.Set<_KeyType> |
keySet() |
static NSMutableDictionary<?,?> |
new_objc() |
_ObjectType |
put(_KeyType key,
_ObjectType value) |
void |
putAll(java.util.Map<? extends _KeyType,? extends _ObjectType> coll) |
_ObjectType |
remove(java.lang.Object key) |
void |
removeAllObjects() |
void |
removeObjectForKey(_KeyType aKey) |
void |
removeObjectsForKeys(NSArray<_KeyType> keyArray) |
static boolean |
resolveClassMethod(org.moe.natj.objc.SEL sel) |
static boolean |
resolveInstanceMethod(org.moe.natj.objc.SEL sel) |
void |
setDictionary(NSDictionary<_KeyType,_ObjectType> otherDictionary) |
void |
setObjectForKey(_ObjectType anObject,
_KeyType aKey) |
void |
setObjectForKeyedSubscript(_ObjectType obj,
_KeyType key) |
static void |
setVersion_static(long aVersion) |
static <_KeyType,_ObjectType> |
sharedKeySetForKeys(NSArray<_KeyType> keys) |
int |
size() |
static org.moe.natj.objc.Class |
superclass_static() |
static boolean |
supportsSecureCoding() |
java.util.Collection<_ObjectType> |
values() |
static long |
version_static() |
allKeys, allKeysForObject, allValues, copyWithZone, count, countByEnumeratingWithStateObjectsCount, description, descriptionInStringsFileFormat, descriptionWithLocale, descriptionWithLocaleIndent, encodeWithCoder, enumerateKeysAndObjectsUsingBlock, enumerateKeysAndObjectsWithOptionsUsingBlock, equals, fileCreationDate, fileExtensionHidden, fileGroupOwnerAccountID, fileGroupOwnerAccountName, fileHFSCreatorCode, fileHFSTypeCode, fileIsAppendOnly, fileIsImmutable, fileModificationDate, fileOwnerAccountID, fileOwnerAccountName, filePosixPermissions, fileSize, fileSystemFileNumber, fileSystemNumber, fileType, getObjectsAndKeys, getObjectsAndKeysCount, hashCode, isEqualToDictionary, keyEnumerator, keysOfEntriesPassingTest, keysOfEntriesWithOptionsPassingTest, keysSortedByValueUsingComparator, keysSortedByValueUsingSelector, keysSortedByValueWithOptionsUsingComparator, mutableCopyWithZone, objectEnumerator, objectForKey, objectForKeyedSubscript, objectsForKeysNotFoundMarker, valueForKey, writeToFileAtomically, writeToURLAtomically, writeToURLErroraccessibilityActivate, 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, 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, willChangeValuesAtIndexesForKeyprotected NSMutableDictionary(org.moe.natj.general.Pointer peer)
public static boolean accessInstanceVariablesDirectly()
public static NSMutableDictionary<?,?> alloc()
public static NSMutableDictionary<?,?> allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
public static boolean automaticallyNotifiesObserversForKey(java.lang.String key)
public static void cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)
public static void cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument)
public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
public static org.moe.natj.objc.Class classForKeyedUnarchiver()
public static java.lang.String debugDescription_static()
public static java.lang.String description_static()
public static <_KeyType,_ObjectType> NSMutableDictionary<?,?> dictionary()
public static <_KeyType,_ObjectType> NSMutableDictionary<?,?> dictionaryWithCapacity(long numItems)
public static <_KeyType,_ObjectType> NSMutableDictionary<_KeyType,_ObjectType> dictionaryWithContentsOfFile(java.lang.String path)
public static <_KeyType,_ObjectType> NSMutableDictionary<_KeyType,_ObjectType> dictionaryWithContentsOfURL(NSURL url)
public static <_KeyType,_ObjectType> NSMutableDictionary<?,?> dictionaryWithDictionary(NSDictionary<_KeyType,_ObjectType> dict)
public static <_KeyType,_ObjectType> NSMutableDictionary<?,?> dictionaryWithObjectForKey(_ObjectType object, _KeyType key)
public static <_KeyType,_ObjectType> NSMutableDictionary<?,?> dictionaryWithObjectsForKeys(NSArray<_ObjectType> objects, NSArray<_KeyType> keys)
public static <_KeyType,_ObjectType> NSMutableDictionary<?,?> dictionaryWithObjectsForKeysCount(org.moe.natj.general.ptr.Ptr<_ObjectType> objects, org.moe.natj.general.ptr.Ptr<_KeyType> keys, long cnt)
public static <_KeyType,_ObjectType> NSMutableDictionary<?,?> dictionaryWithObjectsAndKeys(java.lang.Object firstObject, java.lang.Object... varargs)
public static <_KeyType,_ObjectType> NSMutableDictionary<_KeyType,_ObjectType> dictionaryWithSharedKeySet(java.lang.Object keyset)
public static long hash_static()
public static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
public static NSMethodSignature instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)
public static boolean instancesRespondToSelector(org.moe.natj.objc.SEL aSelector)
public static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(java.lang.String key)
public static NSMutableDictionary<?,?> new_objc()
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
public static void setVersion_static(long aVersion)
public static <_KeyType,_ObjectType> java.lang.Object sharedKeySetForKeys(NSArray<_KeyType> keys)
public static org.moe.natj.objc.Class superclass_static()
public static boolean supportsSecureCoding()
public static long version_static()
public void addEntriesFromDictionary(NSDictionary<_KeyType,_ObjectType> otherDictionary)
public NSMutableDictionary<?,?> init()
init in class NSDictionary<_KeyType,_ObjectType>public NSMutableDictionary<?,?> initWithCapacity(long numItems)
public NSMutableDictionary<?,?> initWithCoder(NSCoder coder)
NSCodinginitWithCoder in interface NSCodinginitWithCoder in class NSDictionary<_KeyType,_ObjectType>public NSMutableDictionary<_KeyType,_ObjectType> initWithContentsOfFile(java.lang.String path)
initWithContentsOfFile in class NSDictionary<_KeyType,_ObjectType>public NSMutableDictionary<_KeyType,_ObjectType> initWithContentsOfURL(NSURL url)
initWithContentsOfURL in class NSDictionary<_KeyType,_ObjectType>public NSMutableDictionary<?,?> initWithDictionary(NSDictionary<_KeyType,_ObjectType> otherDictionary)
initWithDictionary in class NSDictionary<_KeyType,_ObjectType>public NSMutableDictionary<?,?> initWithDictionaryCopyItems(NSDictionary<_KeyType,_ObjectType> otherDictionary, boolean flag)
initWithDictionaryCopyItems in class NSDictionary<_KeyType,_ObjectType>public NSMutableDictionary<?,?> initWithObjectsForKeys(NSArray<_ObjectType> objects, NSArray<_KeyType> keys)
initWithObjectsForKeys in class NSDictionary<_KeyType,_ObjectType>public NSMutableDictionary<?,?> initWithObjectsForKeysCount(org.moe.natj.general.ptr.Ptr<_ObjectType> objects, org.moe.natj.general.ptr.Ptr<_KeyType> keys, long cnt)
initWithObjectsForKeysCount in class NSDictionary<_KeyType,_ObjectType>public NSMutableDictionary<?,?> initWithObjectsAndKeys(java.lang.Object firstObject, java.lang.Object... varargs)
initWithObjectsAndKeys in class NSDictionary<_KeyType,_ObjectType>public void removeAllObjects()
public void removeObjectForKey(_KeyType aKey)
public void setDictionary(NSDictionary<_KeyType,_ObjectType> otherDictionary)
public void setObjectForKey(_ObjectType anObject, _KeyType aKey)
public void setObjectForKeyedSubscript(_ObjectType obj, _KeyType key)
public void clear()
clear in interface java.util.Map<_KeyType,_ObjectType>clear in class NSDictionary<_KeyType,_ObjectType>public boolean containsKey(java.lang.Object key)
containsKey in interface java.util.Map<_KeyType,_ObjectType>containsKey in class NSDictionary<_KeyType,_ObjectType>public boolean containsValue(java.lang.Object value)
containsValue in interface java.util.Map<_KeyType,_ObjectType>containsValue in class NSDictionary<_KeyType,_ObjectType>public java.util.Set<java.util.Map.Entry<_KeyType,_ObjectType>> entrySet()
entrySet in interface java.util.Map<_KeyType,_ObjectType>entrySet in class NSDictionary<_KeyType,_ObjectType>public _ObjectType get(java.lang.Object key)
get in interface java.util.Map<_KeyType,_ObjectType>get in class NSDictionary<_KeyType,_ObjectType>public boolean isEmpty()
isEmpty in interface java.util.Map<_KeyType,_ObjectType>isEmpty in class NSDictionary<_KeyType,_ObjectType>public java.util.Set<_KeyType> keySet()
keySet in interface java.util.Map<_KeyType,_ObjectType>keySet in class NSDictionary<_KeyType,_ObjectType>public _ObjectType put(_KeyType key, _ObjectType value)
put in interface java.util.Map<_KeyType,_ObjectType>put in class NSDictionary<_KeyType,_ObjectType>public void putAll(java.util.Map<? extends _KeyType,? extends _ObjectType> coll)
putAll in interface java.util.Map<_KeyType,_ObjectType>putAll in class NSDictionary<_KeyType,_ObjectType>public _ObjectType remove(java.lang.Object key)
remove in interface java.util.Map<_KeyType,_ObjectType>remove in class NSDictionary<_KeyType,_ObjectType>public int size()
size in interface java.util.Map<_KeyType,_ObjectType>size in class NSDictionary<_KeyType,_ObjectType>public java.util.Collection<_ObjectType> values()
values in interface java.util.Map<_KeyType,_ObjectType>values in class NSDictionary<_KeyType,_ObjectType>public boolean _supportsSecureCoding()
NSSecureCoding_supportsSecureCoding in interface NSSecureCoding_supportsSecureCoding in class NSDictionary<_KeyType,_ObjectType>public static <_KeyType,_ObjectType> NSDictionary<java.lang.String,_ObjectType> dictionaryWithContentsOfURLError(NSURL url, org.moe.natj.general.ptr.Ptr<NSError> error)
public NSDictionary<java.lang.String,_ObjectType> initWithContentsOfURLError(NSURL url, org.moe.natj.general.ptr.Ptr<NSError> error)
NSDictionaryinitWithContentsOfURLError in class NSDictionary<_KeyType,_ObjectType>