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 class QByteArrayMatcher
-
Constructor Summary
ConstructorDescriptionQByteArrayMatcher
(byte [] pattern) Overloaded constructor forQByteArrayMatcher(java.nio.ByteBuffer)
.QByteArrayMatcher
(byte [] pattern, int offsetOfPattern, int length) Overloaded constructor forQByteArrayMatcher(java.nio.ByteBuffer)
.QByteArrayMatcher
(QByteArray pattern) QByteArrayMatcher
(ByteBuffer pattern) -
Method Summary
Modifier and TypeMethodDescriptionfinal void
assign
(QByteArrayMatcher other) clone()
Creates and returns a copy of this object.final boolean
equals
(QByteArrayMatcher value2) Seeoperator==(QByteArrayMatcher,
QByteArrayMatcher) boolean
Seeoperator==(QByteArrayMatcher,
QByteArrayMatcher) int
hashCode()
Returns the objects's hash code computed byqHash(QByteArrayMatcher)
.final int
indexIn
(byte [] ba) Overloaded function forindexIn(byte[], int)
withfrom = 0
.final int
indexIn
(byte [] ba, int from) Overloaded function forindexIn(io.qt.core.QByteArray, int)
.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
(byte [] pattern) Overloaded function forsetPattern(io.qt.core.QByteArray)
.final void
setPattern
(QByteArray pattern) Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QByteArrayMatcher
public QByteArrayMatcher() -
QByteArrayMatcher
- Parameters:
pattern
-
-
QByteArrayMatcher
- Parameters:
other
-
-
QByteArrayMatcher
- Parameters:
pattern
-
-
QByteArrayMatcher
public QByteArrayMatcher(byte [] pattern, int offsetOfPattern, int length) Overloaded constructor for
QByteArrayMatcher(java.nio.ByteBuffer)
. -
QByteArrayMatcher
public QByteArrayMatcher(byte [] pattern) Overloaded constructor for
QByteArrayMatcher(java.nio.ByteBuffer)
.
-
-
Method Details
-
indexIn
- Parameters:
ba
-from
-- Returns:
-
assign
- Parameters:
other
-
-
equals
See
operator==(QByteArrayMatcher,
QByteArrayMatcher) - Parameters:
value2
-- Returns:
-
pattern
- Returns:
-
setPattern
- Parameters:
pattern
-
-
equals
See
operator==(QByteArrayMatcher,
QByteArrayMatcher) -
hashCode
Returns the objects's hash code computed byqHash(QByteArrayMatcher)
. -
clone
Creates and returns a copy of this object.
-
indexIn
Overloaded function for
indexIn(io.qt.core.QByteArray, int)
withfrom = 0
. -
indexIn
Overloaded function for
indexIn(byte[], int)
withfrom = 0
. -
indexIn
Overloaded function for
indexIn(io.qt.core.QByteArray, int)
. -
setPattern
Overloaded function for
setPattern(io.qt.core.QByteArray)
.
-