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:
java.lang.Iterable<T>
,java.util.Collection<T>
,java.util.Set<T>
,NSFastEnumeration
,NSObjectProtocol
,org.robovm.objc.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 class
NSMutableSet.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.SkipInit
-
-
Field Summary
-
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAIN
-
-
Constructor Summary
Constructors Modifier Constructor Description NSMutableSet()
NSMutableSet(long numItems)
NSMutableSet(java.util.Collection<T> c)
protected
NSMutableSet(NSObject.Handle h, long handle)
protected
NSMutableSet(NSObject.SkipInit skipInit)
NSMutableSet(T... objects)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addObject(NSObject object)
protected java.util.AbstractSet<T>
createAdapter()
protected long
init(long numItems)
protected void
removeAllObjects()
protected void
removeObject(NSObject 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, toArray
-
Methods 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, willChangeValues
-
-
-
-
Constructor Detail
-
NSMutableSet
public NSMutableSet()
-
NSMutableSet
protected NSMutableSet(NSObject.Handle h, long handle)
-
NSMutableSet
protected NSMutableSet(NSObject.SkipInit skipInit)
-
NSMutableSet
public NSMutableSet(long numItems)
-
NSMutableSet
public NSMutableSet(java.util.Collection<T> c)
-
NSMutableSet
public NSMutableSet(T... objects)
-
-
Method Detail
-
createAdapter
protected java.util.AbstractSet<T> createAdapter()
- Overrides:
createAdapter
in classNSSet<T extends NSObject>
-
addObject
protected void addObject(NSObject object)
-
removeObject
protected void removeObject(NSObject object)
-
init
protected long init(long numItems)
-
removeAllObjects
protected void removeAllObjects()
-
-