Package org.robovm.apple.corefoundation
Class CFSet
java.lang.Object
org.robovm.rt.bro.NativeObject
org.robovm.apple.corefoundation.CFType
org.robovm.apple.corefoundation.CFSet
- All Implemented Interfaces:
AutoCloseable
- Direct Known Subclasses:
CFMutableSet
public class CFSet extends CFType
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCFSet.CFSetPtrNested classes/interfaces inherited from class org.robovm.apple.corefoundation.CFType
CFType.AsListMarshaler, CFType.CFTypePtr, CFType.Marshaler, CFType.NoRetainMarshaler -
Constructor Summary
Constructors Modifier Constructor Description protectedCFSet() -
Method Summary
Modifier and Type Method Description voidadd(NativeObject value)protected voidapplyFunction(FunctionPtr applier, VoidPtr context)voidclear()booleancontains(NativeObject value)protected booleancontainsValue(VoidPtr value)static <T extends NativeObject>
CFSetcreate(Collection<T> objects)protected static CFSetcreate(CFAllocator allocator, VoidPtr.VoidPtrPtr values, long numValues, org.robovm.apple.corefoundation.CFSetCallBacks callBacks)static CFSetcreate(CFType... objects)static CFSetcreate(NSObject... objects)protected static CFSetcreateCopy(CFAllocator allocator, CFSet theSet)static longgetClassTypeID()static org.robovm.apple.corefoundation.CFSetCallBacksgetCopyStringCallBacks()protected longgetCountOfValue(VoidPtr value)static org.robovm.apple.corefoundation.CFSetCallBacksgetTypeCallBacks()protected VoidPtrgetValue(VoidPtr value)protected booleangetValueIfPresent(VoidPtr candidate, VoidPtr.VoidPtrPtr value)protected voidgetValues(VoidPtr.VoidPtrPtr values)voidremove(NativeObject value)longsize()Methods inherited from class org.robovm.apple.corefoundation.CFType
autorelease, close, dispose, dispose, doDispose, equalsTo, finalize, getAllocator, getDescription, getRetainCount, getTypeID, getTypeIDDescription, hash, makeCollectable, release, release, retain, retain, show, toString
-
Constructor Details
-
CFSet
protected CFSet()
-
-
Method Details
-
create
-
create
-
create
-
contains
-
add
-
remove
-
clear
public void clear() -
getTypeCallBacks
public static org.robovm.apple.corefoundation.CFSetCallBacks getTypeCallBacks() -
getCopyStringCallBacks
public static org.robovm.apple.corefoundation.CFSetCallBacks getCopyStringCallBacks() -
getClassTypeID
public static long getClassTypeID() -
create
protected static CFSet create(CFAllocator allocator, VoidPtr.VoidPtrPtr values, long numValues, org.robovm.apple.corefoundation.CFSetCallBacks callBacks) -
createCopy
-
size
public long size() -
getCountOfValue
-
containsValue
-
getValue
-
getValueIfPresent
-
getValues
-
applyFunction
-