io.qt.core.QRegularExpressionMatchIterator Maven / Gradle / Ivy
Show all versions of qtjambi Show documentation
package io.qt.core;
import io.qt.*;
/**
* 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 QtObject
implements 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
*/
@QtUninvokable
public final boolean hasNext(){
return hasNext_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean hasNext_native_constfct(long __this__nativeId);
/**
* See QRegularExpressionMatchIterator:: isValid()const
*/
@QtUninvokable
public final boolean isValid(){
return isValid_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isValid_native_constfct(long __this__nativeId);
/**
* See QRegularExpressionMatchIterator:: matchOptions()const
*/
@QtUninvokable
public final io.qt.core.QRegularExpression.@NonNull MatchOptions matchOptions(){
return new io.qt.core.QRegularExpression.MatchOptions(matchOptions_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int matchOptions_native_constfct(long __this__nativeId);
/**
* See QRegularExpressionMatchIterator:: matchType()const
*/
@QtUninvokable
public final io.qt.core.QRegularExpression.@NonNull MatchType matchType(){
return io.qt.core.QRegularExpression.MatchType.resolve(matchType_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int matchType_native_constfct(long __this__nativeId);
/**
* See QRegularExpressionMatchIterator:: next()
*/
@QtUninvokable
public final io.qt.core.@NonNull QRegularExpressionMatch next(){
return next_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QRegularExpressionMatch next_native(long __this__nativeId);
/**
* See QRegularExpressionMatchIterator:: operator=(QRegularExpressionMatchIterator)
*/
@QtUninvokable
public final void assign(io.qt.core.@NonNull QRegularExpressionMatchIterator iterator){
assign_native_cref_QRegularExpressionMatchIterator(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(iterator));
}
@QtUninvokable
private native void assign_native_cref_QRegularExpressionMatchIterator(long __this__nativeId, long iterator);
/**
* See QRegularExpressionMatchIterator:: peekNext()const
*/
@QtUninvokable
public final io.qt.core.@NonNull QRegularExpressionMatch peekNext(){
return peekNext_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QRegularExpressionMatch peekNext_native_constfct(long __this__nativeId);
/**
* See QRegularExpressionMatchIterator:: regularExpression()const
*/
@QtUninvokable
public final io.qt.core.@NonNull QRegularExpression regularExpression(){
return regularExpression_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QRegularExpression regularExpression_native_constfct(long __this__nativeId);
/**
* See QRegularExpressionMatchIterator:: swap(QRegularExpressionMatchIterator&)
*/
@QtUninvokable
public final void swap(io.qt.core.@StrictNonNull 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));
}
@QtUninvokable
private native void swap_native_ref_QRegularExpressionMatchIterator(long __this__nativeId, long other);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QRegularExpressionMatchIterator(QPrivateConstructor p) { super(p); }
// TEMPLATE - core.self_iterator - START
@Override
@QtUninvokable
public final java.util.Iterator iterator() {
return this;
}
// TEMPLATE - core.self_iterator - END
}