Class NSOrderedCollectionChange<_ObjectType>

  • All Implemented Interfaces:
    NSObject

    public class NSOrderedCollectionChange<_ObjectType>
    extends NSObject
    API-Since: 13.0
    • Constructor Detail

      • NSOrderedCollectionChange

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • associatedIndex

        public long associatedIndex()
        When non-NSNotFound, indicates that this change is one half of a move, with this value referring to the index of the other change that completes it. For differences produced by identity comparison (instead of equality), each change representing a move operation may store different objects.
      • 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)
      • changeType

        public long changeType()
        The change type: insert or remove
      • changeWithObjectTypeIndex

        @NotNull
        public static <_ObjectType> @NotNull NSOrderedCollectionChange<_ObjectType> changeWithObjectTypeIndex​(@Nullable
                                                                                                              _ObjectType anObject,
                                                                                                              long type,
                                                                                                              long index)
      • changeWithObjectTypeIndexAssociatedIndex

        @NotNull
        public static <_ObjectType> @NotNull NSOrderedCollectionChange<_ObjectType> changeWithObjectTypeIndexAssociatedIndex​(@Nullable
                                                                                                                             _ObjectType anObject,
                                                                                                                             long type,
                                                                                                                             long index,
                                                                                                                             long associatedIndex)
      • 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()
      • index

        public long index()
        For removes, the index of the object in the original state. For inserts, the index of the object in the final state.
      • initWithObjectTypeIndexAssociatedIndex

        public NSOrderedCollectionChange<?> initWithObjectTypeIndexAssociatedIndex​(@Nullable
                                                                                   _ObjectType anObject,
                                                                                   long type,
                                                                                   long index,
                                                                                   long associatedIndex)
      • 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)
      • object

        @Nullable
        public _ObjectType object()
        The object that was inserted or removed, if recorded
      • 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()
      • version_static

        public static long version_static()
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.