Class NSMutableArray<_ObjectType>

    • Constructor Detail

      • NSMutableArray

        protected NSMutableArray​(org.moe.natj.general.Pointer peer)
    • Method Detail

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static java.lang.Object allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • arrayWithArray

        public static <_ObjectType> NSMutableArray<?> arrayWithArray​(NSArray<_ObjectType> array)
      • arrayWithCapacity

        public static <_ObjectType> NSMutableArray<?> arrayWithCapacity​(long numItems)
      • arrayWithContentsOfFile

        public static <_ObjectType> NSMutableArray<_ObjectType> arrayWithContentsOfFile​(java.lang.String path)
      • arrayWithContentsOfURL

        public static <_ObjectType> NSMutableArray<_ObjectType> arrayWithContentsOfURL​(NSURL url)
      • arrayWithObject

        public static <_ObjectType> NSMutableArray<?> arrayWithObject​(_ObjectType anObject)
      • arrayWithObjects

        public static <_ObjectType> NSMutableArray<?> arrayWithObjects​(_ObjectType firstObj,
                                                                       java.lang.Object... varargs)
      • arrayWithObjectsCount

        public static <_ObjectType> NSMutableArray<?> arrayWithObjectsCount​(org.moe.natj.general.ptr.Ptr<_ObjectType> objects,
                                                                            long cnt)
      • automaticallyNotifiesObserversForKey

        public static boolean automaticallyNotifiesObserversForKey​(java.lang.String key)
      • cancelPreviousPerformRequestsWithTarget

        public static void cancelPreviousPerformRequestsWithTarget​(java.lang.Object aTarget)
      • cancelPreviousPerformRequestsWithTargetSelectorObject

        public static void cancelPreviousPerformRequestsWithTargetSelectorObject​(java.lang.Object aTarget,
                                                                                 org.moe.natj.objc.SEL aSelector,
                                                                                 java.lang.Object anArgument)
      • classFallbacksForKeyedArchiver

        public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
      • classForKeyedUnarchiver

        public static 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()
      • 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

        public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(java.lang.String key)
      • new_objc

        public static java.lang.Object 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​(_ObjectType anObject)
      • addObjectsFromArray

        public void addObjectsFromArray​(NSArray<_ObjectType> otherArray)
      • exchangeObjectAtIndexWithObjectAtIndex

        public void exchangeObjectAtIndexWithObjectAtIndex​(long idx1,
                                                           long idx2)
      • filterUsingPredicate

        public void filterUsingPredicate​(NSPredicate predicate)
        evaluate a predicate against an array of objects and filter the mutable array directly
      • initWithCapacity

        public NSMutableArray<?> initWithCapacity​(long numItems)
      • insertObjectAtIndex

        public void insertObjectAtIndex​(_ObjectType anObject,
                                        long index)
      • removeAllObjects

        public void removeAllObjects()
      • removeLastObject

        public void removeLastObject()
      • removeObject

        public void removeObject​(_ObjectType anObject)
      • removeObjectInRange

        public void removeObjectInRange​(_ObjectType anObject,
                                        NSRange range)
      • removeObjectAtIndex

        public void removeObjectAtIndex​(long index)
      • removeObjectIdenticalTo

        public void removeObjectIdenticalTo​(_ObjectType anObject)
      • removeObjectIdenticalToInRange

        public void removeObjectIdenticalToInRange​(_ObjectType anObject,
                                                   NSRange range)
      • removeObjectsAtIndexes

        public void removeObjectsAtIndexes​(NSIndexSet indexes)
      • removeObjectsFromIndicesNumIndices

        @Deprecated
        public void removeObjectsFromIndicesNumIndices​(org.moe.natj.general.ptr.NUIntPtr indices,
                                                       long cnt)
        Deprecated.
      • removeObjectsInArray

        public void removeObjectsInArray​(NSArray<_ObjectType> otherArray)
      • removeObjectsInRange

        public void removeObjectsInRange​(NSRange range)
      • replaceObjectAtIndexWithObject

        public void replaceObjectAtIndexWithObject​(long index,
                                                   _ObjectType anObject)
      • replaceObjectsAtIndexesWithObjects

        public void replaceObjectsAtIndexesWithObjects​(NSIndexSet indexes,
                                                       NSArray<_ObjectType> objects)
      • replaceObjectsInRangeWithObjectsFromArray

        public void replaceObjectsInRangeWithObjectsFromArray​(NSRange range,
                                                              NSArray<_ObjectType> otherArray)
      • replaceObjectsInRangeWithObjectsFromArrayRange

        public void replaceObjectsInRangeWithObjectsFromArrayRange​(NSRange range,
                                                                   NSArray<_ObjectType> otherArray,
                                                                   NSRange otherRange)
      • setObjectAtIndexedSubscript

        public void setObjectAtIndexedSubscript​(_ObjectType obj,
                                                long idx)
      • sortUsingDescriptors

        public void sortUsingDescriptors​(NSArray<? extends NSSortDescriptor> sortDescriptors)
        sorts the array itself
      • sortUsingSelector

        public void sortUsingSelector​(org.moe.natj.objc.SEL comparator)
      • remove

        public boolean remove​(java.lang.Object o)
        Specified by:
        remove in interface java.util.Collection<_ObjectType>
        Specified by:
        remove in interface java.util.List<_ObjectType>
        Overrides:
        remove in class NSArray<_ObjectType>
      • removeAll

        public boolean removeAll​(java.util.Collection<?> c)
        Specified by:
        removeAll in interface java.util.Collection<_ObjectType>
        Specified by:
        removeAll in interface java.util.List<_ObjectType>
        Overrides:
        removeAll in class NSArray<_ObjectType>
      • retainAll

        public boolean retainAll​(java.util.Collection<?> c)
        Specified by:
        retainAll in interface java.util.Collection<_ObjectType>
        Specified by:
        retainAll in interface java.util.List<_ObjectType>
        Overrides:
        retainAll in class NSArray<_ObjectType>
      • _supportsSecureCoding

        public boolean _supportsSecureCoding()
        Description copied from interface: NSSecureCoding
        This 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:
        _supportsSecureCoding in interface NSSecureCoding
        Overrides:
        _supportsSecureCoding in class NSArray<_ObjectType>
      • arrayWithContentsOfURLError

        public static <_ObjectType> NSArray<_ObjectType> arrayWithContentsOfURLError​(NSURL url,
                                                                                     org.moe.natj.general.ptr.Ptr<NSError> error)