Class CFSet

All Implemented Interfaces:
AutoCloseable
Direct Known Subclasses:
CFMutableSet

public class CFSet
extends CFType
  • Constructor Details

    • CFSet

      protected CFSet()
  • Method Details

    • create

      public static <T extends NativeObject> CFSet create​(Collection<T> objects)
    • create

      public static CFSet create​(NSObject... objects)
    • create

      public static CFSet create​(CFType... objects)
    • contains

      public boolean contains​(NativeObject value)
    • add

      public void add​(NativeObject value)
    • remove

      public void remove​(NativeObject value)
    • 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

      protected static CFSet createCopy​(CFAllocator allocator, CFSet theSet)
    • size

      public long size()
    • getCountOfValue

      protected long getCountOfValue​(VoidPtr value)
    • containsValue

      protected boolean containsValue​(VoidPtr value)
    • getValue

      protected VoidPtr getValue​(VoidPtr value)
    • getValueIfPresent

      protected boolean getValueIfPresent​(VoidPtr candidate, VoidPtr.VoidPtrPtr value)
    • getValues

      protected void getValues​(VoidPtr.VoidPtrPtr values)
    • applyFunction

      protected void applyFunction​(FunctionPtr applier, VoidPtr context)