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
(int size) Overloaded constructor forQBitArray(int, boolean)
withval = false
.QBitArray
(int size, boolean val) protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal QBitArray
final boolean
at
(int i) final ByteBuffer
bits()
final void
clear()
final void
clearBit
(int i) clone()
final int
count()
final int
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, int)
withsize = -1
.final boolean
fill
(boolean val, int size) final void
fill
(boolean val, int first, int 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
(int size) final QBitArray
final void
setBit
(int i) final void
setBit
(int i, boolean val) final int
size()
final void
final boolean
testBit
(int i) final boolean[]
final boolean
toggleBit
(int i) toString()
final void
truncate
(int 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(int size) Overloaded constructor for
QBitArray(int, boolean)
withval = false
. -
QBitArray
public QBitArray(int 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, 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
-
toBitArray
-
fromBits
-
fromBits
-
toString
-
clone
-