Package org.robovm.apple.foundation
Class NSMutableSet<T extends NSObject>
java.lang.Object
org.robovm.rt.bro.NativeObject
org.robovm.objc.ObjCObject
org.robovm.apple.foundation.NSObject
org.robovm.apple.foundation.NSSet<T>
org.robovm.apple.foundation.NSMutableSet<T>
- All Implemented Interfaces:
Iterable<T>,Collection<T>,Set<T>,NSFastEnumeration,NSObjectProtocol,ObjCProtocol
- Direct Known Subclasses:
NSCountedSet
public class NSMutableSet<T extends NSObject> extends NSSet<T>
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNSMutableSet.NSMutableSetPtr<T extends NSObject>Nested classes/interfaces inherited from class org.robovm.apple.foundation.NSSet
NSSet.AsSetMarshaler, NSSet.AsStringListMarshaler, NSSet.AsStringSetMarshaler, NSSet.NSSetPtr<T extends NSObject>Nested 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
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAINFields inherited from class org.robovm.objc.ObjCObject
customClass -
Constructor Summary
Constructors Modifier Constructor Description NSMutableSet()NSMutableSet(long numItems)NSMutableSet(Collection<T> c)protectedNSMutableSet(NSObject.Handle h, long handle)protectedNSMutableSet(NSObject.SkipInit skipInit)NSMutableSet(T... objects) -
Method Summary
Modifier and Type Method Description protected voidaddObject(T object)protected AbstractSet<T>createAdapter()protected longinit(long numItems)protected voidremoveAllObjects()protected voidremoveObject(T object)Methods inherited from class org.robovm.apple.foundation.NSSet
add, addAll, afterMarshaled, any, asStringList, asStringSet, checkNull, clear, contains, containsAll, fromStrings, fromStrings, getCount, getValues, init, init, init, isEmpty, isMember, iterator, objectEnumerator, remove, removeAll, retainAll, size, toArray, toArrayMethods inherited from class org.robovm.apple.foundation.NSObject
addKeyValueObserver, addKeyValueObserver, 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, updateStrongRefMethods inherited from class org.robovm.rt.bro.NativeObject
as, getHandle, setHandle
-
Constructor Details
-
NSMutableSet
public NSMutableSet() -
NSMutableSet
-
NSMutableSet
-
NSMutableSet
public NSMutableSet(long numItems) -
NSMutableSet
-
NSMutableSet
-
-
Method Details
-
createAdapter
- Overrides:
createAdapterin classNSSet<T extends NSObject>
-
addObject
-
removeObject
-
init
protected long init(long numItems) -
removeAllObjects
protected void removeAllObjects()
-