java.lang.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) QByteArrayMatcher
(QByteArrayView 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 long
indexIn
(QByteArray ba) Overloaded function forindexIn(io.qt.core.QByteArray, long)
withfrom = 0
.final long
indexIn
(QByteArray ba, long from) final long
indexIn
(QByteArrayView data) Overloaded function forindexIn(io.qt.core.QByteArrayView, long)
withfrom = 0
.final long
indexIn
(QByteArrayView data, long 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
-
QByteArrayMatcher
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
indexIn
Overloaded function for
indexIn(io.qt.core.QByteArrayView, long)
withfrom = 0
. -
indexIn
-
indexIn
Overloaded function for
indexIn(io.qt.core.QByteArray, long)
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
-