Package org.robovm.apple.foundation
Class NSCountedSet<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>
org.robovm.apple.foundation.NSCountedSet<T>
- All Implemented Interfaces:
Iterable<T>,Collection<T>,Set<T>,NSFastEnumeration,NSObjectProtocol,ObjCProtocol
public class NSCountedSet<T extends NSObject> extends NSMutableSet<T>
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNSCountedSet.NSCountedSetPtr<T extends NSObject>Nested classes/interfaces inherited from class org.robovm.apple.foundation.NSMutableSet
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.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 NSCountedSet()NSCountedSet(long numItems)protectedNSCountedSet(NSObject.Handle h, long handle)protectedNSCountedSet(NSObject.SkipInit skipInit) -
Method Summary
Modifier and Type Method Description protected voidaddObject(T object)protected longcountForObject(T object)intgetCount(T object)protected longinit(long numItems)protected longinit(NSArray<T> array)protected longinit(NSSet<T> set)protected NSEnumerator<T>objectEnumerator()protected voidremoveObject(T object)Methods inherited from class org.robovm.apple.foundation.NSMutableSet
createAdapter, removeAllObjectsMethods inherited from class org.robovm.apple.foundation.NSSet
add, addAll, afterMarshaled, any, asStringList, asStringSet, checkNull, clear, contains, containsAll, fromStrings, fromStrings, getCount, getValues, init, isEmpty, isMember, iterator, 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
-
NSCountedSet
public NSCountedSet() -
NSCountedSet
-
NSCountedSet
-
NSCountedSet
public NSCountedSet(long numItems)
-
-
Method Details
-
getCount
-
init
protected long init(long numItems)- Overrides:
initin classNSMutableSet<T extends NSObject>
-
init
-
init
-
countForObject
-
objectEnumerator
- Overrides:
objectEnumeratorin classNSSet<T extends NSObject>
-
addObject
- Overrides:
addObjectin classNSMutableSet<T extends NSObject>
-
removeObject
- Overrides:
removeObjectin classNSMutableSet<T extends NSObject>
-