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(long size)
Overloaded constructor forQBitArray(long, boolean)
withval = false
.QBitArray(long 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(long i)
ByteBuffer
bits()
void
clear()
void
clearBit(long i)
QBitArray
clone()
long
count()
long
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, long)
withsize = -1
.boolean
fill(boolean val, long size)
void
fill(boolean val, long first, long last)
static QBitArray
fromBits(boolean[] data)
static QBitArray
fromBits(byte[] data)
static QBitArray
fromBits(Buffer 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(long size)
QBitArray
set(QBitArray other)
void
setBit(long i)
void
setBit(long i, boolean val)
long
size()
void
swap(QBitArray other)
boolean
testBit(long i)
boolean[]
toBitArray()
boolean
toggleBit(long i)
Integer
toInteger(QSysInfo.Endian endianness)
String
toString()
void
truncate(long 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, long)
withsize = -1
. -
fill
-
isDetached
-
isEmpty
-
isNull
-
and
-
writeTo
-
set
-
readFrom
-
xor
-
or
-
inverted
-
resize
-
setBit
-
setBit
-
size
-
swap
-
testBit
-
toInteger
-
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
-
toBitArray
-
fromBits
-
fromBits
-
toString
-
clone
-