Package apple.foundation
Class NSMutableArray<_ObjectType>
- java.lang.Object
-
- org.moe.natj.general.NativeObject
-
- org.moe.natj.objc.ObjCObject
-
- apple.NSObject
-
- apple.foundation.NSArray<_ObjectType>
-
- apple.foundation.NSMutableArray<_ObjectType>
-
- All Implemented Interfaces:
CKRecordValue,NSCoding,NSCopying,NSFastEnumeration,NSMutableCopying,NSSecureCoding,NSObject,java.lang.Iterable<_ObjectType>,java.util.Collection<_ObjectType>,java.util.List<_ObjectType>
public class NSMutableArray<_ObjectType> extends NSArray<_ObjectType>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceNSMutableArray.Block_sortUsingComparatorstatic interfaceNSMutableArray.Block_sortWithOptionsUsingComparatorstatic interfaceNSMutableArray.Function_sortUsingFunctionContext-
Nested classes/interfaces inherited from class apple.foundation.NSArray
NSArray.Block_differenceFromArrayWithOptionsUsingEquivalenceTest, NSArray.Block_enumerateObjectsAtIndexesOptionsUsingBlock, NSArray.Block_enumerateObjectsUsingBlock, NSArray.Block_enumerateObjectsWithOptionsUsingBlock, NSArray.Block_indexesOfObjectsAtIndexesOptionsPassingTest, NSArray.Block_indexesOfObjectsPassingTest, NSArray.Block_indexesOfObjectsWithOptionsPassingTest, NSArray.Block_indexOfObjectAtIndexesOptionsPassingTest, NSArray.Block_indexOfObjectInSortedRangeOptionsUsingComparator, NSArray.Block_indexOfObjectPassingTest, NSArray.Block_indexOfObjectWithOptionsPassingTest, NSArray.Block_sortedArrayUsingComparator, NSArray.Block_sortedArrayWithOptionsUsingComparator, NSArray.Function_sortedArrayUsingFunctionContext, NSArray.Function_sortedArrayUsingFunctionContextHint
-
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 protectedNSMutableArray(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()voidadd(int index, _ObjectType element)booleanadd(_ObjectType e)booleanaddAll(int index, java.util.Collection<? extends _ObjectType> c)booleanaddAll(java.util.Collection<? extends _ObjectType> c)voidaddObject(_ObjectType anObject)voidaddObjectsFromArray(@NotNull NSArray<_ObjectType> otherArray)static NSMutableArray<?>alloc()static NSMutableArray<?>allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)voidapplyDifference(@NotNull NSOrderedCollectionDifference<_ObjectType> difference)static <_ObjectType>
NSMutableArray<?>array()static <_ObjectType>
NSMutableArray<?>arrayWithArray(@NotNull NSArray<_ObjectType> array)static <_ObjectType>
NSMutableArray<?>arrayWithCapacity(long numItems)static <_ObjectType>
@Nullable NSMutableArray<_ObjectType>arrayWithContentsOfFile(@NotNull java.lang.String path)static <_ObjectType>
@Nullable NSMutableArray<_ObjectType>arrayWithContentsOfURL(@NotNull NSURL url)static <_ObjectType>
@Nullable NSArray<_ObjectType>arrayWithContentsOfURLError(@NotNull NSURL url, @Nullable org.moe.natj.general.ptr.Ptr<NSError> error)static <_ObjectType>
NSMutableArray<?>arrayWithObject(_ObjectType anObject)static <_ObjectType>
NSMutableArray<?>arrayWithObjects(_ObjectType firstObj, java.lang.Object... varargs)static <_ObjectType>
NSMutableArray<?>arrayWithObjectsCount(@NotNull org.moe.natj.general.ptr.Ptr<_ObjectType> objects, long cnt)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()static java.lang.StringdebugDescription_static()static java.lang.Stringdescription_static()voidexchangeObjectAtIndexWithObjectAtIndex(long idx1, long idx2)voidfilterUsingPredicate(@NotNull NSPredicate predicate)evaluate a predicate against an array of objects and filter the mutable array directlystatic longhash_static()NSMutableArray<?>init()NSMutableArray<?>initWithArray(@NotNull NSArray<_ObjectType> array)NSMutableArray<?>initWithArrayCopyItems(@NotNull NSArray<_ObjectType> array, boolean flag)NSMutableArray<?>initWithCapacity(long numItems)NSMutableArray<?>initWithCoder(@NotNull NSCoder coder)NS_DESIGNATED_INITIALIZER@Nullable NSMutableArray<_ObjectType>initWithContentsOfFile(@NotNull java.lang.String path)API-Since: 2.0 Deprecated-Since: 100000.0@Nullable NSMutableArray<_ObjectType>initWithContentsOfURL(@NotNull NSURL url)API-Since: 2.0 Deprecated-Since: 100000.0@Nullable NSArray<_ObjectType>initWithContentsOfURLError(@NotNull NSURL url, @Nullable org.moe.natj.general.ptr.Ptr<NSError> error)Reads array stored in NSPropertyList format from the specified url.NSMutableArray<?>initWithObjects(_ObjectType firstObj, java.lang.Object... varargs)NSMutableArray<?>initWithObjectsCount(@Nullable org.moe.natj.general.ptr.Ptr<_ObjectType> objects, long cnt)voidinsertObjectAtIndex(_ObjectType anObject, long index)voidinsertObjectsAtIndexes(@NotNull NSArray<_ObjectType> objects, @NotNull NSIndexSet indexes)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)static booleanisSubclassOfClass(org.moe.natj.objc.Class aClass)java.util.Iterator<_ObjectType>iterator()static @NotNull NSSet<java.lang.String>keyPathsForValuesAffectingValueForKey(@NotNull java.lang.String key)intlastIndexOf(java.lang.Object o)java.util.ListIterator<_ObjectType>listIterator()java.util.ListIterator<_ObjectType>listIterator(int index)static NSMutableArray<?>new_objc()_ObjectTyperemove(int index)booleanremove(java.lang.Object o)booleanremoveAll(java.util.Collection<?> c)voidremoveAllObjects()voidremoveLastObject()voidremoveObject(_ObjectType anObject)voidremoveObjectAtIndex(long index)voidremoveObjectIdenticalTo(_ObjectType anObject)voidremoveObjectIdenticalToInRange(_ObjectType anObject, NSRange range)voidremoveObjectInRange(_ObjectType anObject, NSRange range)voidremoveObjectsAtIndexes(@NotNull NSIndexSet indexes)voidremoveObjectsFromIndicesNumIndices(@NotNull org.moe.natj.general.ptr.NUIntPtr indices, long cnt)Deprecated.voidremoveObjectsInArray(@NotNull NSArray<_ObjectType> otherArray)voidremoveObjectsInRange(NSRange range)voidreplaceObjectAtIndexWithObject(long index, _ObjectType anObject)voidreplaceObjectsAtIndexesWithObjects(@NotNull NSIndexSet indexes, @NotNull NSArray<_ObjectType> objects)voidreplaceObjectsInRangeWithObjectsFromArray(NSRange range, @NotNull NSArray<_ObjectType> otherArray)voidreplaceObjectsInRangeWithObjectsFromArrayRange(NSRange range, @NotNull NSArray<_ObjectType> otherArray, NSRange otherRange)static booleanresolveClassMethod(org.moe.natj.objc.SEL sel)static booleanresolveInstanceMethod(org.moe.natj.objc.SEL sel)booleanretainAll(java.util.Collection<?> c)_ObjectTypeset(int index, _ObjectType element)voidsetArray(@NotNull NSArray<_ObjectType> otherArray)voidsetObjectAtIndexedSubscript(_ObjectType obj, long idx)API-Since: 6.0static voidsetVersion_static(long aVersion)voidsortUsingComparator(@NotNull NSMutableArray.Block_sortUsingComparator cmptr)API-Since: 4.0voidsortUsingDescriptors(@NotNull NSArray<? extends NSSortDescriptor> sortDescriptors)sorts the array itselfvoidsortUsingFunctionContext(@NotNull NSMutableArray.Function_sortUsingFunctionContext compare, @Nullable org.moe.natj.general.ptr.VoidPtr context)voidsortUsingSelector(@NotNull org.moe.natj.objc.SEL comparator)voidsortWithOptionsUsingComparator(long opts, @NotNull NSMutableArray.Block_sortWithOptionsUsingComparator cmptr)API-Since: 4.0static org.moe.natj.objc.Classsuperclass_static()static booleansupportsSecureCoding()static booleanuseStoredAccessor()Deprecated.static longversion_static()-
Methods inherited from class apple.foundation.NSArray
addObserverForKeyPathOptionsContext, addObserverToObjectsAtIndexesForKeyPathOptionsContext, arrayByAddingObject, arrayByAddingObjectsFromArray, arrayByApplyingDifference, componentsJoinedByString, contains, containsAll, containsObject, copyWithZone, count, countByEnumeratingWithStateObjectsCount, description, descriptionWithLocale, descriptionWithLocaleIndent, differenceFromArray, differenceFromArrayWithOptions, differenceFromArrayWithOptionsUsingEquivalenceTest, encodeWithCoder, enumerateObjectsAtIndexesOptionsUsingBlock, enumerateObjectsUsingBlock, enumerateObjectsWithOptionsUsingBlock, equals, filteredArrayUsingPredicate, firstObject, firstObjectCommonWithArray, get, getObjects, getObjectsRange, hashCode, indexesOfObjectsAtIndexesOptionsPassingTest, indexesOfObjectsPassingTest, indexesOfObjectsWithOptionsPassingTest, indexOf, indexOfObject, indexOfObjectAtIndexesOptionsPassingTest, indexOfObjectIdenticalTo, indexOfObjectIdenticalToInRange, indexOfObjectInRange, indexOfObjectInSortedRangeOptionsUsingComparator, indexOfObjectPassingTest, indexOfObjectWithOptionsPassingTest, isEmpty, isEqualToArray, lastObject, makeObjectsPerformSelector, makeObjectsPerformSelectorWithObject, mutableCopyWithZone, objectAtIndex, objectAtIndexedSubscript, objectEnumerator, objectsAtIndexes, pathsMatchingExtensions, removeObserverForKeyPath, removeObserverForKeyPathContext, removeObserverFromObjectsAtIndexesForKeyPath, removeObserverFromObjectsAtIndexesForKeyPathContext, reverseObjectEnumerator, setValueForKey, shuffledArray, shuffledArrayWithRandomSource, size, sortedArrayHint, sortedArrayUsingComparator, sortedArrayUsingDescriptors, sortedArrayUsingFunctionContext, sortedArrayUsingFunctionContextHint, sortedArrayUsingSelector, sortedArrayWithOptionsUsingComparator, subarrayWithRange, subList, toArray, toArray, 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, 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, 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, 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 NSMutableArray<?> alloc()
-
allocWithZone
public static NSMutableArray<?> allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
-
array
public static <_ObjectType> NSMutableArray<?> array()
-
arrayWithArray
public static <_ObjectType> NSMutableArray<?> arrayWithArray(@NotNull @NotNull NSArray<_ObjectType> array)
-
arrayWithCapacity
public static <_ObjectType> NSMutableArray<?> arrayWithCapacity(long numItems)
-
arrayWithContentsOfFile
@Nullable public static <_ObjectType> @Nullable NSMutableArray<_ObjectType> arrayWithContentsOfFile(@NotNull @NotNull java.lang.String path)
-
arrayWithContentsOfURL
@Nullable public static <_ObjectType> @Nullable NSMutableArray<_ObjectType> arrayWithContentsOfURL(@NotNull @NotNull NSURL url)
-
arrayWithObject
public static <_ObjectType> NSMutableArray<?> arrayWithObject(@NotNull _ObjectType anObject)
-
arrayWithObjects
public static <_ObjectType> NSMutableArray<?> arrayWithObjects(@NotNull _ObjectType firstObj, java.lang.Object... varargs)
-
arrayWithObjectsCount
public static <_ObjectType> NSMutableArray<?> arrayWithObjectsCount(@NotNull @NotNull org.moe.natj.general.ptr.Ptr<_ObjectType> objects, long cnt)
-
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()
-
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 NSMutableArray<?> 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)
-
superclass_static
public static org.moe.natj.objc.Class superclass_static()
-
supportsSecureCoding
public static boolean supportsSecureCoding()
-
version_static
public static long version_static()
-
addObject
public void addObject(@NotNull _ObjectType anObject)
-
addObjectsFromArray
public void addObjectsFromArray(@NotNull @NotNull NSArray<_ObjectType> otherArray)
-
exchangeObjectAtIndexWithObjectAtIndex
public void exchangeObjectAtIndexWithObjectAtIndex(long idx1, long idx2)
-
filterUsingPredicate
public void filterUsingPredicate(@NotNull @NotNull NSPredicate predicate)evaluate a predicate against an array of objects and filter the mutable array directly
-
init
public NSMutableArray<?> init()
- Overrides:
initin classNSArray<_ObjectType>
-
initWithArray
public NSMutableArray<?> initWithArray(@NotNull @NotNull NSArray<_ObjectType> array)
- Overrides:
initWithArrayin classNSArray<_ObjectType>
-
initWithArrayCopyItems
public NSMutableArray<?> initWithArrayCopyItems(@NotNull @NotNull NSArray<_ObjectType> array, boolean flag)
- Overrides:
initWithArrayCopyItemsin classNSArray<_ObjectType>
-
initWithCapacity
public NSMutableArray<?> initWithCapacity(long numItems)
-
initWithCoder
public NSMutableArray<?> initWithCoder(@NotNull @NotNull NSCoder coder)
Description copied from interface:NSCodingNS_DESIGNATED_INITIALIZER- Specified by:
initWithCoderin interfaceNSCoding- Overrides:
initWithCoderin classNSArray<_ObjectType>
-
initWithContentsOfFile
@Nullable public @Nullable NSMutableArray<_ObjectType> initWithContentsOfFile(@NotNull @NotNull java.lang.String path)
Description copied from class:NSArrayAPI-Since: 2.0 Deprecated-Since: 100000.0- Overrides:
initWithContentsOfFilein classNSArray<_ObjectType>
-
initWithContentsOfURL
@Nullable public @Nullable NSMutableArray<_ObjectType> initWithContentsOfURL(@NotNull @NotNull NSURL url)
Description copied from class:NSArrayAPI-Since: 2.0 Deprecated-Since: 100000.0- Overrides:
initWithContentsOfURLin classNSArray<_ObjectType>
-
initWithObjects
public NSMutableArray<?> initWithObjects(@NotNull _ObjectType firstObj, java.lang.Object... varargs)
- Overrides:
initWithObjectsin classNSArray<_ObjectType>
-
initWithObjectsCount
public NSMutableArray<?> initWithObjectsCount(@Nullable @Nullable org.moe.natj.general.ptr.Ptr<_ObjectType> objects, long cnt)
- Overrides:
initWithObjectsCountin classNSArray<_ObjectType>
-
insertObjectAtIndex
public void insertObjectAtIndex(@NotNull _ObjectType anObject, long index)
-
insertObjectsAtIndexes
public void insertObjectsAtIndexes(@NotNull @NotNull NSArray<_ObjectType> objects, @NotNull @NotNull NSIndexSet indexes)
-
removeAllObjects
public void removeAllObjects()
-
removeLastObject
public void removeLastObject()
-
removeObject
public void removeObject(@NotNull _ObjectType anObject)
-
removeObjectInRange
public void removeObjectInRange(@NotNull _ObjectType anObject, NSRange range)
-
removeObjectAtIndex
public void removeObjectAtIndex(long index)
-
removeObjectIdenticalTo
public void removeObjectIdenticalTo(@NotNull _ObjectType anObject)
-
removeObjectIdenticalToInRange
public void removeObjectIdenticalToInRange(@NotNull _ObjectType anObject, NSRange range)
-
removeObjectsAtIndexes
public void removeObjectsAtIndexes(@NotNull @NotNull NSIndexSet indexes)
-
removeObjectsFromIndicesNumIndices
@Deprecated public void removeObjectsFromIndicesNumIndices(@NotNull @NotNull org.moe.natj.general.ptr.NUIntPtr indices, long cnt)Deprecated.API-Since: 2.0 Deprecated-Since: 4.0 Deprecated-Message: Not supported
-
removeObjectsInArray
public void removeObjectsInArray(@NotNull @NotNull NSArray<_ObjectType> otherArray)
-
removeObjectsInRange
public void removeObjectsInRange(NSRange range)
-
replaceObjectAtIndexWithObject
public void replaceObjectAtIndexWithObject(long index, @NotNull _ObjectType anObject)
-
replaceObjectsAtIndexesWithObjects
public void replaceObjectsAtIndexesWithObjects(@NotNull @NotNull NSIndexSet indexes, @NotNull @NotNull NSArray<_ObjectType> objects)
-
replaceObjectsInRangeWithObjectsFromArray
public void replaceObjectsInRangeWithObjectsFromArray(NSRange range, @NotNull @NotNull NSArray<_ObjectType> otherArray)
-
replaceObjectsInRangeWithObjectsFromArrayRange
public void replaceObjectsInRangeWithObjectsFromArrayRange(NSRange range, @NotNull @NotNull NSArray<_ObjectType> otherArray, NSRange otherRange)
-
setArray
public void setArray(@NotNull @NotNull NSArray<_ObjectType> otherArray)
-
setObjectAtIndexedSubscript
public void setObjectAtIndexedSubscript(@NotNull _ObjectType obj, long idx)API-Since: 6.0
-
sortUsingComparator
public void sortUsingComparator(@NotNull @NotNull NSMutableArray.Block_sortUsingComparator cmptr)API-Since: 4.0
-
sortUsingDescriptors
public void sortUsingDescriptors(@NotNull @NotNull NSArray<? extends NSSortDescriptor> sortDescriptors)sorts the array itself
-
sortUsingFunctionContext
public void sortUsingFunctionContext(@NotNull @NotNull NSMutableArray.Function_sortUsingFunctionContext compare, @Nullable @Nullable org.moe.natj.general.ptr.VoidPtr context)
-
sortUsingSelector
public void sortUsingSelector(@NotNull @NotNull org.moe.natj.objc.SEL comparator)
-
sortWithOptionsUsingComparator
public void sortWithOptionsUsingComparator(long opts, @NotNull @NotNull NSMutableArray.Block_sortWithOptionsUsingComparator cmptr)API-Since: 4.0
-
add
public boolean add(_ObjectType e)
- Specified by:
addin interfacejava.util.Collection<_ObjectType>- Specified by:
addin interfacejava.util.List<_ObjectType>- Overrides:
addin classNSArray<_ObjectType>
-
add
public void add(int index, _ObjectType element)- Specified by:
addin interfacejava.util.List<_ObjectType>- Overrides:
addin classNSArray<_ObjectType>
-
addAll
public boolean addAll(java.util.Collection<? extends _ObjectType> c)
- Specified by:
addAllin interfacejava.util.Collection<_ObjectType>- Specified by:
addAllin interfacejava.util.List<_ObjectType>- Overrides:
addAllin classNSArray<_ObjectType>
-
addAll
public boolean addAll(int index, java.util.Collection<? extends _ObjectType> c)- Specified by:
addAllin interfacejava.util.List<_ObjectType>- Overrides:
addAllin classNSArray<_ObjectType>
-
clear
public void clear()
- Specified by:
clearin interfacejava.util.Collection<_ObjectType>- Specified by:
clearin interfacejava.util.List<_ObjectType>- Overrides:
clearin classNSArray<_ObjectType>
-
iterator
public java.util.Iterator<_ObjectType> iterator()
- Specified by:
iteratorin interfacejava.util.Collection<_ObjectType>- Specified by:
iteratorin interfacejava.lang.Iterable<_ObjectType>- Specified by:
iteratorin interfacejava.util.List<_ObjectType>- Overrides:
iteratorin classNSArray<_ObjectType>
-
lastIndexOf
public int lastIndexOf(java.lang.Object o)
- Specified by:
lastIndexOfin interfacejava.util.List<_ObjectType>- Overrides:
lastIndexOfin classNSArray<_ObjectType>
-
listIterator
public java.util.ListIterator<_ObjectType> listIterator()
- Specified by:
listIteratorin interfacejava.util.List<_ObjectType>- Overrides:
listIteratorin classNSArray<_ObjectType>
-
listIterator
public java.util.ListIterator<_ObjectType> listIterator(int index)
- Specified by:
listIteratorin interfacejava.util.List<_ObjectType>- Overrides:
listIteratorin classNSArray<_ObjectType>
-
remove
public boolean remove(java.lang.Object o)
- Specified by:
removein interfacejava.util.Collection<_ObjectType>- Specified by:
removein interfacejava.util.List<_ObjectType>- Overrides:
removein classNSArray<_ObjectType>
-
remove
public _ObjectType remove(int index)
- Specified by:
removein interfacejava.util.List<_ObjectType>- Overrides:
removein classNSArray<_ObjectType>
-
removeAll
public boolean removeAll(java.util.Collection<?> c)
- Specified by:
removeAllin interfacejava.util.Collection<_ObjectType>- Specified by:
removeAllin interfacejava.util.List<_ObjectType>- Overrides:
removeAllin classNSArray<_ObjectType>
-
retainAll
public boolean retainAll(java.util.Collection<?> c)
- Specified by:
retainAllin interfacejava.util.Collection<_ObjectType>- Specified by:
retainAllin interfacejava.util.List<_ObjectType>- Overrides:
retainAllin classNSArray<_ObjectType>
-
set
public _ObjectType set(int index, _ObjectType element)
- Specified by:
setin interfacejava.util.List<_ObjectType>- Overrides:
setin classNSArray<_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 classNSArray<_ObjectType>
-
arrayWithContentsOfURLError
@Nullable public static <_ObjectType> @Nullable NSArray<_ObjectType> arrayWithContentsOfURLError(@NotNull @NotNull NSURL url, @Nullable @Nullable org.moe.natj.general.ptr.Ptr<NSError> error)
-
initWithContentsOfURLError
@Nullable public @Nullable NSArray<_ObjectType> initWithContentsOfURLError(@NotNull @NotNull NSURL url, @Nullable @Nullable org.moe.natj.general.ptr.Ptr<NSError> error)
Description copied from class:NSArrayReads array stored in NSPropertyList format from the specified url. API-Since: 11.0- Overrides:
initWithContentsOfURLErrorin classNSArray<_ObjectType>
-
applyDifference
public void applyDifference(@NotNull @NotNull NSOrderedCollectionDifference<_ObjectType> difference)
-
useStoredAccessor
@Deprecated public static boolean useStoredAccessor()
Deprecated.
-
-