java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.core.QBitArray
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
public class QBitArray extends QtObject implements Cloneable
Array of bits
Java wrapper for Qt class QBitArray
-
Nested Class Summary
-
Constructor Summary
Constructors Modifier Constructor Description QBitArray()
QBitArray(int size)
Overloaded constructor forQBitArray(int, boolean)
withval = false
.QBitArray(int size, boolean val)
QBitArray(QBitArray other)
protected
QBitArray(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
Modifier and Type Method Description QBitArray
and(QBitArray arg__1)
boolean
at(int i)
ByteBuffer
bits()
void
clear()
void
clearBit(int i)
QBitArray
clone()
int
count()
int
count(boolean on)
void
detach()
boolean
equals(Object other)
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface.boolean
fill(boolean val)
Overloaded function forfill(boolean, int)
withsize = -1
.boolean
fill(boolean val, int size)
void
fill(boolean val, int first, int last)
static QBitArray
fromBits(boolean[] data)
static QBitArray
fromBits(byte[] data)
static QBitArray
fromBits(ByteBuffer data, long len)
int
hashCode()
QBitArray
inverted()
boolean
isDetached()
boolean
isEmpty()
boolean
isNull()
QBitArray
or(QBitArray arg__1)
void
readFrom(QDataStream arg__1)
void
resize(int size)
QBitArray
set(QBitArray other)
void
setBit(int i)
void
setBit(int i, boolean val)
int
size()
void
swap(QBitArray other)
boolean
testBit(int i)
boolean[]
toBitArray()
boolean
toggleBit(int i)
String
toString()
void
truncate(int pos)
void
writeTo(QDataStream arg__1)
QBitArray
xor(QBitArray arg__1)
-
Constructor Details
-
Method Details
-
at
-
bits
-
clear
-
clearBit
-
count
-
count
-
detach
-
fill
-
fill
Overloaded function for
fill(boolean, int)
withsize = -1
. -
fill
-
isDetached
-
isEmpty
-
isNull
-
and
-
writeTo
-
set
-
readFrom
-
xor
-
or
-
inverted
-
resize
-
setBit
-
setBit
-
size
-
swap
-
testBit
-
toggleBit
-
truncate
-
fromBits
-
equals
Description copied from class:QtObject
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface. Otherwise it will return the result of calling the super class implementation. -
hashCode
public int hashCode() -
toBitArray
-
fromBits
-
fromBits
-
toString
-
clone
-