public class NSMapTable<_KeyType,_ObjectType> extends NSObject implements NSCopying, NSSecureCoding, NSFastEnumeration
NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret| Modifier | Constructor and Description |
|---|---|
protected |
NSMapTable(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() |
static NSMapTable<?,?> |
alloc() |
static NSMapTable<?,?> |
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() |
java.lang.Object |
copyWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
long |
count() |
long |
countByEnumeratingWithStateObjectsCount(org.moe.natj.general.ptr.VoidPtr state,
org.moe.natj.general.ptr.Ptr<org.moe.natj.objc.ObjCObject> buffer,
long len) |
static java.lang.String |
debugDescription_static() |
static java.lang.String |
description_static() |
NSDictionary<_KeyType,_ObjectType> |
dictionaryRepresentation()
create a dictionary of contents
|
void |
encodeWithCoder(NSCoder coder) |
static long |
hash_static() |
NSMapTable<?,?> |
init() |
NSMapTable<?,?> |
initWithCoder(NSCoder coder)
NS_DESIGNATED_INITIALIZER
|
NSMapTable<?,?> |
initWithKeyOptionsValueOptionsCapacity(long keyOptions,
long valueOptions,
long initialCapacity) |
NSMapTable<?,?> |
initWithKeyPointerFunctionsValuePointerFunctionsCapacity(NSPointerFunctions keyFunctions,
NSPointerFunctions valueFunctions,
long initialCapacity) |
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) |
static boolean |
isSubclassOfClass(org.moe.natj.objc.Class aClass) |
NSEnumerator<_KeyType> |
keyEnumerator() |
static NSSet<java.lang.String> |
keyPathsForValuesAffectingValueForKey(java.lang.String key) |
NSPointerFunctions |
keyPointerFunctions()
return an NSPointerFunctions object reflecting the functions in use.
|
static <_KeyType,_ObjectType> |
mapTableWithKeyOptionsValueOptions(long keyOptions,
long valueOptions) |
static NSMapTable<?,?> |
new_objc() |
NSEnumerator<_ObjectType> |
objectEnumerator() |
_ObjectType |
objectForKey(_KeyType aKey) |
void |
removeAllObjects() |
void |
removeObjectForKey(_KeyType aKey) |
static boolean |
resolveClassMethod(org.moe.natj.objc.SEL sel) |
static boolean |
resolveInstanceMethod(org.moe.natj.objc.SEL sel) |
void |
setObjectForKey(_ObjectType anObject,
_KeyType aKey)
add/replace value (CFDictionarySetValue, NSMapInsert)
|
static void |
setVersion_static(long aVersion) |
static <_KeyType,_ObjectType> |
strongToStrongObjectsMapTable() |
static <_KeyType,_ObjectType> |
strongToWeakObjectsMapTable() |
static org.moe.natj.objc.Class |
superclass_static() |
static <_KeyType,_ObjectType> |
supportsSecureCoding() |
NSPointerFunctions |
valuePointerFunctions() |
static long |
version_static() |
static <_KeyType,_ObjectType> |
weakToStrongObjectsMapTable()
entries are not necessarily purged right away when the weak key is reclaimed
|
static <_KeyType,_ObjectType> |
weakToWeakObjectsMapTable()
entries are not necessarily purged right away when the weak key or object is reclaimed
|
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, 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, valueForKey, valueForKeyPath, valueForUndefinedKey, willChangeValueForKey, willChangeValueForKeyWithSetMutationUsingObjects, willChangeValuesAtIndexesForKeypublic static boolean accessInstanceVariablesDirectly()
public static NSMapTable<?,?> alloc()
public static NSMapTable<?,?> 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 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 <_KeyType,_ObjectType> NSMapTable<_KeyType,_ObjectType> mapTableWithKeyOptionsValueOptions(long keyOptions, long valueOptions)
public static NSMapTable<?,?> 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> NSMapTable<_KeyType,_ObjectType> strongToStrongObjectsMapTable()
public static <_KeyType,_ObjectType> NSMapTable<_KeyType,_ObjectType> strongToWeakObjectsMapTable()
public static org.moe.natj.objc.Class superclass_static()
public static long version_static()
public static <_KeyType,_ObjectType> NSMapTable<_KeyType,_ObjectType> weakToStrongObjectsMapTable()
public static <_KeyType,_ObjectType> NSMapTable<_KeyType,_ObjectType> weakToWeakObjectsMapTable()
public java.lang.Object copyWithZone(org.moe.natj.general.ptr.VoidPtr zone)
copyWithZone in interface NSCopyingpublic long count()
public long countByEnumeratingWithStateObjectsCount(org.moe.natj.general.ptr.VoidPtr state,
org.moe.natj.general.ptr.Ptr<org.moe.natj.objc.ObjCObject> buffer,
long len)
countByEnumeratingWithStateObjectsCount in interface NSFastEnumerationpublic NSDictionary<_KeyType,_ObjectType> dictionaryRepresentation()
public void encodeWithCoder(NSCoder coder)
encodeWithCoder in interface NSCodingpublic NSMapTable<?,?> init()
public NSMapTable<?,?> initWithCoder(NSCoder coder)
NSCodinginitWithCoder in interface NSCodingpublic NSMapTable<?,?> initWithKeyOptionsValueOptionsCapacity(long keyOptions, long valueOptions, long initialCapacity)
public NSMapTable<?,?> initWithKeyPointerFunctionsValuePointerFunctionsCapacity(NSPointerFunctions keyFunctions, NSPointerFunctions valueFunctions, long initialCapacity)
public NSEnumerator<_KeyType> keyEnumerator()
public NSPointerFunctions keyPointerFunctions()
public NSEnumerator<_ObjectType> objectEnumerator()
public _ObjectType objectForKey(_KeyType aKey)
public void removeAllObjects()
public void removeObjectForKey(_KeyType aKey)
public void setObjectForKey(_ObjectType anObject, _KeyType aKey)
public NSPointerFunctions valuePointerFunctions()
public static <_KeyType,_ObjectType> boolean supportsSecureCoding()
public boolean _supportsSecureCoding()
NSSecureCoding_supportsSecureCoding in interface NSSecureCoding