java.lang.Object
io.qt.internal.NativeUtility.Object
io.qt.QtObject
io.qt.core.QByteArrayMatcher
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Holds a sequence of bytes that can be quickly matched in a byte array
Java wrapper for Qt's class QByteArrayMatcher
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionQByteArrayMatcher
(QByteArray pattern) protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
Used to check if this object shares the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical.int
hashCode()
final int
indexIn
(QByteArray ba) Overloaded function forindexIn(io.qt.core.QByteArray, int)
withfrom = 0
.final int
indexIn
(QByteArray ba, int from) final QByteArray
pattern()
final void
setPattern
(QByteArray pattern) Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QByteArrayMatcher
public QByteArrayMatcher() -
QByteArrayMatcher
-
QByteArrayMatcher
-
QByteArrayMatcher
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
indexIn
Overloaded function for
indexIn(io.qt.core.QByteArray, int)
withfrom = 0
. -
indexIn
-
pattern
-
setPattern
-
equals
Description copied from class:QtObject
Used to check if this object shares the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical. Qt value types override this method to make a value comparison. Otherwise it will return the result of calling the super class implementation. -
hashCode
-
clone
-