Package org.robovm.apple.corefoundation
Class CFBitVector
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.apple.corefoundation.CFType
-
- org.robovm.apple.corefoundation.CFBitVector
-
- All Implemented Interfaces:
java.lang.AutoCloseable
- Direct Known Subclasses:
CFMutableBitVector
public class CFBitVector extends CFType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CFBitVector.CFBitVectorPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.corefoundation.CFType
CFType.AsListMarshaler, CFType.CFTypePtr, CFType.Marshaler, CFType.NoRetainMarshaler
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
CFBitVector()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
contains(CFRange range, int value)
static CFBitVector
create(byte[] bytes)
static CFBitVector
create(java.nio.ByteBuffer bytes)
static CFBitVector
create(CFAllocator allocator, byte[] bytes)
static CFBitVector
create(CFAllocator allocator, java.nio.ByteBuffer bytes)
static CFBitVector
createCopy(CFAllocator allocator, CFBitVector bv)
static CFBitVector
createCopy(CFBitVector bv)
int
get(long idx)
byte[]
getBytes()
static long
getClassTypeID()
long
getCount()
long
getCountOfBit(CFRange range, int value)
long
indexOf(CFRange range, int value)
long
lastIndexOf(CFRange range, int value)
-
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
-
-
-
-
Method Detail
-
create
public static CFBitVector create(byte[] bytes)
-
create
public static CFBitVector create(CFAllocator allocator, byte[] bytes)
-
create
public static CFBitVector create(java.nio.ByteBuffer bytes)
-
create
public static CFBitVector create(CFAllocator allocator, java.nio.ByteBuffer bytes)
-
createCopy
public static CFBitVector createCopy(CFBitVector bv)
-
getBytes
public byte[] getBytes()
-
getClassTypeID
public static long getClassTypeID()
-
createCopy
public static CFBitVector createCopy(CFAllocator allocator, CFBitVector bv)
-
getCount
public long getCount()
-
getCountOfBit
public long getCountOfBit(CFRange range, int value)
-
contains
public boolean contains(CFRange range, int value)
-
get
public int get(long idx)
-
indexOf
public long indexOf(CFRange range, int value)
-
lastIndexOf
public long lastIndexOf(CFRange range, int value)
-
-