io.qt.core.QRegularExpressionMatchIterator Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of qtjambi Show documentation
Show all versions of qtjambi Show documentation
QtJambi base module containing QtCore, QtGui and QtWidgets.
package io.qt.core;
/**
* Iterator on the results of a global match of a QRegularExpression object against a string
* Java wrapper for Qt class QRegularExpressionMatchIterator
*/
public class QRegularExpressionMatchIterator extends io.qt.QtObject
implements java.lang.Cloneable,
Iterable, java.util.Iterator
{
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* See QRegularExpressionMatchIterator::QRegularExpressionMatchIterator()
*/
public QRegularExpressionMatchIterator(){
super((QPrivateConstructor)null);
initialize_native(this);
}
private native static void initialize_native(QRegularExpressionMatchIterator instance);
/**
* See QRegularExpressionMatchIterator::hasNext()const
*/
@io.qt.QtUninvokable
public final boolean hasNext(){
return hasNext_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native boolean hasNext_native_constfct(long __this__nativeId);
/**
* See QRegularExpressionMatchIterator::isValid()const
*/
@io.qt.QtUninvokable
public final boolean isValid(){
return isValid_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native boolean isValid_native_constfct(long __this__nativeId);
/**
* See QRegularExpressionMatchIterator::matchOptions()const
*/
@io.qt.QtUninvokable
public final io.qt.core.QRegularExpression.MatchOptions matchOptions(){
return new io.qt.core.QRegularExpression.MatchOptions(matchOptions_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@io.qt.QtUninvokable
private native int matchOptions_native_constfct(long __this__nativeId);
/**
* See QRegularExpressionMatchIterator::matchType()const
*/
@io.qt.QtUninvokable
public final io.qt.core.QRegularExpression.MatchType matchType(){
return io.qt.core.QRegularExpression.MatchType.resolve(matchType_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@io.qt.QtUninvokable
private native int matchType_native_constfct(long __this__nativeId);
/**
* See QRegularExpressionMatchIterator::next()
*/
@io.qt.QtUninvokable
public final io.qt.core.QRegularExpressionMatch next(){
return next_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QRegularExpressionMatch next_native(long __this__nativeId);
/**
* See QRegularExpressionMatchIterator::peekNext()const
*/
@io.qt.QtUninvokable
public final io.qt.core.QRegularExpressionMatch peekNext(){
return peekNext_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QRegularExpressionMatch peekNext_native_constfct(long __this__nativeId);
/**
* See QRegularExpressionMatchIterator::regularExpression()const
*/
@io.qt.QtUninvokable
public final io.qt.core.QRegularExpression regularExpression(){
return regularExpression_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QRegularExpression regularExpression_native_constfct(long __this__nativeId);
/**
* See QRegularExpressionMatchIterator::swap(QRegularExpressionMatchIterator&)
*/
@io.qt.QtUninvokable
public final void swap(io.qt.core.QRegularExpressionMatchIterator other){
java.util.Objects.requireNonNull(other, "Argument 'other': null not expected.");
swap_native_ref_QRegularExpressionMatchIterator(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other));
}
@io.qt.QtUninvokable
private native void swap_native_ref_QRegularExpressionMatchIterator(long __this__nativeId, long other);
/**
* Constructor for internal use only.
* @param p expected to be null
.
*/
@io.qt.NativeAccess
protected QRegularExpressionMatchIterator(QPrivateConstructor p) { super(p); }
// TEMPLATE - core.self_iterator - START
@Override
@io.qt.QtUninvokable
public final java.util.Iterator iterator() {
return this;
}
// TEMPLATE - core.self_iterator - END
@Override
public QRegularExpressionMatchIterator clone() {
return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native QRegularExpressionMatchIterator clone_native(long __this_nativeId);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy