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.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 protectedNSDictionary(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()@NotNull NSArray<_KeyType>allKeys()@NotNull NSArray<_KeyType>allKeysForObject(_ObjectType anObject)static NSDictionary<?,?>alloc()static NSDictionary<?,?>allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)@NotNull NSArray<_ObjectType>allValues()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)@NotNull java.lang.ObjectcopyWithZone(@Nullable org.moe.natj.general.ptr.VoidPtr zone)longcount()longcountByEnumeratingWithStateObjectsCount(@NotNull org.moe.natj.general.ptr.VoidPtr state, @NotNull org.moe.natj.general.ptr.Ptr<org.moe.natj.objc.ObjCObject> buffer, long len)static java.lang.StringdebugDescription_static()@NotNull java.lang.Stringdescription()@NotNull java.lang.StringdescriptionInStringsFileFormat()@NotNull java.lang.StringdescriptionWithLocale(@Nullable java.lang.Object locale)@NotNull java.lang.StringdescriptionWithLocaleIndent(@Nullable java.lang.Object locale, long level)static <_KeyType,_ObjectType>
NSDictionary<?,?>dictionary()static <_KeyType,_ObjectType>
@Nullable NSDictionary<_KeyType,_ObjectType>dictionaryWithContentsOfFile(@NotNull java.lang.String path)Deprecated.static <_KeyType,_ObjectType>
@Nullable NSDictionary<_KeyType,_ObjectType>dictionaryWithContentsOfURL(@NotNull NSURL url)Deprecated.static <_KeyType,_ObjectType>
@Nullable NSDictionary<java.lang.String,_ObjectType>dictionaryWithContentsOfURLError(@NotNull NSURL url, @Nullable org.moe.natj.general.ptr.Ptr<NSError> error)Reads dictionary stored in NSPropertyList format from the specified url.static <_KeyType,_ObjectType>
NSDictionary<?,?>dictionaryWithDictionary(@NotNull NSDictionary<_KeyType,_ObjectType> dict)static <_KeyType,_ObjectType>
NSDictionary<?,?>dictionaryWithObjectForKey(_ObjectType object, _KeyType key)static <_KeyType,_ObjectType>
NSDictionary<?,?>dictionaryWithObjectsAndKeys(@NotNull java.lang.Object firstObject, java.lang.Object... varargs)static <_KeyType,_ObjectType>
NSDictionary<?,?>dictionaryWithObjectsForKeys(@NotNull NSArray<_ObjectType> objects, @NotNull NSArray<_KeyType> keys)static <_KeyType,_ObjectType>
NSDictionary<?,?>dictionaryWithObjectsForKeysCount(@Nullable org.moe.natj.general.ptr.Ptr<_ObjectType> objects, @Nullable org.moe.natj.general.ptr.Ptr<_KeyType> keys, long cnt)voidencodeWithCoder(@NotNull NSCoder coder)java.util.Set<java.util.Map.Entry<_KeyType,_ObjectType>>entrySet()voidenumerateKeysAndObjectsUsingBlock(@NotNull NSDictionary.Block_enumerateKeysAndObjectsUsingBlock block)API-Since: 4.0voidenumerateKeysAndObjectsWithOptionsUsingBlock(long opts, @NotNull NSDictionary.Block_enumerateKeysAndObjectsWithOptionsUsingBlock block)API-Since: 4.0booleanequals(java.lang.Object object)@Nullable NSDatefileCreationDate()booleanfileExtensionHidden()@Nullable NSNumberfileGroupOwnerAccountID()@Nullable java.lang.StringfileGroupOwnerAccountName()intfileHFSCreatorCode()intfileHFSTypeCode()booleanfileIsAppendOnly()booleanfileIsImmutable()@Nullable NSDatefileModificationDate()@Nullable NSNumberfileOwnerAccountID()@Nullable java.lang.StringfileOwnerAccountName()longfilePosixPermissions()longfileSize()longfileSystemFileNumber()longfileSystemNumber()@Nullable java.lang.StringfileType()_ObjectTypeget(java.lang.Object key)voidgetObjectsAndKeys(@Nullable org.moe.natj.general.ptr.Ptr<_ObjectType> objects, @Nullable org.moe.natj.general.ptr.Ptr<_KeyType> keys)Deprecated.voidgetObjectsAndKeysCount(@Nullable org.moe.natj.general.ptr.Ptr<_ObjectType> objects, @Nullable org.moe.natj.general.ptr.Ptr<_KeyType> keys, long count)count refers to the number of elements in the dictionary API-Since: 5.0static longhash_static()inthashCode()NSDictionary<?,?>init()NSDictionary<?,?>initWithCoder(@NotNull NSCoder coder)NS_DESIGNATED_INITIALIZER@Nullable NSDictionary<_KeyType,_ObjectType>initWithContentsOfFile(@NotNull java.lang.String path)Deprecated.@Nullable NSDictionary<_KeyType,_ObjectType>initWithContentsOfURL(@NotNull NSURL url)Deprecated.@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.NSDictionary<?,?>initWithDictionary(@NotNull NSDictionary<_KeyType,_ObjectType> otherDictionary)NSDictionary<?,?>initWithDictionaryCopyItems(@NotNull NSDictionary<_KeyType,_ObjectType> otherDictionary, boolean flag)NSDictionary<?,?>initWithObjectsAndKeys(@NotNull java.lang.Object firstObject, java.lang.Object... varargs)NSDictionary<?,?>initWithObjectsForKeys(@NotNull NSArray<_ObjectType> objects, @NotNull NSArray<_KeyType> keys)NSDictionary<?,?>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()booleanisEqualToDictionary(@NotNull NSDictionary<_KeyType,_ObjectType> otherDictionary)static booleanisSubclassOfClass(org.moe.natj.objc.Class aClass)@NotNull NSEnumerator<_KeyType>keyEnumerator()static @NotNull NSSet<java.lang.String>keyPathsForValuesAffectingValueForKey(@NotNull java.lang.String key)java.util.Set<_KeyType>keySet()@NotNull NSSet<_KeyType>keysOfEntriesPassingTest(@NotNull NSDictionary.Block_keysOfEntriesPassingTest predicate)API-Since: 4.0@NotNull NSSet<_KeyType>keysOfEntriesWithOptionsPassingTest(long opts, @NotNull NSDictionary.Block_keysOfEntriesWithOptionsPassingTest predicate)API-Since: 4.0@NotNull NSArray<_KeyType>keysSortedByValueUsingComparator(@NotNull NSDictionary.Block_keysSortedByValueUsingComparator cmptr)API-Since: 4.0@NotNull NSArray<_KeyType>keysSortedByValueUsingSelector(@NotNull org.moe.natj.objc.SEL comparator)@NotNull NSArray<_KeyType>keysSortedByValueWithOptionsUsingComparator(long opts, @NotNull NSDictionary.Block_keysSortedByValueWithOptionsUsingComparator cmptr)API-Since: 4.0@NotNull java.lang.ObjectmutableCopyWithZone(@Nullable org.moe.natj.general.ptr.VoidPtr zone)static NSDictionary<?,?>new_objc()@NotNull NSEnumerator<_ObjectType>objectEnumerator()_ObjectTypeobjectForKey(_KeyType aKey)_ObjectTypeobjectForKeyedSubscript(_KeyType key)API-Since: 6.0@NotNull NSArray<_ObjectType>objectsForKeysNotFoundMarker(@NotNull 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>
@NotNull java.lang.ObjectsharedKeySetForKeys(@NotNull NSArray<_KeyType> 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()static booleanuseStoredAccessor()Deprecated._ObjectTypevalueForKey(@NotNull java.lang.String key)Return the result of sending -objectForKey: to the receiver.java.util.Collection<_ObjectType>values()static longversion_static()booleanwriteToFileAtomically(@NotNull java.lang.String path, boolean useAuxiliaryFile)Deprecated.booleanwriteToURLAtomically(@NotNull NSURL url, boolean atomically)Deprecated.booleanwriteToURLError(@NotNull NSURL url, @Nullable 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, 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, description_static, 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 NSDictionary<?,?> alloc()
-
allocWithZone
public static NSDictionary<?,?> 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()
-
dictionary
public static <_KeyType,_ObjectType> NSDictionary<?,?> dictionary()
-
dictionaryWithContentsOfFile
@Nullable @Deprecated public static <_KeyType,_ObjectType> @Nullable NSDictionary<_KeyType,_ObjectType> dictionaryWithContentsOfFile(@NotNull @NotNull java.lang.String path)
Deprecated.These methods are deprecated, and will be marked with API_DEPRECATED in a subsequent release. Use the variants that use errors instead. API-Since: 2.0 Deprecated-Since: 100000.0
-
dictionaryWithContentsOfURL
@Nullable @Deprecated public static <_KeyType,_ObjectType> @Nullable NSDictionary<_KeyType,_ObjectType> dictionaryWithContentsOfURL(@NotNull @NotNull NSURL url)
Deprecated.API-Since: 2.0 Deprecated-Since: 100000.0
-
dictionaryWithDictionary
public static <_KeyType,_ObjectType> NSDictionary<?,?> dictionaryWithDictionary(@NotNull @NotNull NSDictionary<_KeyType,_ObjectType> dict)
-
dictionaryWithObjectForKey
public static <_KeyType,_ObjectType> NSDictionary<?,?> dictionaryWithObjectForKey(@NotNull _ObjectType object, @NotNull _KeyType key)
-
dictionaryWithObjectsForKeys
public static <_KeyType,_ObjectType> NSDictionary<?,?> dictionaryWithObjectsForKeys(@NotNull @NotNull NSArray<_ObjectType> objects, @NotNull @NotNull NSArray<_KeyType> keys)
-
dictionaryWithObjectsForKeysCount
public static <_KeyType,_ObjectType> NSDictionary<?,?> 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> NSDictionary<?,?> dictionaryWithObjectsAndKeys(@NotNull @NotNull 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
@NotNull public static @NotNull NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(@NotNull @NotNull java.lang.String key)
-
new_objc
public static NSDictionary<?,?> 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)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. API-Since: 6.0
-
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
@NotNull public @NotNull NSArray<_KeyType> allKeysForObject(@NotNull _ObjectType anObject)
-
allValues
@NotNull public @NotNull NSArray<_ObjectType> allValues()
-
copyWithZone
@NotNull public @NotNull java.lang.Object copyWithZone(@Nullable @Nullable org.moe.natj.general.ptr.VoidPtr zone)- Specified by:
copyWithZonein interfaceNSCopying
-
count
public long count()
-
countByEnumeratingWithStateObjectsCount
public long countByEnumeratingWithStateObjectsCount(@NotNull @NotNull org.moe.natj.general.ptr.VoidPtr state, @NotNull @NotNull org.moe.natj.general.ptr.Ptr<org.moe.natj.objc.ObjCObject> buffer, long len)- Specified by:
countByEnumeratingWithStateObjectsCountin interfaceNSFastEnumeration
-
description
@NotNull public @NotNull java.lang.String description()
- Specified by:
descriptionin interfaceNSObject- Overrides:
descriptionin classNSObject
-
descriptionInStringsFileFormat
@NotNull public @NotNull java.lang.String descriptionInStringsFileFormat()
-
descriptionWithLocale
@NotNull public @NotNull java.lang.String descriptionWithLocale(@Nullable @Nullable java.lang.Object locale)
-
descriptionWithLocaleIndent
@NotNull public @NotNull java.lang.String descriptionWithLocaleIndent(@Nullable @Nullable java.lang.Object locale, long level)
-
encodeWithCoder
public void encodeWithCoder(@NotNull @NotNull NSCoder coder)- Specified by:
encodeWithCoderin interfaceNSCoding
-
enumerateKeysAndObjectsUsingBlock
public void enumerateKeysAndObjectsUsingBlock(@NotNull @NotNull NSDictionary.Block_enumerateKeysAndObjectsUsingBlock block)API-Since: 4.0
-
enumerateKeysAndObjectsWithOptionsUsingBlock
public void enumerateKeysAndObjectsWithOptionsUsingBlock(long opts, @NotNull @NotNull NSDictionary.Block_enumerateKeysAndObjectsWithOptionsUsingBlock block)API-Since: 4.0
-
fileCreationDate
@Nullable public @Nullable NSDate fileCreationDate()
-
fileExtensionHidden
public boolean fileExtensionHidden()
-
fileGroupOwnerAccountID
@Nullable public @Nullable NSNumber fileGroupOwnerAccountID()
-
fileGroupOwnerAccountName
@Nullable public @Nullable java.lang.String fileGroupOwnerAccountName()
-
fileHFSCreatorCode
public int fileHFSCreatorCode()
-
fileHFSTypeCode
public int fileHFSTypeCode()
-
fileIsAppendOnly
public boolean fileIsAppendOnly()
-
fileIsImmutable
public boolean fileIsImmutable()
-
fileModificationDate
@Nullable public @Nullable NSDate fileModificationDate()
-
fileOwnerAccountID
@Nullable public @Nullable NSNumber fileOwnerAccountID()
-
fileOwnerAccountName
@Nullable public @Nullable java.lang.String fileOwnerAccountName()
-
filePosixPermissions
public long filePosixPermissions()
-
fileSize
public long fileSize()
-
fileSystemFileNumber
public long fileSystemFileNumber()
-
fileSystemNumber
public long fileSystemNumber()
-
fileType
@Nullable public @Nullable java.lang.String fileType()
-
getObjectsAndKeys
@Deprecated public void getObjectsAndKeys(@Nullable @Nullable org.moe.natj.general.ptr.Ptr<_ObjectType> objects, @Nullable @Nullable org.moe.natj.general.ptr.Ptr<_KeyType> keys)Deprecated.This method is unsafe because it could potentially cause buffer overruns. You should use -getObjects:andKeys:count: API-Since: 2.0 Deprecated-Since: 11.0 Deprecated-Message: Use -getObjects:andKeys:count: instead
-
getObjectsAndKeysCount
public void getObjectsAndKeysCount(@Nullable @Nullable org.moe.natj.general.ptr.Ptr<_ObjectType> objects, @Nullable @Nullable org.moe.natj.general.ptr.Ptr<_KeyType> keys, long count)count refers to the number of elements in the dictionary API-Since: 5.0
-
init
public NSDictionary<?,?> init()
-
initWithCoder
public NSDictionary<?,?> initWithCoder(@NotNull @NotNull NSCoder coder)
Description copied from interface:NSCodingNS_DESIGNATED_INITIALIZER- Specified by:
initWithCoderin interfaceNSCoding
-
initWithContentsOfFile
@Nullable @Deprecated public @Nullable NSDictionary<_KeyType,_ObjectType> initWithContentsOfFile(@NotNull @NotNull java.lang.String path)
Deprecated.API-Since: 2.0 Deprecated-Since: 100000.0
-
initWithContentsOfURL
@Nullable @Deprecated public @Nullable NSDictionary<_KeyType,_ObjectType> initWithContentsOfURL(@NotNull @NotNull NSURL url)
Deprecated.API-Since: 2.0 Deprecated-Since: 100000.0
-
initWithDictionary
public NSDictionary<?,?> initWithDictionary(@NotNull @NotNull NSDictionary<_KeyType,_ObjectType> otherDictionary)
-
initWithDictionaryCopyItems
public NSDictionary<?,?> initWithDictionaryCopyItems(@NotNull @NotNull NSDictionary<_KeyType,_ObjectType> otherDictionary, boolean flag)
-
initWithObjectsForKeys
public NSDictionary<?,?> initWithObjectsForKeys(@NotNull @NotNull NSArray<_ObjectType> objects, @NotNull @NotNull NSArray<_KeyType> keys)
-
initWithObjectsForKeysCount
public NSDictionary<?,?> initWithObjectsForKeysCount(@Nullable @Nullable org.moe.natj.general.ptr.Ptr<_ObjectType> objects, @Nullable @Nullable org.moe.natj.general.ptr.Ptr<_KeyType> keys, long cnt)
-
initWithObjectsAndKeys
public NSDictionary<?,?> initWithObjectsAndKeys(@NotNull @NotNull java.lang.Object firstObject, java.lang.Object... varargs)
-
isEqualToDictionary
public boolean isEqualToDictionary(@NotNull @NotNull NSDictionary<_KeyType,_ObjectType> otherDictionary)
-
keyEnumerator
@NotNull public @NotNull NSEnumerator<_KeyType> keyEnumerator()
-
keysOfEntriesPassingTest
@NotNull public @NotNull NSSet<_KeyType> keysOfEntriesPassingTest(@NotNull @NotNull NSDictionary.Block_keysOfEntriesPassingTest predicate)
API-Since: 4.0
-
keysOfEntriesWithOptionsPassingTest
@NotNull public @NotNull NSSet<_KeyType> keysOfEntriesWithOptionsPassingTest(long opts, @NotNull @NotNull NSDictionary.Block_keysOfEntriesWithOptionsPassingTest predicate)
API-Since: 4.0
-
keysSortedByValueUsingComparator
@NotNull public @NotNull NSArray<_KeyType> keysSortedByValueUsingComparator(@NotNull @NotNull NSDictionary.Block_keysSortedByValueUsingComparator cmptr)
API-Since: 4.0
-
keysSortedByValueUsingSelector
@NotNull public @NotNull NSArray<_KeyType> keysSortedByValueUsingSelector(@NotNull @NotNull org.moe.natj.objc.SEL comparator)
-
keysSortedByValueWithOptionsUsingComparator
@NotNull public @NotNull NSArray<_KeyType> keysSortedByValueWithOptionsUsingComparator(long opts, @NotNull @NotNull NSDictionary.Block_keysSortedByValueWithOptionsUsingComparator cmptr)
API-Since: 4.0
-
mutableCopyWithZone
@NotNull public @NotNull java.lang.Object mutableCopyWithZone(@Nullable @Nullable org.moe.natj.general.ptr.VoidPtr zone)- Specified by:
mutableCopyWithZonein interfaceNSMutableCopying
-
objectEnumerator
@NotNull public @NotNull NSEnumerator<_ObjectType> objectEnumerator()
-
objectForKey
@Nullable public _ObjectType objectForKey(@NotNull _KeyType aKey)
-
objectForKeyedSubscript
@Nullable public _ObjectType objectForKeyedSubscript(@NotNull _KeyType key)
API-Since: 6.0
-
objectsForKeysNotFoundMarker
@NotNull public @NotNull NSArray<_ObjectType> objectsForKeysNotFoundMarker(@NotNull @NotNull NSArray<_KeyType> keys, @NotNull _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
@Nullable public _ObjectType valueForKey(@NotNull @NotNull java.lang.String key)
Return the result of sending -objectForKey: to the receiver.- Overrides:
valueForKeyin classNSObject
-
writeToFileAtomically
@Deprecated public boolean writeToFileAtomically(@NotNull @NotNull java.lang.String path, boolean useAuxiliaryFile)Deprecated.API-Since: 2.0 Deprecated-Since: 100000.0
-
writeToURLAtomically
@Deprecated public boolean writeToURLAtomically(@NotNull @NotNull NSURL url, boolean atomically)Deprecated.the atomically flag is ignored if url of a type that cannot be written atomically. API-Since: 2.0 Deprecated-Since: 100000.0
-
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
@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)
Reads dictionary stored in NSPropertyList format from the specified url. API-Since: 11.0
-
initWithContentsOfURLError
@Nullable public @Nullable NSDictionary<java.lang.String,_ObjectType> initWithContentsOfURLError(@NotNull @NotNull NSURL url, @Nullable @Nullable org.moe.natj.general.ptr.Ptr<NSError> error)
Reads dictionary stored in NSPropertyList format from the specified url. API-Since: 11.0
-
writeToURLError
public boolean writeToURLError(@NotNull @NotNull NSURL url, @Nullable @Nullable org.moe.natj.general.ptr.Ptr<NSError> error)Serializes this instance to the specified URL in the NSPropertyList format (using NSPropertyListXMLFormat_v1_0). For other formats use NSPropertyListSerialization directly. API-Since: 11.0
-
useStoredAccessor
@Deprecated public static boolean useStoredAccessor()
Deprecated.
-
-