All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.qt.core.QStringList Maven / Gradle / Ivy

The newest version!
package io.qt.core;


/**
 * 

List of strings

*

Java wrapper for Qt class QList

*/ public class QStringList extends io.qt.core.QList { static { QtJambi_LibraryUtilities.initialize(); } public QStringList(){ super((QPrivateConstructor)null); initialize_native(this); } private native static void initialize_native(QStringList instance); /** * Constructor for internal use only. * @param p expected to be null. */ @io.qt.NativeAccess protected QStringList(QPrivateConstructor p) { super(p); } @io.qt.QtUninvokable @Override public native int hashCode(); @io.qt.QtUninvokable public final java.lang.String join(char sep){ return QtJambiStringListUtil.join(this, sep); } @io.qt.QtUninvokable public final java.lang.String join(String sep){ return QtJambiStringListUtil.join(this, sep); } @io.qt.QtUninvokable public final QStringList filter(String str){ return QtJambiStringListUtil.filter(this, str, Qt.CaseSensitivity.CaseSensitive); } @io.qt.QtUninvokable public final QStringList filter(String str, Qt.CaseSensitivity cs){ return QtJambiStringListUtil.filter(this, str, cs); } @io.qt.QtUninvokable public final QStringList filter(QRegularExpression re){ return QtJambiStringListUtil.filter(this, re); } @io.qt.QtUninvokable public final QStringList replaceInStrings(String before, String after){ QtJambiStringListUtil.replaceInStrings(this, before, after, Qt.CaseSensitivity.CaseSensitive); return this; } @io.qt.QtUninvokable public final QStringList replaceInStrings(String before, String after, Qt.CaseSensitivity cs){ QtJambiStringListUtil.replaceInStrings(this, before, after, cs); return this; } @io.qt.QtUninvokable public final QStringList replaceInStrings(QRegularExpression re, String after){ QtJambiStringListUtil.replaceInStrings(this, re, after); return this; } @io.qt.QtUninvokable public final void sort(){ sort(Qt.CaseSensitivity.CaseSensitive); } @io.qt.QtUninvokable public final void sort(Qt.CaseSensitivity cs){ QtJambiStringListUtil.sort(this, cs); } @Override public QStringList clone(){ return new QStringList(this); } public QStringList(java.util.Collection other) { super((QPrivateConstructor)null); initialize_native(this, other); } private native static void initialize_native(QStringList instance, java.util.Collection other); public QStringList(String... content) { this(java.util.Arrays.asList(content)); } @io.qt.QtUninvokable public final long removeDuplicates(){ return QtJambiStringListUtil.removeDuplicates(this); } @io.qt.QtUninvokable public final boolean contains(String str, Qt.CaseSensitivity cs){ return QtJambiStringListUtil.contains(this, str, cs); } @io.qt.QtUninvokable public final long indexOf(io.qt.core.QRegularExpression re){ return indexOf(re, (long)0); } @io.qt.QtUninvokable public final long indexOf(io.qt.core.QRegularExpression re, long from){ return QtJambiStringListUtil.indexOf(this, re, from); } @io.qt.QtUninvokable public final long lastIndexOf(io.qt.core.QRegularExpression re){ return lastIndexOf(re, (long)-1); } @io.qt.QtUninvokable public final long lastIndexOf(io.qt.core.QRegularExpression re, long from){ return QtJambiStringListUtil.lastIndexOf(this, re, from); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy