Class NSIndexPath

    • Constructor Detail

      • NSIndexPath

        protected NSIndexPath​(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)
      • 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()
      • indexPathForItemInSection

        public static NSIndexPath indexPathForItemInSection​(long item,
                                                            long section)
      • indexPathForRowInSection

        public static NSIndexPath indexPathForRowInSection​(long row,
                                                           long section)
      • indexPathWithIndex

        public static NSIndexPath indexPathWithIndex​(long index)
      • indexPathWithIndexesLength

        public static NSIndexPath indexPathWithIndexesLength​(org.moe.natj.general.ptr.ConstNUIntPtr indexes,
                                                             long length)
      • 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()
      • compare

        public long compare​(NSIndexPath otherObject)
        sorting an array of indexPaths using this comparison results in an array representing nodes in depth-first traversal order
      • copyWithZone

        public java.lang.Object copyWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
        Specified by:
        copyWithZone in interface NSCopying
      • getIndexes

        public void getIndexes​(org.moe.natj.general.ptr.NUIntPtr indexes)
        use -getIndexes:range: instead
      • getIndexesRange

        public void getIndexesRange​(org.moe.natj.general.ptr.NUIntPtr indexes,
                                    NSRange positionRange)
        Copies the indexes stored in this index path from the positions specified by positionRange into indexes. It is the developer’s responsibility to allocate the memory for the C array.
        Parameters:
        indexes - Buffer of at least as many NSUIntegers as specified by the length of positionRange. On return, this memory will hold the index path's indexes.
        positionRange - A range of valid positions within this index path. If the location plus the length of positionRange is greater than the length of this index path, this method raises an NSRangeException.
      • indexAtPosition

        public long indexAtPosition​(long position)
      • indexPathByAddingIndex

        public NSIndexPath indexPathByAddingIndex​(long index)
      • indexPathByRemovingLastIndex

        public NSIndexPath indexPathByRemovingLastIndex()
      • initWithIndex

        public NSIndexPath initWithIndex​(long index)
      • initWithIndexesLength

        public NSIndexPath initWithIndexesLength​(org.moe.natj.general.ptr.ConstNUIntPtr indexes,
                                                 long length)
      • item

        public long item()
        Returns the index at position 1 if it exists, otherwise returns NSNotFound.
      • length

        public long length()
      • row

        public long row()
        Returns the index at position 1.
      • section

        public long section()
        Returns the index at position 0.
      • _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