Class NSIndexSet

    • Constructor Detail

      • NSIndexSet

        protected NSIndexSet​(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()
      • indexSetWithIndex

        public static NSIndexSet indexSetWithIndex​(long value)
      • indexSetWithIndexesInRange

        public static NSIndexSet indexSetWithIndexesInRange​(NSRange range)
      • 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()
      • containsIndex

        public boolean containsIndex​(long value)
      • containsIndexes

        public boolean containsIndexes​(NSIndexSet indexSet)
      • containsIndexesInRange

        public boolean containsIndexesInRange​(NSRange range)
      • copyWithZone

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

        public long count()
      • countOfIndexesInRange

        public long countOfIndexesInRange​(NSRange range)
      • enumerateRangesUsingBlock

        public void enumerateRangesUsingBlock​(NSIndexSet.Block_enumerateRangesUsingBlock block)
        The following three convenience methods allow you to enumerate the indexes in the receiver by ranges of contiguous indexes. The performance of these methods is not guaranteed to be any better than if they were implemented with enumerateIndexesInRange:options:usingBlock:. However, depending on the receiver's implementation, they may perform better than that. If the specified range for enumeration intersects a range of contiguous indexes in the receiver, then the block will be invoked with the intersection of those two ranges.
      • firstIndex

        public long firstIndex()
        The following six methods will return NSNotFound if there is no index in the set satisfying the query.
      • getIndexesMaxCountInIndexRange

        public long getIndexesMaxCountInIndexRange​(org.moe.natj.general.ptr.NUIntPtr indexBuffer,
                                                   long bufferSize,
                                                   NSRange range)
        Fills up to bufferSize indexes in the specified range into the buffer and returns the number of indexes actually placed in the buffer; also modifies the optional range passed in by pointer to be "positioned" after the last index filled into the buffer.Example: if the index set contains the indexes 0, 2, 4, ..., 98, 100, for a buffer of size 10 and the range (20, 80) the buffer would contain 20, 22, ..., 38 and the range would be modified to (40, 60).
      • indexGreaterThanIndex

        public long indexGreaterThanIndex​(long value)
      • indexGreaterThanOrEqualToIndex

        public long indexGreaterThanOrEqualToIndex​(long value)
      • indexLessThanIndex

        public long indexLessThanIndex​(long value)
      • indexLessThanOrEqualToIndex

        public long indexLessThanOrEqualToIndex​(long value)
      • initWithIndex

        public NSIndexSet initWithIndex​(long value)
      • initWithIndexesInRange

        public NSIndexSet initWithIndexesInRange​(NSRange range)
      • intersectsIndexesInRange

        public boolean intersectsIndexesInRange​(NSRange range)
      • isEqualToIndexSet

        public boolean isEqualToIndexSet​(NSIndexSet indexSet)
      • lastIndex

        public long lastIndex()
      • mutableCopyWithZone

        public java.lang.Object mutableCopyWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
        Specified by:
        mutableCopyWithZone in interface NSMutableCopying
      • _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