Package org.robovm.apple.foundation
Class NSIndexSet
java.lang.Object
org.robovm.rt.bro.NativeObject
org.robovm.objc.ObjCObject
org.robovm.apple.foundation.NSObject
org.robovm.apple.foundation.NSIndexSet
- All Implemented Interfaces:
NSCoding,NSObjectProtocol,NSSecureCoding,ObjCProtocol
- Direct Known Subclasses:
NSMutableIndexSet
public class NSIndexSet extends NSObject implements NSSecureCoding
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNSIndexSet.NSIndexSetPtrNested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInitNested classes/interfaces inherited from class org.robovm.objc.ObjCObject
ObjCObject.ObjCObjectPtr, ObjCObject.Super -
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description NSIndexSet()NSIndexSet(long value)NSIndexSet(NSCoder coder)NSIndexSet(NSIndexSet indexSet)protectedNSIndexSet(NSObject.Handle h, long handle)protectedNSIndexSet(NSObject.SkipInit skipInit)NSIndexSet(NSRange range) -
Method Summary
Methods inherited from class org.robovm.apple.foundation.NSObject
addKeyValueObserver, addKeyValueObserver, afterMarshaled, alloc, autorelease, autorelease, awakeFromNib, conformsToProtocol, copy, description, didChangeValue, didChangeValue, didChangeValues, doDispose, equals, forceSkipInit, getAutoContentAccessingProxy, getClassForCoder, getClassForKeyedArchiver, getKeyValueCoder, getObservationInfo, hash, hashCode, init, isEqual, isKindOfClass, isMemberOfClass, mutableCopy, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelectorInBackground, performSelectorOnMainThread, performSelectorOnMainThread, performSelectorV, performSelectorV, performSelectorV, release, release, removeKeyValueObserver, removeKeyValueObservers, respondsToSelector, retain, retain, retainCount, setObservationInfo, toString, willChangeValue, willChangeValue, willChangeValuesMethods inherited from class org.robovm.objc.ObjCObject
addStrongRef, dispose, dispose, finalize, getAssociatedObject, getObjCClass, getPeerObject, getSuper, initObject, logRetainRelease, removeStrongRef, retainCustomObjectFromCb, setAssociatedObject, toObjCObject, toObjCObject, updateStrongRef
-
Constructor Details
-
NSIndexSet
public NSIndexSet() -
NSIndexSet
-
NSIndexSet
-
NSIndexSet
-
NSIndexSet
-
NSIndexSet
public NSIndexSet(long value) -
NSIndexSet
-
-
Method Details
-
size
public long size() -
first
public long first() -
last
public long last() -
supportsSecureCoding
public static boolean supportsSecureCoding() -
getIndexesInRange
-
addIndexes
-
removeIndexes
-
removeAllIndexes
public void removeAllIndexes() -
addIndex
public void addIndex(long value) -
removeIndex
public void removeIndex(long value) -
addIndexes
-
removeIndexes
-
shiftIndexes
public void shiftIndexes(long index, long delta) -
init
-
init
-
init
protected long init(long value) -
equalsTo
-
greaterThan
public long greaterThan(long value) -
lessThan
public long lessThan(long value) -
greaterThanOrEqual
public long greaterThanOrEqual(long value) -
lessThanOrEqual
public long lessThanOrEqual(long value) -
getIndexes
-
getIndexCountInRange
-
containsIndex
public boolean containsIndex(long value) -
containsIndexesInRange
-
containsIndexes
-
intersectsIndexesInRange
-
enumerateIndexes
-
enumerateIndexes
-
enumerateIndexesInRange
public void enumerateIndexesInRange(NSRange range, NSEnumerationOptions opts, VoidBlock2<Long,BooleanPtr> block) -
getIndexPassingTest
-
getIndexPassingTest
public long getIndexPassingTest(NSEnumerationOptions opts, Block2<Long,BooleanPtr,Boolean> predicate) -
getIndexInRangePassingTest
public long getIndexInRangePassingTest(NSRange range, NSEnumerationOptions opts, Block2<Long,BooleanPtr,Boolean> predicate) -
getIndexesPassingTest
-
getIndexesPassingTest
public NSIndexSet getIndexesPassingTest(NSEnumerationOptions opts, Block2<Long,BooleanPtr,Boolean> predicate) -
getIndexesInRangePassingTest
public NSIndexSet getIndexesInRangePassingTest(NSRange range, NSEnumerationOptions opts, Block2<Long,BooleanPtr,Boolean> predicate) -
enumerateRanges
-
enumerateRanges
-
enumerateRangesInRange
public void enumerateRangesInRange(NSRange range, NSEnumerationOptions opts, VoidBlock2<NSRange,BooleanPtr> block) -
encode
-
init
-