Package apple.foundation
Class NSMutableDictionary<_KeyType,_ObjectType>
- java.lang.Object
-
- org.moe.natj.general.NativeObject
-
- org.moe.natj.objc.ObjCObject
-
- apple.NSObject
-
- apple.foundation.NSDictionary<_KeyType,_ObjectType>
-
- apple.foundation.NSMutableDictionary<_KeyType,_ObjectType>
-
- All Implemented Interfaces:
NSFetchRequestResult,NSCoding,NSCopying,NSFastEnumeration,NSMutableCopying,NSSecureCoding,NSObject,java.util.Map<_KeyType,_ObjectType>
public class NSMutableDictionary<_KeyType,_ObjectType> extends NSDictionary<_KeyType,_ObjectType>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class apple.foundation.NSDictionary
NSDictionary.Block_enumerateKeysAndObjectsUsingBlock, NSDictionary.Block_enumerateKeysAndObjectsWithOptionsUsingBlock, NSDictionary.Block_keysOfEntriesPassingTest, NSDictionary.Block_keysOfEntriesWithOptionsPassingTest, NSDictionary.Block_keysSortedByValueUsingComparator, NSDictionary.Block_keysSortedByValueWithOptionsUsingComparator
-
Nested classes/interfaces inherited from class apple.NSObject
NSObject.Block_accessibilityActivateBlock_ret, NSObject.Block_accessibilityActivationPointBlock_ret, NSObject.Block_accessibilityAttributedHintBlock_ret, NSObject.Block_accessibilityAttributedLabelBlock_ret, NSObject.Block_accessibilityAttributedUserInputLabelsBlock_ret, NSObject.Block_accessibilityAttributedValueBlock_ret, NSObject.Block_accessibilityContainerTypeBlock_ret, NSObject.Block_accessibilityCustomActionsBlock_ret, NSObject.Block_accessibilityCustomRotorsBlock_ret, NSObject.Block_accessibilityDecrementBlock_ret, NSObject.Block_accessibilityElementsBlock_ret, NSObject.Block_accessibilityElementsHiddenBlock_ret, NSObject.Block_accessibilityFrameBlock_ret, NSObject.Block_accessibilityHeaderElementsBlock_ret, NSObject.Block_accessibilityHintBlock_ret, NSObject.Block_accessibilityIdentifierBlock_ret, NSObject.Block_accessibilityIncrementBlock_ret, NSObject.Block_accessibilityLabelBlock_ret, NSObject.Block_accessibilityLanguageBlock_ret, NSObject.Block_accessibilityMagicTapBlock_ret, NSObject.Block_accessibilityNavigationStyleBlock_ret, NSObject.Block_accessibilityPathBlock_ret, NSObject.Block_accessibilityPerformEscapeBlock_ret, NSObject.Block_accessibilityRespondsToUserInteractionBlock_ret, NSObject.Block_accessibilityShouldGroupAccessibilityChildrenBlock_ret, NSObject.Block_accessibilityTextualContextBlock_ret, NSObject.Block_accessibilityTraitsBlock_ret, NSObject.Block_accessibilityUserInputLabelsBlock_ret, NSObject.Block_accessibilityValueBlock_ret, NSObject.Block_accessibilityViewIsModalBlock_ret, NSObject.Block_automationElementsBlock_ret, NSObject.Block_isAccessibilityElementBlock_ret, NSObject.Block_setAccessibilityActivateBlock, NSObject.Block_setAccessibilityActivationPointBlock, NSObject.Block_setAccessibilityAttributedHintBlock, NSObject.Block_setAccessibilityAttributedLabelBlock, NSObject.Block_setAccessibilityAttributedUserInputLabelsBlock, NSObject.Block_setAccessibilityAttributedValueBlock, NSObject.Block_setAccessibilityContainerTypeBlock, NSObject.Block_setAccessibilityCustomActionsBlock, NSObject.Block_setAccessibilityCustomRotorsBlock, NSObject.Block_setAccessibilityDecrementBlock, NSObject.Block_setAccessibilityElementsBlock, NSObject.Block_setAccessibilityElementsHiddenBlock, NSObject.Block_setAccessibilityFrameBlock, NSObject.Block_setAccessibilityHeaderElementsBlock, NSObject.Block_setAccessibilityHintBlock, NSObject.Block_setAccessibilityIdentifierBlock, NSObject.Block_setAccessibilityIncrementBlock, NSObject.Block_setAccessibilityLabelBlock, NSObject.Block_setAccessibilityLanguageBlock, NSObject.Block_setAccessibilityMagicTapBlock, NSObject.Block_setAccessibilityNavigationStyleBlock, NSObject.Block_setAccessibilityPathBlock, NSObject.Block_setAccessibilityPerformEscapeBlock, NSObject.Block_setAccessibilityRespondsToUserInteractionBlock, NSObject.Block_setAccessibilityShouldGroupAccessibilityChildrenBlock, NSObject.Block_setAccessibilityTextualContextBlock, NSObject.Block_setAccessibilityTraitsBlock, NSObject.Block_setAccessibilityUserInputLabelsBlock, NSObject.Block_setAccessibilityValueBlock, NSObject.Block_setAccessibilityViewIsModalBlock, NSObject.Block_setAutomationElementsBlock, NSObject.Block_setIsAccessibilityElementBlock, NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedNSMutableDictionary(org.moe.natj.general.Pointer peer)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean_supportsSecureCoding()This property must return YES on all classes that allow secure coding.static booleanaccessInstanceVariablesDirectly()voidaddEntriesFromDictionary(@NotNull NSDictionary<_KeyType,_ObjectType> otherDictionary)static NSMutableDictionary<?,?>alloc()static NSMutableDictionary<?,?>allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)static booleanautomaticallyNotifiesObserversForKey(@NotNull java.lang.String key)static voidcancelPreviousPerformRequestsWithTarget(@NotNull java.lang.Object aTarget)static voidcancelPreviousPerformRequestsWithTargetSelectorObject(@NotNull java.lang.Object aTarget, @NotNull org.moe.natj.objc.SEL aSelector, @Nullable java.lang.Object anArgument)static @NotNull NSArray<java.lang.String>classFallbacksForKeyedArchiver()static @NotNull org.moe.natj.objc.ClassclassForKeyedUnarchiver()voidclear()booleancontainsKey(java.lang.Object key)booleancontainsValue(java.lang.Object value)static java.lang.StringdebugDescription_static()static java.lang.Stringdescription_static()static <_KeyType,_ObjectType>
NSMutableDictionary<?,?>dictionary()static <_KeyType,_ObjectType>
NSMutableDictionary<?,?>dictionaryWithCapacity(long numItems)static <_KeyType,_ObjectType>
@Nullable NSMutableDictionary<_KeyType,_ObjectType>dictionaryWithContentsOfFile(@NotNull java.lang.String path)static <_KeyType,_ObjectType>
@Nullable NSMutableDictionary<_KeyType,_ObjectType>dictionaryWithContentsOfURL(@NotNull NSURL url)static <_KeyType,_ObjectType>
@Nullable NSDictionary<java.lang.String,_ObjectType>dictionaryWithContentsOfURLError(@NotNull NSURL url, @Nullable org.moe.natj.general.ptr.Ptr<NSError> error)static <_KeyType,_ObjectType>
NSMutableDictionary<?,?>dictionaryWithDictionary(@NotNull NSDictionary<_KeyType,_ObjectType> dict)static <_KeyType,_ObjectType>
NSMutableDictionary<?,?>dictionaryWithObjectForKey(_ObjectType object, _KeyType key)static <_KeyType,_ObjectType>
NSMutableDictionary<?,?>dictionaryWithObjectsAndKeys(@NotNull java.lang.Object firstObject, java.lang.Object... varargs)static <_KeyType,_ObjectType>
NSMutableDictionary<?,?>dictionaryWithObjectsForKeys(@NotNull NSArray<_ObjectType> objects, @NotNull NSArray<_KeyType> keys)static <_KeyType,_ObjectType>
NSMutableDictionary<?,?>dictionaryWithObjectsForKeysCount(@Nullable org.moe.natj.general.ptr.Ptr<_ObjectType> objects, @Nullable org.moe.natj.general.ptr.Ptr<_KeyType> keys, long cnt)static <_KeyType,_ObjectType>
@NotNull NSMutableDictionary<_KeyType,_ObjectType>dictionaryWithSharedKeySet(@NotNull 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()_ObjectTypeget(java.lang.Object key)static longhash_static()NSMutableDictionary<?,?>init()NSMutableDictionary<?,?>initWithCapacity(long numItems)NSMutableDictionary<?,?>initWithCoder(@NotNull NSCoder coder)NS_DESIGNATED_INITIALIZER@Nullable NSMutableDictionary<_KeyType,_ObjectType>initWithContentsOfFile(@NotNull java.lang.String path)API-Since: 2.0 Deprecated-Since: 100000.0@Nullable NSMutableDictionary<_KeyType,_ObjectType>initWithContentsOfURL(@NotNull NSURL url)API-Since: 2.0 Deprecated-Since: 100000.0@Nullable NSDictionary<java.lang.String,_ObjectType>initWithContentsOfURLError(@NotNull NSURL url, @Nullable org.moe.natj.general.ptr.Ptr<NSError> error)Reads dictionary stored in NSPropertyList format from the specified url.NSMutableDictionary<?,?>initWithDictionary(@NotNull NSDictionary<_KeyType,_ObjectType> otherDictionary)NSMutableDictionary<?,?>initWithDictionaryCopyItems(@NotNull NSDictionary<_KeyType,_ObjectType> otherDictionary, boolean flag)NSMutableDictionary<?,?>initWithObjectsAndKeys(@NotNull java.lang.Object firstObject, java.lang.Object... varargs)NSMutableDictionary<?,?>initWithObjectsForKeys(@NotNull NSArray<_ObjectType> objects, @NotNull NSArray<_KeyType> keys)NSMutableDictionary<?,?>initWithObjectsForKeysCount(@Nullable org.moe.natj.general.ptr.Ptr<_ObjectType> objects, @Nullable org.moe.natj.general.ptr.Ptr<_KeyType> 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()static booleanisSubclassOfClass(org.moe.natj.objc.Class aClass)static @NotNull NSSet<java.lang.String>keyPathsForValuesAffectingValueForKey(@NotNull java.lang.String key)java.util.Set<_KeyType>keySet()static NSMutableDictionary<?,?>new_objc()_ObjectTypeput(_KeyType key, _ObjectType value)voidputAll(java.util.Map<? extends _KeyType,? extends _ObjectType> coll)_ObjectTyperemove(java.lang.Object key)voidremoveAllObjects()voidremoveObjectForKey(_KeyType aKey)voidremoveObjectsForKeys(@NotNull NSArray<_KeyType> keyArray)static booleanresolveClassMethod(org.moe.natj.objc.SEL sel)static booleanresolveInstanceMethod(org.moe.natj.objc.SEL sel)voidsetDictionary(@NotNull NSDictionary<_KeyType,_ObjectType> otherDictionary)voidsetObjectForKey(_ObjectType anObject, _KeyType aKey)voidsetObjectForKeyedSubscript(_ObjectType obj, _KeyType key)API-Since: 6.0static voidsetVersion_static(long aVersion)static <_KeyType,_ObjectType>
@NotNull java.lang.ObjectsharedKeySetForKeys(@NotNull NSArray<_KeyType> keys)intsize()static org.moe.natj.objc.Classsuperclass_static()static booleansupportsSecureCoding()static booleanuseStoredAccessor()Deprecated.java.util.Collection<_ObjectType>values()static longversion_static()-
Methods inherited from class apple.foundation.NSDictionary
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, writeToURLError
-
Methods inherited from class apple.NSObject
accessibilityActivate, accessibilityActivateBlock, accessibilityActivationPoint, accessibilityActivationPointBlock, accessibilityAssistiveTechnologyFocusedIdentifiers, accessibilityAttributedHint, accessibilityAttributedHintBlock, accessibilityAttributedLabel, accessibilityAttributedLabelBlock, accessibilityAttributedUserInputLabels, accessibilityAttributedUserInputLabelsBlock, accessibilityAttributedValue, accessibilityAttributedValueBlock, accessibilityContainerType, accessibilityContainerTypeBlock, accessibilityCustomActions, accessibilityCustomActionsBlock, accessibilityCustomRotors, accessibilityCustomRotorsBlock, accessibilityDecrement, accessibilityDecrementBlock, accessibilityDirectTouchOptions, accessibilityDragSourceDescriptors, accessibilityDropPointDescriptors, accessibilityElementAtIndex, accessibilityElementCount, accessibilityElementDidBecomeFocused, accessibilityElementDidLoseFocus, accessibilityElementIsFocused, accessibilityElements, accessibilityElementsBlock, accessibilityElementsHidden, accessibilityElementsHiddenBlock, accessibilityFrame, accessibilityFrameBlock, accessibilityHeaderElementsBlock, accessibilityHint, accessibilityHintBlock, accessibilityIdentifierBlock, accessibilityIncrement, accessibilityIncrementBlock, accessibilityLabel, accessibilityLabelBlock, accessibilityLanguage, accessibilityLanguageBlock, accessibilityMagicTapBlock, accessibilityNavigationStyle, accessibilityNavigationStyleBlock, accessibilityPath, accessibilityPathBlock, accessibilityPerformEscape, accessibilityPerformEscapeBlock, accessibilityPerformMagicTap, accessibilityRespondsToUserInteraction, accessibilityRespondsToUserInteractionBlock, accessibilityScroll, accessibilityShouldGroupAccessibilityChildrenBlock, accessibilityTextualContext, accessibilityTextualContextBlock, accessibilityTraits, accessibilityTraitsBlock, accessibilityUserInputLabels, accessibilityUserInputLabelsBlock, accessibilityValue, accessibilityValueBlock, accessibilityViewIsModal, accessibilityViewIsModalBlock, accessibilityZoomInAtPoint, accessibilityZoomOutAtPoint, addObserverForKeyPathOptionsContext, attemptRecoveryFromErrorOptionIndex, attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo, autoContentAccessingProxy, automationElements, automationElementsBlock, awakeAfterUsingCoder, awakeFromNib, class_objc, classForCoder, classForKeyedArchiver, copy, dealloc, debugDescription, dictionaryWithValuesForKeys, didChangeValueForKey, didChangeValueForKeyWithSetMutationUsingObjects, didChangeValuesAtIndexesForKey, doesNotRecognizeSelector, fileManagerShouldProceedAfterError, fileManagerWillProcessPath, finalize_objc, forwardingTargetForSelector, forwardInvocation, handleQueryWithUnboundKey, handleTakeValueForUnboundKey, hash, indexOfAccessibilityElement, isAccessibilityElement, isAccessibilityElementBlock, 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, setAccessibilityActivateBlock, setAccessibilityActivationPoint, setAccessibilityActivationPointBlock, setAccessibilityAttributedHint, setAccessibilityAttributedHintBlock, setAccessibilityAttributedLabel, setAccessibilityAttributedLabelBlock, setAccessibilityAttributedUserInputLabels, setAccessibilityAttributedUserInputLabelsBlock, setAccessibilityAttributedValue, setAccessibilityAttributedValueBlock, setAccessibilityContainerType, setAccessibilityContainerTypeBlock, setAccessibilityCustomActions, setAccessibilityCustomActionsBlock, setAccessibilityCustomRotors, setAccessibilityCustomRotorsBlock, setAccessibilityDecrementBlock, setAccessibilityDirectTouchOptions, setAccessibilityDragSourceDescriptors, setAccessibilityDropPointDescriptors, setAccessibilityElements, setAccessibilityElementsBlock, setAccessibilityElementsHidden, setAccessibilityElementsHiddenBlock, setAccessibilityFrame, setAccessibilityFrameBlock, setAccessibilityHeaderElementsBlock, setAccessibilityHint, setAccessibilityHintBlock, setAccessibilityIdentifierBlock, setAccessibilityIncrementBlock, setAccessibilityLabel, setAccessibilityLabelBlock, setAccessibilityLanguage, setAccessibilityLanguageBlock, setAccessibilityMagicTapBlock, setAccessibilityNavigationStyle, setAccessibilityNavigationStyleBlock, setAccessibilityPath, setAccessibilityPathBlock, setAccessibilityPerformEscapeBlock, setAccessibilityRespondsToUserInteraction, setAccessibilityRespondsToUserInteractionBlock, setAccessibilityShouldGroupAccessibilityChildrenBlock, setAccessibilityTextualContext, setAccessibilityTextualContextBlock, setAccessibilityTraits, setAccessibilityTraitsBlock, setAccessibilityUserInputLabels, setAccessibilityUserInputLabelsBlock, setAccessibilityValue, setAccessibilityValueBlock, setAccessibilityViewIsModal, setAccessibilityViewIsModalBlock, setAutomationElements, setAutomationElementsBlock, setIsAccessibilityElement, setIsAccessibilityElementBlock, setNilValueForKey, setObservationInfo, setShouldGroupAccessibilityChildren, setValueForKey, setValueForKeyPath, setValueForUndefinedKey, setValuesForKeysWithDictionary, shouldGroupAccessibilityChildren, storedValueForKey, superclass, takeStoredValueForKey, takeValueForKey, takeValueForKeyPath, takeValuesFromDictionary, unableToSetNilForKey, validateValueForKeyError, validateValueForKeyPathError, valueForKeyPath, valueForUndefinedKey, valuesForKeys, willChangeValueForKey, willChangeValueForKeyWithSetMutationUsingObjects, willChangeValuesAtIndexesForKey
-
-
-
-
Method Detail
-
accessInstanceVariablesDirectly
public static boolean accessInstanceVariablesDirectly()
-
alloc
public static NSMutableDictionary<?,?> alloc()
-
allocWithZone
public static NSMutableDictionary<?,?> allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
-
automaticallyNotifiesObserversForKey
public static boolean automaticallyNotifiesObserversForKey(@NotNull @NotNull java.lang.String key)
-
cancelPreviousPerformRequestsWithTarget
public static void cancelPreviousPerformRequestsWithTarget(@NotNull @NotNull java.lang.Object aTarget)
-
cancelPreviousPerformRequestsWithTargetSelectorObject
public static void cancelPreviousPerformRequestsWithTargetSelectorObject(@NotNull @NotNull java.lang.Object aTarget, @NotNull @NotNull org.moe.natj.objc.SEL aSelector, @Nullable @Nullable java.lang.Object anArgument)
-
classFallbacksForKeyedArchiver
@NotNull public static @NotNull NSArray<java.lang.String> classFallbacksForKeyedArchiver()
-
classForKeyedUnarchiver
@NotNull public static @NotNull org.moe.natj.objc.Class classForKeyedUnarchiver()
-
debugDescription_static
public static java.lang.String debugDescription_static()
-
description_static
public static java.lang.String description_static()
-
dictionary
public static <_KeyType,_ObjectType> NSMutableDictionary<?,?> dictionary()
-
dictionaryWithCapacity
public static <_KeyType,_ObjectType> NSMutableDictionary<?,?> dictionaryWithCapacity(long numItems)
-
dictionaryWithContentsOfFile
@Nullable public static <_KeyType,_ObjectType> @Nullable NSMutableDictionary<_KeyType,_ObjectType> dictionaryWithContentsOfFile(@NotNull @NotNull java.lang.String path)
-
dictionaryWithContentsOfURL
@Nullable public static <_KeyType,_ObjectType> @Nullable NSMutableDictionary<_KeyType,_ObjectType> dictionaryWithContentsOfURL(@NotNull @NotNull NSURL url)
-
dictionaryWithDictionary
public static <_KeyType,_ObjectType> NSMutableDictionary<?,?> dictionaryWithDictionary(@NotNull @NotNull NSDictionary<_KeyType,_ObjectType> dict)
-
dictionaryWithObjectForKey
public static <_KeyType,_ObjectType> NSMutableDictionary<?,?> dictionaryWithObjectForKey(@NotNull _ObjectType object, @NotNull _KeyType key)
-
dictionaryWithObjectsForKeys
public static <_KeyType,_ObjectType> NSMutableDictionary<?,?> dictionaryWithObjectsForKeys(@NotNull @NotNull NSArray<_ObjectType> objects, @NotNull @NotNull NSArray<_KeyType> keys)
-
dictionaryWithObjectsForKeysCount
public static <_KeyType,_ObjectType> NSMutableDictionary<?,?> dictionaryWithObjectsForKeysCount(@Nullable @Nullable org.moe.natj.general.ptr.Ptr<_ObjectType> objects, @Nullable @Nullable org.moe.natj.general.ptr.Ptr<_KeyType> keys, long cnt)
-
dictionaryWithObjectsAndKeys
public static <_KeyType,_ObjectType> NSMutableDictionary<?,?> dictionaryWithObjectsAndKeys(@NotNull @NotNull java.lang.Object firstObject, java.lang.Object... varargs)
-
dictionaryWithSharedKeySet
@NotNull public static <_KeyType,_ObjectType> @NotNull NSMutableDictionary<_KeyType,_ObjectType> dictionaryWithSharedKeySet(@NotNull @NotNull java.lang.Object keyset)
Create a mutable dictionary which is optimized for dealing with a known set of keys. Keys that are not in the key set can still be set into the dictionary, but that usage is not optimal. As with any dictionary, the keys must be copyable. If keyset is nil, an exception is thrown. If keyset is not an object returned by +sharedKeySetForKeys:, an exception is thrown. API-Since: 6.0
-
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
@NotNull public static @NotNull NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(@NotNull @NotNull java.lang.String key)
-
new_objc
public static NSMutableDictionary<?,?> 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
@NotNull public static <_KeyType,_ObjectType> @NotNull java.lang.Object sharedKeySetForKeys(@NotNull @NotNull NSArray<_KeyType> keys)
-
superclass_static
public static org.moe.natj.objc.Class superclass_static()
-
supportsSecureCoding
public static boolean supportsSecureCoding()
-
version_static
public static long version_static()
-
addEntriesFromDictionary
public void addEntriesFromDictionary(@NotNull @NotNull NSDictionary<_KeyType,_ObjectType> otherDictionary)
-
init
public NSMutableDictionary<?,?> init()
- Overrides:
initin classNSDictionary<_KeyType,_ObjectType>
-
initWithCapacity
public NSMutableDictionary<?,?> initWithCapacity(long numItems)
-
initWithCoder
public NSMutableDictionary<?,?> initWithCoder(@NotNull @NotNull NSCoder coder)
Description copied from interface:NSCodingNS_DESIGNATED_INITIALIZER- Specified by:
initWithCoderin interfaceNSCoding- Overrides:
initWithCoderin classNSDictionary<_KeyType,_ObjectType>
-
initWithContentsOfFile
@Nullable public @Nullable NSMutableDictionary<_KeyType,_ObjectType> initWithContentsOfFile(@NotNull @NotNull java.lang.String path)
Description copied from class:NSDictionaryAPI-Since: 2.0 Deprecated-Since: 100000.0- Overrides:
initWithContentsOfFilein classNSDictionary<_KeyType,_ObjectType>
-
initWithContentsOfURL
@Nullable public @Nullable NSMutableDictionary<_KeyType,_ObjectType> initWithContentsOfURL(@NotNull @NotNull NSURL url)
Description copied from class:NSDictionaryAPI-Since: 2.0 Deprecated-Since: 100000.0- Overrides:
initWithContentsOfURLin classNSDictionary<_KeyType,_ObjectType>
-
initWithDictionary
public NSMutableDictionary<?,?> initWithDictionary(@NotNull @NotNull NSDictionary<_KeyType,_ObjectType> otherDictionary)
- Overrides:
initWithDictionaryin classNSDictionary<_KeyType,_ObjectType>
-
initWithDictionaryCopyItems
public NSMutableDictionary<?,?> initWithDictionaryCopyItems(@NotNull @NotNull NSDictionary<_KeyType,_ObjectType> otherDictionary, boolean flag)
- Overrides:
initWithDictionaryCopyItemsin classNSDictionary<_KeyType,_ObjectType>
-
initWithObjectsForKeys
public NSMutableDictionary<?,?> initWithObjectsForKeys(@NotNull @NotNull NSArray<_ObjectType> objects, @NotNull @NotNull NSArray<_KeyType> keys)
- Overrides:
initWithObjectsForKeysin classNSDictionary<_KeyType,_ObjectType>
-
initWithObjectsForKeysCount
public NSMutableDictionary<?,?> initWithObjectsForKeysCount(@Nullable @Nullable org.moe.natj.general.ptr.Ptr<_ObjectType> objects, @Nullable @Nullable org.moe.natj.general.ptr.Ptr<_KeyType> keys, long cnt)
- Overrides:
initWithObjectsForKeysCountin classNSDictionary<_KeyType,_ObjectType>
-
initWithObjectsAndKeys
public NSMutableDictionary<?,?> initWithObjectsAndKeys(@NotNull @NotNull java.lang.Object firstObject, java.lang.Object... varargs)
- Overrides:
initWithObjectsAndKeysin classNSDictionary<_KeyType,_ObjectType>
-
removeAllObjects
public void removeAllObjects()
-
removeObjectForKey
public void removeObjectForKey(@NotNull _KeyType aKey)
-
removeObjectsForKeys
public void removeObjectsForKeys(@NotNull @NotNull NSArray<_KeyType> keyArray)
-
setDictionary
public void setDictionary(@NotNull @NotNull NSDictionary<_KeyType,_ObjectType> otherDictionary)
-
setObjectForKey
public void setObjectForKey(@NotNull _ObjectType anObject, @NotNull _KeyType aKey)
-
setObjectForKeyedSubscript
public void setObjectForKeyedSubscript(@Nullable _ObjectType obj, @NotNull _KeyType key)API-Since: 6.0
-
clear
public void clear()
- Specified by:
clearin interfacejava.util.Map<_KeyType,_ObjectType>- Overrides:
clearin classNSDictionary<_KeyType,_ObjectType>
-
containsKey
public boolean containsKey(java.lang.Object key)
- Specified by:
containsKeyin interfacejava.util.Map<_KeyType,_ObjectType>- Overrides:
containsKeyin classNSDictionary<_KeyType,_ObjectType>
-
containsValue
public boolean containsValue(java.lang.Object value)
- Specified by:
containsValuein interfacejava.util.Map<_KeyType,_ObjectType>- Overrides:
containsValuein classNSDictionary<_KeyType,_ObjectType>
-
entrySet
public java.util.Set<java.util.Map.Entry<_KeyType,_ObjectType>> entrySet()
- Specified by:
entrySetin interfacejava.util.Map<_KeyType,_ObjectType>- Overrides:
entrySetin classNSDictionary<_KeyType,_ObjectType>
-
get
public _ObjectType get(java.lang.Object key)
- Specified by:
getin interfacejava.util.Map<_KeyType,_ObjectType>- Overrides:
getin classNSDictionary<_KeyType,_ObjectType>
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfacejava.util.Map<_KeyType,_ObjectType>- Overrides:
isEmptyin classNSDictionary<_KeyType,_ObjectType>
-
keySet
public java.util.Set<_KeyType> keySet()
- Specified by:
keySetin interfacejava.util.Map<_KeyType,_ObjectType>- Overrides:
keySetin classNSDictionary<_KeyType,_ObjectType>
-
put
public _ObjectType put(_KeyType key, _ObjectType value)
- Specified by:
putin interfacejava.util.Map<_KeyType,_ObjectType>- Overrides:
putin classNSDictionary<_KeyType,_ObjectType>
-
putAll
public void putAll(java.util.Map<? extends _KeyType,? extends _ObjectType> coll)
- Specified by:
putAllin interfacejava.util.Map<_KeyType,_ObjectType>- Overrides:
putAllin classNSDictionary<_KeyType,_ObjectType>
-
remove
public _ObjectType remove(java.lang.Object key)
- Specified by:
removein interfacejava.util.Map<_KeyType,_ObjectType>- Overrides:
removein classNSDictionary<_KeyType,_ObjectType>
-
size
public int size()
- Specified by:
sizein interfacejava.util.Map<_KeyType,_ObjectType>- Overrides:
sizein classNSDictionary<_KeyType,_ObjectType>
-
values
public java.util.Collection<_ObjectType> values()
- Specified by:
valuesin interfacejava.util.Map<_KeyType,_ObjectType>- Overrides:
valuesin classNSDictionary<_KeyType,_ObjectType>
-
_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- Overrides:
_supportsSecureCodingin classNSDictionary<_KeyType,_ObjectType>
-
dictionaryWithContentsOfURLError
@Nullable public static <_KeyType,_ObjectType> @Nullable NSDictionary<java.lang.String,_ObjectType> dictionaryWithContentsOfURLError(@NotNull @NotNull NSURL url, @Nullable @Nullable org.moe.natj.general.ptr.Ptr<NSError> error)
-
initWithContentsOfURLError
@Nullable public @Nullable NSDictionary<java.lang.String,_ObjectType> initWithContentsOfURLError(@NotNull @NotNull NSURL url, @Nullable @Nullable org.moe.natj.general.ptr.Ptr<NSError> error)
Description copied from class:NSDictionaryReads dictionary stored in NSPropertyList format from the specified url. API-Since: 11.0- Overrides:
initWithContentsOfURLErrorin classNSDictionary<_KeyType,_ObjectType>
-
useStoredAccessor
@Deprecated public static boolean useStoredAccessor()
Deprecated.
-
-