io.qt.core.QtJambiStringListUtil Maven / Gradle / Ivy
The newest version!
package io.qt.core;
/**
* Java wrapper for Qt class QtJambiStringListUtil
*/
final class QtJambiStringListUtil
{
static {
QtJambi_LibraryUtilities.initialize();
}
private QtJambiStringListUtil() throws java.lang.InstantiationError { throw new java.lang.InstantiationError("Cannot instantiate namespace QtJambiStringListUtil."); }
public static boolean contains(java.util.Collection self, java.lang.String str, io.qt.core.Qt.CaseSensitivity cs){
return contains_native_cref_QStringList_QStringView_Qt_CaseSensitivity(self, str, cs.value());
}
private native static boolean contains_native_cref_QStringList_QStringView_Qt_CaseSensitivity(java.util.Collection self, java.lang.String str, int cs);
public static io.qt.core.QStringList filter(java.util.Collection self, java.lang.String str, io.qt.core.Qt.CaseSensitivity cs){
return filter_native_cref_QStringList_QStringView_Qt_CaseSensitivity(self, str, cs.value());
}
private native static io.qt.core.QStringList filter_native_cref_QStringList_QStringView_Qt_CaseSensitivity(java.util.Collection self, java.lang.String str, int cs);
public static io.qt.core.QStringList filter(java.util.Collection self, io.qt.core.QRegularExpression re){
return filter_native_cref_QStringList_cref_QRegularExpression(self, QtJambi_LibraryUtilities.internal.checkedNativeId(re));
}
private native static io.qt.core.QStringList filter_native_cref_QStringList_cref_QRegularExpression(java.util.Collection self, long re);
public static long indexOf(java.util.Collection self, io.qt.core.QRegularExpression re, long from){
return indexOf_native_cref_QStringList_cref_QRegularExpression_qsizetype(self, QtJambi_LibraryUtilities.internal.checkedNativeId(re), from);
}
private native static long indexOf_native_cref_QStringList_cref_QRegularExpression_qsizetype(java.util.Collection self, long re, long from);
public native static java.lang.String join(java.util.Collection self, char sep);
public native static java.lang.String join(java.util.Collection self, java.lang.String sep);
public static long lastIndexOf(java.util.Collection self, io.qt.core.QRegularExpression re, long from){
return lastIndexOf_native_cref_QStringList_cref_QRegularExpression_qsizetype(self, QtJambi_LibraryUtilities.internal.checkedNativeId(re), from);
}
private native static long lastIndexOf_native_cref_QStringList_cref_QRegularExpression_qsizetype(java.util.Collection self, long re, long from);
public native static long removeDuplicates(java.util.Collection self);
public static void replaceInStrings(java.util.Collection self, java.lang.String before, java.lang.String after, io.qt.core.Qt.CaseSensitivity cs){
replaceInStrings_native_ref_QStringList_QStringView_QStringView_Qt_CaseSensitivity(self, before, after, cs.value());
}
private native static void replaceInStrings_native_ref_QStringList_QStringView_QStringView_Qt_CaseSensitivity(java.util.Collection self, java.lang.String before, java.lang.String after, int cs);
public static void replaceInStrings(java.util.Collection self, io.qt.core.QRegularExpression re, java.lang.String after){
replaceInStrings_native_ref_QStringList_cref_QRegularExpression_cref_QString(self, QtJambi_LibraryUtilities.internal.checkedNativeId(re), after);
}
private native static void replaceInStrings_native_ref_QStringList_cref_QRegularExpression_cref_QString(java.util.Collection self, long re, java.lang.String after);
public static void sort(java.util.Collection self, io.qt.core.Qt.CaseSensitivity cs){
sort_native_ref_QStringList_Qt_CaseSensitivity(self, cs.value());
}
private native static void sort_native_ref_QStringList_Qt_CaseSensitivity(java.util.Collection self, int cs);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy