java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.core.QBitArray
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Array of bits
Java wrapper for Qt class QBitArray
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionQBitArray
(long size) Overloaded constructor forQBitArray(long, boolean)
withval = false
.QBitArray
(long size, boolean val) protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal QBitArray
final boolean
at
(long i) final ByteBuffer
bits()
final void
clear()
final void
clearBit
(long i) clone()
final long
count()
final long
count
(boolean on) final void
detach()
boolean
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface.final boolean
fill
(boolean val) Overloaded function forfill(boolean, long)
withsize = -1
.final boolean
fill
(boolean val, long size) final void
fill
(boolean val, long first, long last) static QBitArray
fromBits
(boolean[] data) static QBitArray
fromBits
(byte[] data) static QBitArray
int
hashCode()
final QBitArray
inverted()
final boolean
final boolean
isEmpty()
final boolean
isNull()
final QBitArray
void
readFrom
(QDataStream arg__1) final void
resize
(long size) final QBitArray
final void
setBit
(long i) final void
setBit
(long i, boolean val) final long
size()
final void
final boolean
testBit
(long i) final boolean[]
final boolean
toggleBit
(long i) final Integer
toInteger
(QSysInfo.Endian endianness) toString()
final void
truncate
(long pos) void
writeTo
(QDataStream arg__1) final QBitArray
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QBitArray
public QBitArray() -
QBitArray
-
QBitArray
public QBitArray(long size) Overloaded constructor for
QBitArray(long, boolean)
withval = false
. -
QBitArray
public QBitArray(long size, boolean val) -
QBitArray
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
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
-