io.qt.core.QString Maven / Gradle / Ivy
Show all versions of qtjambi Show documentation
package io.qt.core;
import io.qt.*;
/**
* Unicode character string
* Java wrapper for Qt class QString
*/
public class QString extends QtObject
implements java.lang.Comparable<@StrictNonNull Object>,
java.lang.Iterable,
java.lang.Cloneable,
Appendable, CharSequence
{
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* Java wrapper for Qt enum QString::SectionFlag
*
* @see SectionFlags
*/
public enum SectionFlag implements QtFlagEnumerator {
/**
* Representing QString:: SectionDefault
*/
SectionDefault(0),
/**
* Representing QString:: SectionSkipEmpty
*/
SectionSkipEmpty(1),
/**
* Representing QString:: SectionIncludeLeadingSep
*/
SectionIncludeLeadingSep(2),
/**
* Representing QString:: SectionIncludeTrailingSep
*/
SectionIncludeTrailingSep(4),
/**
* Representing QString:: SectionCaseInsensitiveSeps
*/
SectionCaseInsensitiveSeps(8);
static {
QtJambi_LibraryUtilities.initialize();
}
private SectionFlag(int value) {
this.value = value;
}
/**
* {@inheritDoc}
*/
@Override
public int value() {
return value;
}
/**
* Create a QFlags of the enum entry.
* @return QFlags
*/
@Override
public @NonNull SectionFlags asFlags() {
return new SectionFlags(value);
}
/**
* Combines this entry with other enum entry.
* @param e enum entry
* @return new flag
*/
public @NonNull SectionFlags combined(@NonNull SectionFlag e) {
return asFlags().setFlag(e, true);
}
/**
* Excludes other enum entry from a flag of this entry.
* @param e enum entry
* @return new flag
*/
public @NonNull SectionFlags cleared(@NonNull SectionFlag e) {
return asFlags().setFlag(e, false);
}
/**
* Creates a new {@link SectionFlags} from the entries.
* @param values entries
* @return new flag
*/
public static @NonNull SectionFlags flags(@Nullable SectionFlag @NonNull... values) {
return new SectionFlags(values);
}
/**
* Returns the corresponding enum entry for the given value.
* @param value
* @return enum entry
*/
public static @NonNull SectionFlag resolve(int value) {
switch (value) {
case 0: return SectionDefault;
case 1: return SectionSkipEmpty;
case 2: return SectionIncludeLeadingSep;
case 4: return SectionIncludeTrailingSep;
case 8: return SectionCaseInsensitiveSeps;
default: throw new QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* {@link QFlags} type for enum {@link SectionFlag}
*/
public static final class SectionFlags extends QFlags implements Comparable {
private static final long serialVersionUID = 0x1603b324bac5ace5L;
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* Creates a new SectionFlags where the flags in args
are set.
* @param args enum entries
*/
public SectionFlags(@Nullable SectionFlag @NonNull... args){
super(args);
}
/**
* Creates a new SectionFlags with given value
.
* @param value
*/
public SectionFlags(int value) {
super(value);
}
/**
* Combines this flags with enum entry.
* @param e enum entry
* @return new SectionFlags
*/
@Override
public final @NonNull SectionFlags combined(@StrictNonNull SectionFlag e){
return new SectionFlags(value() | e.value());
}
/**
* Sets the flag e
* @param e enum entry
* @return this
*/
@Override
public final @NonNull SectionFlags setFlag(@Nullable SectionFlag e){
return setFlag(e, true);
}
/**
* Sets or clears the flag flag
* @param e enum entry
* @param on set (true) or clear (false)
* @return this
*/
@Override
public final @NonNull SectionFlags setFlag(@Nullable SectionFlag e, boolean on){
if (on) {
setValue(value() | e.value());
}else {
setValue(value() & ~e.value());
}
return this;
}
/**
* Returns an array of flag objects represented by this SectionFlags.
* @return array of enum entries
*/
@Override
public final @NonNull SectionFlag @NonNull[] flags(){
return super.flags(SectionFlag.values());
}
/**
* {@inheritDoc}
*/
@Override
public final @NonNull SectionFlags clone(){
return new SectionFlags(value());
}
/**
* {@inheritDoc}
*/
@Override
public final int compareTo(@StrictNonNull SectionFlags other){
return Integer.compare(value(), other.value());
}
}
/**
*
*/
public QString(){
super((QPrivateConstructor)null);
initialize_native(this);
}
private native static void initialize_native(QString instance);
/**
* See QString:: QString(QByteArray)
* @param a
*/
public QString(io.qt.core.@NonNull QByteArray a){
super((QPrivateConstructor)null);
initialize_native(this, a);
}
private native static void initialize_native(QString instance, io.qt.core.QByteArray a);
/**
*
* @param c
*/
public QString(char c){
super((QPrivateConstructor)null);
initialize_native(this, c);
}
private native static void initialize_native(QString instance, char c);
/**
*
* @param arg__1
*/
public QString(java.lang.@NonNull CharSequence arg__1){
super((QPrivateConstructor)null);
initialize_native(this, arg__1);
}
private native static void initialize_native(QString instance, java.lang.CharSequence arg__1);
/**
* See QString:: QString(QStringView)
* @param sv
*/
public QString(java.lang.@NonNull String sv){
super((QPrivateConstructor)null);
initialize_native(this, sv);
}
private native static void initialize_native(QString instance, java.lang.String sv);
/**
* See QString:: QString(const QChar*, qsizetype)
* @param unicode
*/
public QString(java.nio.@Nullable CharBuffer unicode){
super((QPrivateConstructor)null);
initialize_native(this, unicode);
}
private native static void initialize_native(QString instance, java.nio.CharBuffer unicode);
/**
* See QString:: QString(qsizetype, QChar)
* @param size
* @param c
*/
public QString(long size, char c){
super((QPrivateConstructor)null);
initialize_native(this, size, c);
}
private native static void initialize_native(QString instance, long size, char c);
/**
* See QString:: append(QByteArray)
* @param s
* @return
*/
@QtUninvokable
public final @NonNull QString append(io.qt.core.@NonNull QByteArray s){
return append_native_cref_QByteArray(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(s));
}
@QtUninvokable
private native QString append_native_cref_QByteArray(long __this__nativeId, long s);
/**
*
* @param c
* @return
*/
@QtUninvokable
public final @NonNull QString append(char c){
return append_native_QChar(QtJambi_LibraryUtilities.internal.nativeId(this), c);
}
@QtUninvokable
private native QString append_native_QChar(long __this__nativeId, char c);
/**
*
* @param s
* @return
*/
@QtUninvokable
public final @NonNull QString append(java.lang.@NonNull CharSequence s){
return append_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), s);
}
@QtUninvokable
private native QString append_native_cref_QString(long __this__nativeId, java.lang.CharSequence s);
/**
* See QString:: append(const QChar*, qsizetype)
* @param uc
* @return
*/
@QtUninvokable
public final @NonNull QString append(java.nio.@Nullable CharBuffer uc){
return append_native_const_QChar_ptr_qsizetype(QtJambi_LibraryUtilities.internal.nativeId(this), uc);
}
@QtUninvokable
private native QString append_native_const_QChar_ptr_qsizetype(long __this__nativeId, java.nio.CharBuffer uc);
/**
* See QString:: arg(QChar, int, QChar)const
* @param a
* @param fieldWidth
* @param fillChar
* @return
*/
@QtUninvokable
public final io.qt.core.@NonNull QString arg(char a, int fieldWidth, char fillChar){
return arg_native_QChar_int_QChar_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), a, fieldWidth, fillChar);
}
@QtUninvokable
private native io.qt.core.QString arg_native_QChar_int_QChar_constfct(long __this__nativeId, char a, int fieldWidth, char fillChar);
/**
* See QString:: arg(QString, int, QChar)const
* @param a
* @param fieldWidth
* @param fillChar
* @return
*/
@QtUninvokable
public final io.qt.core.@NonNull QString arg(java.lang.@NonNull CharSequence a, int fieldWidth, char fillChar){
return arg_native_cref_QString_int_QChar_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), a, fieldWidth, fillChar);
}
@QtUninvokable
private native io.qt.core.QString arg_native_cref_QString_int_QChar_constfct(long __this__nativeId, java.lang.CharSequence a, int fieldWidth, char fillChar);
/**
* See QString:: arg(char, int, QChar)const
* @param a
* @param fieldWidth
* @param fillChar
* @return
*/
@QtUninvokable
public final io.qt.core.@NonNull QString arg(byte a, int fieldWidth, char fillChar){
return arg_native_char_int_QChar_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), a, fieldWidth, fillChar);
}
@QtUninvokable
private native io.qt.core.QString arg_native_char_int_QChar_constfct(long __this__nativeId, byte a, int fieldWidth, char fillChar);
/**
* See QString:: arg(double, int, char, int, QChar)const
* @param a
* @param fieldWidth
* @param format
* @param precision
* @param fillChar
* @return
*/
@QtUninvokable
public final io.qt.core.@NonNull QString arg(double a, int fieldWidth, byte format, int precision, char fillChar){
return arg_native_double_int_char_int_QChar_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), a, fieldWidth, format, precision, fillChar);
}
@QtUninvokable
private native io.qt.core.QString arg_native_double_int_char_int_QChar_constfct(long __this__nativeId, double a, int fieldWidth, byte format, int precision, char fillChar);
/**
* See QString:: arg(int, int, int, QChar)const
* @param a
* @param fieldWidth
* @param base
* @param fillChar
* @return
*/
@QtUninvokable
public final io.qt.core.@NonNull QString arg(int a, int fieldWidth, int base, char fillChar){
return arg_native_int_int_int_QChar_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), a, fieldWidth, base, fillChar);
}
@QtUninvokable
private native io.qt.core.QString arg_native_int_int_int_QChar_constfct(long __this__nativeId, int a, int fieldWidth, int base, char fillChar);
/**
* See QString:: arg(qlonglong, int, int, QChar)const
* @param a
* @param fieldwidth
* @param base
* @param fillChar
* @return
*/
@QtUninvokable
public final io.qt.core.@NonNull QString arg(long a, int fieldwidth, int base, char fillChar){
return arg_native_qlonglong_int_int_QChar_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), a, fieldwidth, base, fillChar);
}
@QtUninvokable
private native io.qt.core.QString arg_native_qlonglong_int_int_QChar_constfct(long __this__nativeId, long a, int fieldwidth, int base, char fillChar);
/**
* See QString:: arg(short, int, int, QChar)const
* @param a
* @param fieldWidth
* @param base
* @param fillChar
* @return
*/
@QtUninvokable
public final io.qt.core.@NonNull QString arg(short a, int fieldWidth, int base, char fillChar){
return arg_native_short_int_int_QChar_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), a, fieldWidth, base, fillChar);
}
@QtUninvokable
private native io.qt.core.QString arg_native_short_int_int_QChar_constfct(long __this__nativeId, short a, int fieldWidth, int base, char fillChar);
/**
* See QString:: assign(qsizetype, QChar)
* @since This function was introduced in Qt 6.6.
* @param n
* @param c
* @return
*/
@QtUninvokable
public final @NonNull QString assign(long n, char c){
return assign_native_qsizetype_QChar(QtJambi_LibraryUtilities.internal.nativeId(this), n, c);
}
@QtUninvokable
private native QString assign_native_qsizetype_QChar(long __this__nativeId, long n, char c);
/**
* See QString:: at(qsizetype)const
* @param i
* @return
*/
@QtUninvokable
public final char at(long i){
return at_native_qsizetype_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), i);
}
@QtUninvokable
private native char at_native_qsizetype_constfct(long __this__nativeId, long i);
/**
*
* @return
*/
@QtUninvokable
public final char back(){
return back_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native char back_native_constfct(long __this__nativeId);
/**
*
* @return
*/
@QtUninvokable
protected final io.qt.core.@NonNull QSequentialConstIterator begin(){
return begin_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QSequentialConstIterator begin_native_constfct(long __this__nativeId);
/**
*
* @return
*/
@QtUninvokable
public final long capacity(){
return capacity_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native long capacity_native_constfct(long __this__nativeId);
/**
*
* @param n
*/
@QtUninvokable
public final void chop(long n){
chop_native_qsizetype(QtJambi_LibraryUtilities.internal.nativeId(this), n);
}
@QtUninvokable
private native void chop_native_qsizetype(long __this__nativeId, long n);
/**
* See QString:: chopped(qsizetype)const
* @param n
* @return
*/
@QtUninvokable
public final io.qt.core.@NonNull QString chopped(long n){
return chopped_native_qsizetype_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), n);
}
@QtUninvokable
private native io.qt.core.QString chopped_native_qsizetype_constfct(long __this__nativeId, long n);
/**
* See QString:: clear()
*/
@QtUninvokable
public final void clear(){
clear_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native void clear_native(long __this__nativeId);
/**
* See QString:: compare(QChar, Qt::CaseSensitivity)const
* @param ch
* @param cs
* @return
*/
@QtUninvokable
public final int compare(char ch, io.qt.core.Qt.@NonNull CaseSensitivity cs){
return compare_native_QChar_Qt_CaseSensitivity_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), ch, cs.value());
}
@QtUninvokable
private native int compare_native_QChar_Qt_CaseSensitivity_constfct(long __this__nativeId, char ch, int cs);
/**
* See QString:: compare(QString, Qt::CaseSensitivity)const
* @param s
* @param cs
* @return
*/
@QtUninvokable
public final int compare(java.lang.@NonNull CharSequence s, io.qt.core.Qt.@NonNull CaseSensitivity cs){
return compare_native_cref_QString_Qt_CaseSensitivity_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), s, cs.value());
}
@QtUninvokable
private native int compare_native_cref_QString_Qt_CaseSensitivity_constfct(long __this__nativeId, java.lang.CharSequence s, int cs);
/**
*
* @return
*/
@QtUninvokable
public final char @StrictNonNull[] toArray(){
return toArray_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native char[] toArray_native_constfct(long __this__nativeId);
/**
* See QString:: contains(QChar, Qt::CaseSensitivity)const
* @param c
* @param cs
* @return
*/
@QtUninvokable
public final boolean contains(char c, io.qt.core.Qt.@NonNull CaseSensitivity cs){
return contains_native_QChar_Qt_CaseSensitivity_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), c, cs.value());
}
@QtUninvokable
private native boolean contains_native_QChar_Qt_CaseSensitivity_constfct(long __this__nativeId, char c, int cs);
/**
* See QString:: contains(QRegularExpression, QRegularExpressionMatch*)const
* @param re
* @param rmatch
* @return
*/
@QtUninvokable
public final boolean contains(io.qt.core.@NonNull QRegularExpression re, io.qt.core.@Nullable QRegularExpressionMatch rmatch){
return contains_native_cref_QRegularExpression_QRegularExpressionMatch_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(re), QtJambi_LibraryUtilities.internal.checkedNativeId(rmatch));
}
@QtUninvokable
private native boolean contains_native_cref_QRegularExpression_QRegularExpressionMatch_ptr_constfct(long __this__nativeId, long re, long rmatch);
/**
* See QString:: contains(QString, Qt::CaseSensitivity)const
* @param s
* @param cs
* @return
*/
@QtUninvokable
public final boolean contains(java.lang.@NonNull CharSequence s, io.qt.core.Qt.@NonNull CaseSensitivity cs){
return contains_native_cref_QString_Qt_CaseSensitivity_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), s, cs.value());
}
@QtUninvokable
private native boolean contains_native_cref_QString_Qt_CaseSensitivity_constfct(long __this__nativeId, java.lang.CharSequence s, int cs);
/**
* See QString:: count()const
*
* @deprecated Use size() or length() instead.@return
*/
@Deprecated
@QtUninvokable
public final long count(){
return count_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@Deprecated
@QtUninvokable
private native long count_native_constfct(long __this__nativeId);
/**
* See QString:: count(QChar, Qt::CaseSensitivity)const
* @param c
* @param cs
* @return
*/
@QtUninvokable
public final long count(char c, io.qt.core.Qt.@NonNull CaseSensitivity cs){
return count_native_QChar_Qt_CaseSensitivity_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), c, cs.value());
}
@QtUninvokable
private native long count_native_QChar_Qt_CaseSensitivity_constfct(long __this__nativeId, char c, int cs);
/**
* See QString:: count(QRegularExpression)const
* @param re
* @return
*/
@QtUninvokable
public final long count(io.qt.core.@NonNull QRegularExpression re){
return count_native_cref_QRegularExpression_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(re));
}
@QtUninvokable
private native long count_native_cref_QRegularExpression_constfct(long __this__nativeId, long re);
/**
* See QString:: count(QString, Qt::CaseSensitivity)const
* @param s
* @param cs
* @return
*/
@QtUninvokable
public final long count(java.lang.@NonNull CharSequence s, io.qt.core.Qt.@NonNull CaseSensitivity cs){
return count_native_cref_QString_Qt_CaseSensitivity_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), s, cs.value());
}
@QtUninvokable
private native long count_native_cref_QString_Qt_CaseSensitivity_constfct(long __this__nativeId, java.lang.CharSequence s, int cs);
/**
*
* @return
*/
@QtUninvokable
public final java.nio.@Nullable CharBuffer data(){
return data_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native java.nio.CharBuffer data_native_constfct(long __this__nativeId);
/**
* See QString:: detach()
*/
@QtUninvokable
public final void detach(){
detach_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native void detach_native(long __this__nativeId);
/**
*
* @return
*/
@QtUninvokable
protected final io.qt.core.@NonNull QSequentialConstIterator end(){
return end_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QSequentialConstIterator end_native_constfct(long __this__nativeId);
/**
* See QString:: endsWith(QChar, Qt::CaseSensitivity)const
* @param c
* @param cs
* @return
*/
@QtUninvokable
public final boolean endsWith(char c, io.qt.core.Qt.@NonNull CaseSensitivity cs){
return endsWith_native_QChar_Qt_CaseSensitivity_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), c, cs.value());
}
@QtUninvokable
private native boolean endsWith_native_QChar_Qt_CaseSensitivity_constfct(long __this__nativeId, char c, int cs);
/**
* See QString:: endsWith(QString, Qt::CaseSensitivity)const
* @param s
* @param cs
* @return
*/
@QtUninvokable
public final boolean endsWith(java.lang.@NonNull CharSequence s, io.qt.core.Qt.@NonNull CaseSensitivity cs){
return endsWith_native_cref_QString_Qt_CaseSensitivity_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), s, cs.value());
}
@QtUninvokable
private native boolean endsWith_native_cref_QString_Qt_CaseSensitivity_constfct(long __this__nativeId, java.lang.CharSequence s, int cs);
/**
* See QString:: fill(QChar, qsizetype)
* @param c
* @param size
* @return
*/
@QtUninvokable
public final @NonNull QString fill(char c, long size){
return fill_native_QChar_qsizetype(QtJambi_LibraryUtilities.internal.nativeId(this), c, size);
}
@QtUninvokable
private native QString fill_native_QChar_qsizetype(long __this__nativeId, char c, long size);
/**
* See QString:: first(qsizetype)const
* @since This function was introduced in Qt 6.0.
* @param n
* @return
*/
@QtUninvokable
public final io.qt.core.@NonNull QString first(long n){
return first_native_qsizetype_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), n);
}
@QtUninvokable
private native io.qt.core.QString first_native_qsizetype_constfct(long __this__nativeId, long n);
/**
*
* @return
*/
@QtUninvokable
public final char front(){
return front_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native char front_native_constfct(long __this__nativeId);
/**
* See QString:: indexOf(QChar, qsizetype, Qt::CaseSensitivity)const
* @param c
* @param from
* @param cs
* @return
*/
@QtUninvokable
public final long indexOf(char c, long from, io.qt.core.Qt.@NonNull CaseSensitivity cs){
return indexOf_native_QChar_qsizetype_Qt_CaseSensitivity_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), c, from, cs.value());
}
@QtUninvokable
private native long indexOf_native_QChar_qsizetype_Qt_CaseSensitivity_constfct(long __this__nativeId, char c, long from, int cs);
/**
* See QString:: indexOf(QRegularExpression, qsizetype, QRegularExpressionMatch*)const
* @param re
* @param from
* @param rmatch
* @return
*/
@QtUninvokable
public final long indexOf(io.qt.core.@NonNull QRegularExpression re, long from, io.qt.core.@Nullable QRegularExpressionMatch rmatch){
return indexOf_native_cref_QRegularExpression_qsizetype_QRegularExpressionMatch_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(re), from, QtJambi_LibraryUtilities.internal.checkedNativeId(rmatch));
}
@QtUninvokable
private native long indexOf_native_cref_QRegularExpression_qsizetype_QRegularExpressionMatch_ptr_constfct(long __this__nativeId, long re, long from, long rmatch);
/**
* See QString:: indexOf(QString, qsizetype, Qt::CaseSensitivity)const
* @param s
* @param from
* @param cs
* @return
*/
@QtUninvokable
public final long indexOf(java.lang.@NonNull CharSequence s, long from, io.qt.core.Qt.@NonNull CaseSensitivity cs){
return indexOf_native_cref_QString_qsizetype_Qt_CaseSensitivity_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), s, from, cs.value());
}
@QtUninvokable
private native long indexOf_native_cref_QString_qsizetype_Qt_CaseSensitivity_constfct(long __this__nativeId, java.lang.CharSequence s, long from, int cs);
/**
* See QString:: insert(qsizetype, QByteArray)
* @param i
* @param s
* @return
*/
@QtUninvokable
public final @NonNull QString insert(long i, io.qt.core.@NonNull QByteArray s){
return insert_native_qsizetype_cref_QByteArray(QtJambi_LibraryUtilities.internal.nativeId(this), i, QtJambi_LibraryUtilities.internal.checkedNativeId(s));
}
@QtUninvokable
private native QString insert_native_qsizetype_cref_QByteArray(long __this__nativeId, long i, long s);
/**
* See QString:: insert(qsizetype, QChar)
* @param i
* @param c
* @return
*/
@QtUninvokable
public final @NonNull QString insert(long i, char c){
return insert_native_qsizetype_QChar(QtJambi_LibraryUtilities.internal.nativeId(this), i, c);
}
@QtUninvokable
private native QString insert_native_qsizetype_QChar(long __this__nativeId, long i, char c);
/**
* See QString:: insert(qsizetype, QString)
* @param i
* @param s
* @return
*/
@QtUninvokable
public final @NonNull QString insert(long i, java.lang.@NonNull CharSequence s){
return insert_native_qsizetype_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), i, s);
}
@QtUninvokable
private native QString insert_native_qsizetype_cref_QString(long __this__nativeId, long i, java.lang.CharSequence s);
/**
* See QString:: insert(qsizetype, const QChar*, qsizetype)
* @param i
* @param uc
* @return
*/
@QtUninvokable
public final @NonNull QString insert(long i, java.nio.@Nullable CharBuffer uc){
return insert_native_qsizetype_const_QChar_ptr_qsizetype(QtJambi_LibraryUtilities.internal.nativeId(this), i, uc);
}
@QtUninvokable
private native QString insert_native_qsizetype_const_QChar_ptr_qsizetype(long __this__nativeId, long i, java.nio.CharBuffer uc);
/**
* See QString:: isDetached()const
* @return
*/
@QtUninvokable
public final boolean isDetached(){
return isDetached_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isDetached_native_constfct(long __this__nativeId);
/**
*
* @return
*/
@QtUninvokable
public final boolean isEmpty(){
return isEmpty_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isEmpty_native_constfct(long __this__nativeId);
/**
*
* @return
*/
@QtUninvokable
public final boolean isLower(){
return isLower_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isLower_native_constfct(long __this__nativeId);
/**
*
* @return
*/
@QtUninvokable
public final boolean isNull(){
return isNull_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isNull_native_constfct(long __this__nativeId);
/**
* See QString:: isRightToLeft()const
* @return
*/
@QtUninvokable
public final boolean isRightToLeft(){
return isRightToLeft_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isRightToLeft_native_constfct(long __this__nativeId);
/**
* See QString:: isSharedWith(QString)const
* @param other
* @return
*/
@QtUninvokable
public final boolean isSharedWith(io.qt.core.@StrictNonNull QString other){
java.util.Objects.requireNonNull(other, "Argument 'other': null not expected.");
return isSharedWith_native_cref_QString_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), other);
}
@QtUninvokable
private native boolean isSharedWith_native_cref_QString_constfct(long __this__nativeId, io.qt.core.QString other);
/**
*
* @return
*/
@QtUninvokable
public final boolean isUpper(){
return isUpper_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isUpper_native_constfct(long __this__nativeId);
/**
* See QString:: isValidUtf16()const
* @return
*/
@QtUninvokable
public final boolean isValidUtf16(){
return isValidUtf16_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isValidUtf16_native_constfct(long __this__nativeId);
/**
* See QString:: last(qsizetype)const
* @since This function was introduced in Qt 6.0.
* @param n
* @return
*/
@QtUninvokable
public final io.qt.core.@NonNull QString last(long n){
return last_native_qsizetype_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), n);
}
@QtUninvokable
private native io.qt.core.QString last_native_qsizetype_constfct(long __this__nativeId, long n);
/**
* See QString:: lastIndexOf(QChar, Qt::CaseSensitivity)const
* @since This function was introduced in Qt 6.3.
* @param c
* @param cs
* @return
*/
@QtUninvokable
public final long lastIndexOf(char c, io.qt.core.Qt.@NonNull CaseSensitivity cs){
return lastIndexOf_native_QChar_Qt_CaseSensitivity_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), c, cs.value());
}
@QtUninvokable
private native long lastIndexOf_native_QChar_Qt_CaseSensitivity_constfct(long __this__nativeId, char c, int cs);
/**
* See QString:: lastIndexOf(QChar, qsizetype, Qt::CaseSensitivity)const
* @param c
* @param from
* @param cs
* @return
*/
@QtUninvokable
public final long lastIndexOf(char c, long from, io.qt.core.Qt.@NonNull CaseSensitivity cs){
return lastIndexOf_native_QChar_qsizetype_Qt_CaseSensitivity_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), c, from, cs.value());
}
@QtUninvokable
private native long lastIndexOf_native_QChar_qsizetype_Qt_CaseSensitivity_constfct(long __this__nativeId, char c, long from, int cs);
/**
* See QString:: lastIndexOf(QRegularExpression, qsizetype, QRegularExpressionMatch*)const
* @param re
* @param from
* @param rmatch
* @return
*/
@QtUninvokable
public final long lastIndexOf(io.qt.core.@NonNull QRegularExpression re, long from, io.qt.core.@Nullable QRegularExpressionMatch rmatch){
return lastIndexOf_native_cref_QRegularExpression_qsizetype_QRegularExpressionMatch_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(re), from, QtJambi_LibraryUtilities.internal.checkedNativeId(rmatch));
}
@QtUninvokable
private native long lastIndexOf_native_cref_QRegularExpression_qsizetype_QRegularExpressionMatch_ptr_constfct(long __this__nativeId, long re, long from, long rmatch);
/**
* See QString:: lastIndexOf(QString, Qt::CaseSensitivity)const
* @since This function was introduced in Qt 6.2.
* @param s
* @param cs
* @return
*/
@QtUninvokable
public final long lastIndexOf(java.lang.@NonNull CharSequence s, io.qt.core.Qt.@NonNull CaseSensitivity cs){
return lastIndexOf_native_cref_QString_Qt_CaseSensitivity_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), s, cs.value());
}
@QtUninvokable
private native long lastIndexOf_native_cref_QString_Qt_CaseSensitivity_constfct(long __this__nativeId, java.lang.CharSequence s, int cs);
/**
* See QString:: lastIndexOf(QString, qsizetype, Qt::CaseSensitivity)const
* @param s
* @param from
* @param cs
* @return
*/
@QtUninvokable
public final long lastIndexOf(java.lang.@NonNull CharSequence s, long from, io.qt.core.Qt.@NonNull CaseSensitivity cs){
return lastIndexOf_native_cref_QString_qsizetype_Qt_CaseSensitivity_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), s, from, cs.value());
}
@QtUninvokable
private native long lastIndexOf_native_cref_QString_qsizetype_Qt_CaseSensitivity_constfct(long __this__nativeId, java.lang.CharSequence s, long from, int cs);
/**
* See QString:: lastIndexOf<T, false>(QRegularExpression, T*)const
* @since This function was introduced in Qt 6.2.
* @param re
* @param rmatch
* @return
*/
@QtUninvokable
public final long lastIndexOf(io.qt.core.@NonNull QRegularExpression re, io.qt.core.@Nullable QRegularExpressionMatch rmatch){
return lastIndexOf_native_cref_QRegularExpression_QRegularExpressionMatch_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(re), QtJambi_LibraryUtilities.internal.checkedNativeId(rmatch));
}
@QtUninvokable
private native long lastIndexOf_native_cref_QRegularExpression_QRegularExpressionMatch_ptr_constfct(long __this__nativeId, long re, long rmatch);
/**
* See QString:: left(qsizetype)const
* @param n
* @return
*/
@QtUninvokable
public final io.qt.core.@NonNull QString left(long n){
return left_native_qsizetype_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), n);
}
@QtUninvokable
private native io.qt.core.QString left_native_qsizetype_constfct(long __this__nativeId, long n);
/**
* See QString:: leftJustified(qsizetype, QChar, bool)const
* @param width
* @param fill
* @param trunc
* @return
*/
@QtUninvokable
public final io.qt.core.@NonNull QString leftJustified(long width, char fill, boolean trunc){
return leftJustified_native_qsizetype_QChar_bool_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), width, fill, trunc);
}
@QtUninvokable
private native io.qt.core.QString leftJustified_native_qsizetype_QChar_bool_constfct(long __this__nativeId, long width, char fill, boolean trunc);
/**
*
* @return
*/
@QtUninvokable
public final int length(){
return length_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int length_native_constfct(long __this__nativeId);
/**
* See QString:: localeAwareCompare(QString)const
* @param s
* @return
*/
@QtUninvokable
public final int localeAwareCompare(java.lang.@NonNull CharSequence s){
return localeAwareCompare_native_cref_QString_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), s);
}
@QtUninvokable
private native int localeAwareCompare_native_cref_QString_constfct(long __this__nativeId, java.lang.CharSequence s);
/**
*
* @since This function was introduced in Qt 6.8.
* @return
*/
@QtUninvokable
public final long max_size(){
return max_size_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native long max_size_native_constfct(long __this__nativeId);
/**
* See QString:: mid(qsizetype, qsizetype)const
* @param position
* @param n
* @return
*/
@QtUninvokable
public final io.qt.core.@NonNull QString mid(long position, long n){
return mid_native_qsizetype_qsizetype_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), position, n);
}
@QtUninvokable
private native io.qt.core.QString mid_native_qsizetype_qsizetype_constfct(long __this__nativeId, long position, long n);
/**
* See operator+(QString, QByteArray)
* @param ba
* @return
*/
@QtUninvokable
public final io.qt.core.@NonNull QString plus(io.qt.core.@NonNull QByteArray ba){
return plus_native_cref_QByteArray(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(ba));
}
@QtUninvokable
private native io.qt.core.QString plus_native_cref_QByteArray(long __this__nativeId, long ba);
/**
* See operator+(QString, QChar)
* @param s2
* @return
*/
@QtUninvokable
public final io.qt.core.@NonNull QString plus(char s2){
return plus_native_QChar(QtJambi_LibraryUtilities.internal.nativeId(this), s2);
}
@QtUninvokable
private native io.qt.core.QString plus_native_QChar(long __this__nativeId, char s2);
/**
* See operator+(QString, QString)
* @param s2
* @return
*/
@QtUninvokable
public final io.qt.core.@NonNull QString plus(java.lang.@NonNull CharSequence s2){
return plus_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), s2);
}
@QtUninvokable
private native io.qt.core.QString plus_native_cref_QString(long __this__nativeId, java.lang.CharSequence s2);
/**
* See operator+(QString&&, const char*)
* @param rhs
* @return
*/
@QtUninvokable
public final io.qt.core.@NonNull QString plus(java.lang.@Nullable String rhs){
return plus_native_const_char_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), rhs);
}
@QtUninvokable
private native io.qt.core.QString plus_native_const_char_ptr(long __this__nativeId, java.lang.String rhs);
@QtUninvokable
private final boolean operator_less(io.qt.core.@NonNull QByteArray rhs){
return operator_less_native_cref_QByteArray(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(rhs));
}
@QtUninvokable
private native boolean operator_less_native_cref_QByteArray(long __this__nativeId, long rhs);
@QtUninvokable
private final boolean operator_less(io.qt.core.@NonNull QByteArrayView rhs){
return operator_less_native_cref_QByteArrayView(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(rhs));
}
@QtUninvokable
private native boolean operator_less_native_cref_QByteArrayView(long __this__nativeId, long rhs);
@QtUninvokable
private final boolean operator_less(char rhs){
return operator_less_native_cref_QChar(QtJambi_LibraryUtilities.internal.nativeId(this), rhs);
}
@QtUninvokable
private native boolean operator_less_native_cref_QChar(long __this__nativeId, char rhs);
@QtUninvokable
private final boolean operator_less(java.lang.@NonNull CharSequence rhs){
return operator_less_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), rhs);
}
@QtUninvokable
private native boolean operator_less_native_cref_QString(long __this__nativeId, java.lang.CharSequence rhs);
/**
* See operator<<(QDataStream&, QString)
* @param out
*/
@QtUninvokable
public void writeTo(io.qt.core.@StrictNonNull QDataStream out){
java.util.Objects.requireNonNull(out, "Argument 'out': null not expected.");
writeTo_native_ref_QDataStream(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(out));
}
@QtUninvokable
private native void writeTo_native_ref_QDataStream(long __this__nativeId, long out);
/**
* See QString:: operator=(QByteArray)
* @param a
*/
@QtUninvokable
public final void assign(io.qt.core.@NonNull QByteArray a){
assign_native_cref_QByteArray(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(a));
}
@QtUninvokable
private native void assign_native_cref_QByteArray(long __this__nativeId, long a);
/**
*
* @param c
*/
@QtUninvokable
public final void assign(char c){
assign_native_QChar(QtJambi_LibraryUtilities.internal.nativeId(this), c);
}
@QtUninvokable
private native void assign_native_QChar(long __this__nativeId, char c);
/**
* See QString:: operator=(QString)
* @param arg__1
*/
@QtUninvokable
public final void assign(java.lang.@NonNull CharSequence arg__1){
assign_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1);
}
@QtUninvokable
private native void assign_native_cref_QString(long __this__nativeId, java.lang.CharSequence arg__1);
/**
* See QString:: operator=(const char*)
* @param ch
*/
@QtUninvokable
public final void assign(java.lang.@Nullable String ch){
assign_native_const_char_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), ch);
}
@QtUninvokable
private native void assign_native_const_char_ptr(long __this__nativeId, java.lang.String ch);
/**
* See operator==(QString, QByteArray)
* @param rhs
* @return
*/
@QtUninvokable
public final boolean equals(io.qt.core.@NonNull QByteArray rhs){
return equals_native_cref_QByteArray(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(rhs));
}
@QtUninvokable
private native boolean equals_native_cref_QByteArray(long __this__nativeId, long rhs);
/**
* See operator==(QString, QByteArrayView)
* @param rhs
* @return
*/
@QtUninvokable
public final boolean equals(io.qt.core.@NonNull QByteArrayView rhs){
return equals_native_cref_QByteArrayView(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(rhs));
}
@QtUninvokable
private native boolean equals_native_cref_QByteArrayView(long __this__nativeId, long rhs);
/**
* See operator==(QString, QChar)
* @param rhs
* @return
*/
@QtUninvokable
public final boolean equals(char rhs){
return equals_native_cref_QChar(QtJambi_LibraryUtilities.internal.nativeId(this), rhs);
}
@QtUninvokable
private native boolean equals_native_cref_QChar(long __this__nativeId, char rhs);
/**
* See operator==(QString, QString)
* @param rhs
* @return
*/
@QtUninvokable
public final boolean equals(java.lang.@NonNull CharSequence rhs){
return equals_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), rhs);
}
@QtUninvokable
private native boolean equals_native_cref_QString(long __this__nativeId, java.lang.CharSequence rhs);
/**
* See operator>>(QDataStream&, QString&)
* @param in
*/
@QtUninvokable
public void readFrom(io.qt.core.@StrictNonNull QDataStream in){
java.util.Objects.requireNonNull(in, "Argument 'in': null not expected.");
readFrom_native_ref_QDataStream(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(in));
}
@QtUninvokable
private native void readFrom_native_ref_QDataStream(long __this__nativeId, long in);
/**
* See QString:: operator[](qsizetype)const
* @param i
* @return
*/
@QtUninvokable
public final char get(long i){
if(i<0 || i>size())
throw new IndexOutOfBoundsException(""+i);
return get_native_qsizetype_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), i);
}
@QtUninvokable
private native char get_native_qsizetype_constfct(long __this__nativeId, long i);
/**
* See QString:: operator[](qsizetype)
* @param i
* @param value
*/
@QtUninvokable
public final void set(long i, char value){
if(i<0 || i>size())
throw new IndexOutOfBoundsException(""+i);
set_native_qsizetype_const_QChar(QtJambi_LibraryUtilities.internal.nativeId(this), i, value);
}
@QtUninvokable
private native void set_native_qsizetype_const_QChar(long __this__nativeId, long i, char value);
/**
* See QString:: prepend(QByteArray)
* @param s
* @return
*/
@QtUninvokable
public final @NonNull QString prepend(io.qt.core.@NonNull QByteArray s){
return prepend_native_cref_QByteArray(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(s));
}
@QtUninvokable
private native QString prepend_native_cref_QByteArray(long __this__nativeId, long s);
/**
*
* @param c
* @return
*/
@QtUninvokable
public final @NonNull QString prepend(char c){
return prepend_native_QChar(QtJambi_LibraryUtilities.internal.nativeId(this), c);
}
@QtUninvokable
private native QString prepend_native_QChar(long __this__nativeId, char c);
/**
*
* @param s
* @return
*/
@QtUninvokable
public final @NonNull QString prepend(java.lang.@NonNull CharSequence s){
return prepend_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), s);
}
@QtUninvokable
private native QString prepend_native_cref_QString(long __this__nativeId, java.lang.CharSequence s);
/**
* See QString:: prepend(const QChar*, qsizetype)
* @param uc
* @return
*/
@QtUninvokable
public final @NonNull QString prepend(java.nio.@Nullable CharBuffer uc){
return prepend_native_const_QChar_ptr_qsizetype(QtJambi_LibraryUtilities.internal.nativeId(this), uc);
}
@QtUninvokable
private native QString prepend_native_const_QChar_ptr_qsizetype(long __this__nativeId, java.nio.CharBuffer uc);
/**
* See QString:: remove(QChar, Qt::CaseSensitivity)
* @param c
* @param cs
* @return
*/
@QtUninvokable
public final @NonNull QString remove(char c, io.qt.core.Qt.@NonNull CaseSensitivity cs){
return remove_native_QChar_Qt_CaseSensitivity(QtJambi_LibraryUtilities.internal.nativeId(this), c, cs.value());
}
@QtUninvokable
private native QString remove_native_QChar_Qt_CaseSensitivity(long __this__nativeId, char c, int cs);
/**
* See QString:: remove(QRegularExpression)
* @param re
* @return
*/
@QtUninvokable
public final @NonNull QString remove(io.qt.core.@NonNull QRegularExpression re){
return remove_native_cref_QRegularExpression(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(re));
}
@QtUninvokable
private native QString remove_native_cref_QRegularExpression(long __this__nativeId, long re);
/**
* See QString:: remove(QString, Qt::CaseSensitivity)
* @param s
* @param cs
* @return
*/
@QtUninvokable
public final @NonNull QString remove(java.lang.@NonNull CharSequence s, io.qt.core.Qt.@NonNull CaseSensitivity cs){
return remove_native_cref_QString_Qt_CaseSensitivity(QtJambi_LibraryUtilities.internal.nativeId(this), s, cs.value());
}
@QtUninvokable
private native QString remove_native_cref_QString_Qt_CaseSensitivity(long __this__nativeId, java.lang.CharSequence s, int cs);
/**
* See QString:: remove(qsizetype, qsizetype)
* @param i
* @param len
* @return
*/
@QtUninvokable
public final @NonNull QString remove(long i, long len){
return remove_native_qsizetype_qsizetype(QtJambi_LibraryUtilities.internal.nativeId(this), i, len);
}
@QtUninvokable
private native QString remove_native_qsizetype_qsizetype(long __this__nativeId, long i, long len);
/**
* See QString:: removeAt(qsizetype)
* @since This function was introduced in Qt 6.5.
* @param pos
* @return
*/
@QtUninvokable
public final @NonNull QString removeAt(long pos){
return removeAt_native_qsizetype(QtJambi_LibraryUtilities.internal.nativeId(this), pos);
}
@QtUninvokable
private native QString removeAt_native_qsizetype(long __this__nativeId, long pos);
/**
*
* @since This function was introduced in Qt 6.5.
* @return
*/
@QtUninvokable
public final @NonNull QString removeFirst(){
return removeFirst_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native QString removeFirst_native(long __this__nativeId);
/**
* See QString:: removeIf<Predicate>(Predicate)
* @since This function was introduced in Qt 6.1.
* @param pred
* @return
*/
@QtUninvokable
public final @NonNull QString removeIf(io.qt.core.QString.@StrictNonNull Predicate pred){
java.util.Objects.requireNonNull(pred, "Argument 'pred': null not expected.");
return removeIf_native_QString_Predicate(QtJambi_LibraryUtilities.internal.nativeId(this), pred);
}
@QtUninvokable
private native QString removeIf_native_QString_Predicate(long __this__nativeId, io.qt.core.QString.Predicate pred);
/**
*
* @since This function was introduced in Qt 6.5.
* @return
*/
@QtUninvokable
public final @NonNull QString removeLast(){
return removeLast_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native QString removeLast_native(long __this__nativeId);
/**
* See QString:: repeated(qsizetype)const
* @param times
* @return
*/
@QtUninvokable
public final io.qt.core.@NonNull QString repeated(long times){
return repeated_native_qsizetype_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), times);
}
@QtUninvokable
private native io.qt.core.QString repeated_native_qsizetype_constfct(long __this__nativeId, long times);
/**
* See QString:: replace(QChar, QChar, Qt::CaseSensitivity)
* @param before
* @param after
* @param cs
* @return
*/
@QtUninvokable
public final @NonNull QString replace(char before, char after, io.qt.core.Qt.@NonNull CaseSensitivity cs){
return replace_native_QChar_QChar_Qt_CaseSensitivity(QtJambi_LibraryUtilities.internal.nativeId(this), before, after, cs.value());
}
@QtUninvokable
private native QString replace_native_QChar_QChar_Qt_CaseSensitivity(long __this__nativeId, char before, char after, int cs);
/**
* See QString:: replace(QChar, QString, Qt::CaseSensitivity)
* @param c
* @param after
* @param cs
* @return
*/
@QtUninvokable
public final @NonNull QString replace(char c, java.lang.@NonNull CharSequence after, io.qt.core.Qt.@NonNull CaseSensitivity cs){
return replace_native_QChar_cref_QString_Qt_CaseSensitivity(QtJambi_LibraryUtilities.internal.nativeId(this), c, after, cs.value());
}
@QtUninvokable
private native QString replace_native_QChar_cref_QString_Qt_CaseSensitivity(long __this__nativeId, char c, java.lang.CharSequence after, int cs);
/**
* See QString:: replace(QRegularExpression, QString)
* @param re
* @param after
* @return
*/
@QtUninvokable
public final @NonNull QString replace(io.qt.core.@NonNull QRegularExpression re, java.lang.@NonNull CharSequence after){
return replace_native_cref_QRegularExpression_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(re), after);
}
@QtUninvokable
private native QString replace_native_cref_QRegularExpression_cref_QString(long __this__nativeId, long re, java.lang.CharSequence after);
/**
* See QString:: replace(QString, QString, Qt::CaseSensitivity)
* @param before
* @param after
* @param cs
* @return
*/
@QtUninvokable
public final @NonNull QString replace(java.lang.@NonNull CharSequence before, java.lang.@NonNull CharSequence after, io.qt.core.Qt.@NonNull CaseSensitivity cs){
return replace_native_cref_QString_cref_QString_Qt_CaseSensitivity(QtJambi_LibraryUtilities.internal.nativeId(this), before, after, cs.value());
}
@QtUninvokable
private native QString replace_native_cref_QString_cref_QString_Qt_CaseSensitivity(long __this__nativeId, java.lang.CharSequence before, java.lang.CharSequence after, int cs);
/**
* See QString:: replace(const QChar*, qsizetype, const QChar*, qsizetype, Qt::CaseSensitivity)
* @param before
* @param after
* @param cs
* @return
*/
@QtUninvokable
public final @NonNull QString replace(java.nio.@Nullable CharBuffer before, java.nio.@Nullable CharBuffer after, io.qt.core.Qt.@NonNull CaseSensitivity cs){
return replace_native_const_QChar_ptr_qsizetype_const_QChar_ptr_qsizetype_Qt_CaseSensitivity(QtJambi_LibraryUtilities.internal.nativeId(this), before, after, cs.value());
}
@QtUninvokable
private native QString replace_native_const_QChar_ptr_qsizetype_const_QChar_ptr_qsizetype_Qt_CaseSensitivity(long __this__nativeId, java.nio.CharBuffer before, java.nio.CharBuffer after, int cs);
/**
* See QString:: replace(qsizetype, qsizetype, QChar)
* @param i
* @param len
* @param after
* @return
*/
@QtUninvokable
public final @NonNull QString replace(long i, long len, char after){
return replace_native_qsizetype_qsizetype_QChar(QtJambi_LibraryUtilities.internal.nativeId(this), i, len, after);
}
@QtUninvokable
private native QString replace_native_qsizetype_qsizetype_QChar(long __this__nativeId, long i, long len, char after);
/**
* See QString:: replace(qsizetype, qsizetype, QString)
* @param i
* @param len
* @param after
* @return
*/
@QtUninvokable
public final @NonNull QString replace(long i, long len, java.lang.@NonNull CharSequence after){
return replace_native_qsizetype_qsizetype_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), i, len, after);
}
@QtUninvokable
private native QString replace_native_qsizetype_qsizetype_cref_QString(long __this__nativeId, long i, long len, java.lang.CharSequence after);
/**
* See QString:: replace(qsizetype, qsizetype, const QChar*, qsizetype)
* @param i
* @param len
* @param s
* @return
*/
@QtUninvokable
public final @NonNull QString replace(long i, long len, java.nio.@Nullable CharBuffer s){
return replace_native_qsizetype_qsizetype_const_QChar_ptr_qsizetype(QtJambi_LibraryUtilities.internal.nativeId(this), i, len, s);
}
@QtUninvokable
private native QString replace_native_qsizetype_qsizetype_const_QChar_ptr_qsizetype(long __this__nativeId, long i, long len, java.nio.CharBuffer s);
/**
* See QString:: reserve(qsizetype)
* @param size
*/
@QtUninvokable
public final void reserve(long size){
reserve_native_qsizetype(QtJambi_LibraryUtilities.internal.nativeId(this), size);
}
@QtUninvokable
private native void reserve_native_qsizetype(long __this__nativeId, long size);
/**
* See QString:: resize(qsizetype)
* @param size
*/
@QtUninvokable
public final void resize(long size){
resize_native_qsizetype(QtJambi_LibraryUtilities.internal.nativeId(this), size);
}
@QtUninvokable
private native void resize_native_qsizetype(long __this__nativeId, long size);
/**
* See QString:: resize(qsizetype, QChar)
* @param size
* @param fillChar
*/
@QtUninvokable
public final void resize(long size, char fillChar){
resize_native_qsizetype_QChar(QtJambi_LibraryUtilities.internal.nativeId(this), size, fillChar);
}
@QtUninvokable
private native void resize_native_qsizetype_QChar(long __this__nativeId, long size, char fillChar);
/**
* See QString:: resizeForOverwrite(qsizetype)
* @since This function was introduced in Qt 6.8.
* @param size
*/
@QtUninvokable
public final void resizeForOverwrite(long size){
resizeForOverwrite_native_qsizetype(QtJambi_LibraryUtilities.internal.nativeId(this), size);
}
@QtUninvokable
private native void resizeForOverwrite_native_qsizetype(long __this__nativeId, long size);
/**
* See QString:: right(qsizetype)const
* @param n
* @return
*/
@QtUninvokable
public final io.qt.core.@NonNull QString right(long n){
return right_native_qsizetype_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), n);
}
@QtUninvokable
private native io.qt.core.QString right_native_qsizetype_constfct(long __this__nativeId, long n);
/**
* See QString:: rightJustified(qsizetype, QChar, bool)const
* @param width
* @param fill
* @param trunc
* @return
*/
@QtUninvokable
public final io.qt.core.@NonNull QString rightJustified(long width, char fill, boolean trunc){
return rightJustified_native_qsizetype_QChar_bool_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), width, fill, trunc);
}
@QtUninvokable
private native io.qt.core.QString rightJustified_native_qsizetype_QChar_bool_constfct(long __this__nativeId, long width, char fill, boolean trunc);
/**
* See QString:: section(QChar, qsizetype, qsizetype, QString::SectionFlags)const
* @param sep
* @param start
* @param end
* @param flags
* @return
*/
@QtUninvokable
public final io.qt.core.@NonNull QString section(char sep, long start, long end, io.qt.core.QString.@NonNull SectionFlags flags){
return section_native_QChar_qsizetype_qsizetype_QString_SectionFlags_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), sep, start, end, flags.value());
}
@QtUninvokable
private native io.qt.core.QString section_native_QChar_qsizetype_qsizetype_QString_SectionFlags_constfct(long __this__nativeId, char sep, long start, long end, int flags);
/**
* See QString:: section(QRegularExpression, qsizetype, qsizetype, QString::SectionFlags)const
* @param re
* @param start
* @param end
* @param flags
* @return
*/
@QtUninvokable
public final io.qt.core.@NonNull QString section(io.qt.core.@NonNull QRegularExpression re, long start, long end, io.qt.core.QString.@NonNull SectionFlags flags){
return section_native_cref_QRegularExpression_qsizetype_qsizetype_QString_SectionFlags_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(re), start, end, flags.value());
}
@QtUninvokable
private native io.qt.core.QString section_native_cref_QRegularExpression_qsizetype_qsizetype_QString_SectionFlags_constfct(long __this__nativeId, long re, long start, long end, int flags);
/**
* See QString:: section(QString, qsizetype, qsizetype, QString::SectionFlags)const
* @param in_sep
* @param start
* @param end
* @param flags
* @return
*/
@QtUninvokable
public final io.qt.core.@NonNull QString section(java.lang.@NonNull CharSequence in_sep, long start, long end, io.qt.core.QString.@NonNull SectionFlags flags){
return section_native_cref_QString_qsizetype_qsizetype_QString_SectionFlags_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), in_sep, start, end, flags.value());
}
@QtUninvokable
private native io.qt.core.QString section_native_cref_QString_qsizetype_qsizetype_QString_SectionFlags_constfct(long __this__nativeId, java.lang.CharSequence in_sep, long start, long end, int flags);
/**
* See QString:: setNum(double, char, int)
* @param arg__1
* @param format
* @param precision
* @return
*/
@QtUninvokable
public final @NonNull QString setNum(double arg__1, byte format, int precision){
return setNum_native_double_char_int(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1, format, precision);
}
@QtUninvokable
private native QString setNum_native_double_char_int(long __this__nativeId, double arg__1, byte format, int precision);
/**
* See QString:: setNum(float, char, int)
* @param arg__1
* @param format
* @param precision
* @return
*/
@QtUninvokable
public final @NonNull QString setNum(float arg__1, byte format, int precision){
return setNum_native_float_char_int(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1, format, precision);
}
@QtUninvokable
private native QString setNum_native_float_char_int(long __this__nativeId, float arg__1, byte format, int precision);
/**
*
* @param arg__1
* @param base
* @return
*/
@QtUninvokable
public final @NonNull QString setNum(int arg__1, int base){
return setNum_native_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1, base);
}
@QtUninvokable
private native QString setNum_native_int_int(long __this__nativeId, int arg__1, int base);
/**
* See QString:: setNum(qlonglong, int)
* @param arg__1
* @param base
* @return
*/
@QtUninvokable
public final @NonNull QString setNum(long arg__1, int base){
return setNum_native_qlonglong_int(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1, base);
}
@QtUninvokable
private native QString setNum_native_qlonglong_int(long __this__nativeId, long arg__1, int base);
/**
* See QString:: setNum(short, int)
* @param arg__1
* @param base
* @return
*/
@QtUninvokable
public final @NonNull QString setNum(short arg__1, int base){
return setNum_native_short_int(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1, base);
}
@QtUninvokable
private native QString setNum_native_short_int(long __this__nativeId, short arg__1, int base);
/**
* See QString:: setRawData(const QChar*, qsizetype)
* @param unicode
* @return
*/
@QtUninvokable
public final @NonNull QString setRawData(java.nio.@Nullable CharBuffer unicode){
return setRawData_native_const_QChar_ptr_qsizetype(QtJambi_LibraryUtilities.internal.nativeId(this), unicode);
}
@QtUninvokable
private native QString setRawData_native_const_QChar_ptr_qsizetype(long __this__nativeId, java.nio.CharBuffer unicode);
/**
* See QString:: setUnicode(const QChar*, qsizetype)
* @param unicode
* @return
*/
@QtUninvokable
public final @NonNull QString setUnicode(java.nio.@Nullable CharBuffer unicode){
return setUnicode_native_const_QChar_ptr_qsizetype(QtJambi_LibraryUtilities.internal.nativeId(this), unicode);
}
@QtUninvokable
private native QString setUnicode_native_const_QChar_ptr_qsizetype(long __this__nativeId, java.nio.CharBuffer unicode);
/**
* See QString:: setUtf16(const ushort*, qsizetype)
* @param utf16
* @return
*/
@QtUninvokable
public final @NonNull QString setUtf16(java.nio.@Nullable ShortBuffer utf16){
return setUtf16_native_const_ushort_ptr_qsizetype(QtJambi_LibraryUtilities.internal.nativeId(this), utf16);
}
@QtUninvokable
private native QString setUtf16_native_const_ushort_ptr_qsizetype(long __this__nativeId, java.nio.ShortBuffer utf16);
/**
*
*/
@QtUninvokable
public final void shrink_to_fit(){
shrink_to_fit_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native void shrink_to_fit_native(long __this__nativeId);
/**
* See QString:: simplified()const
* @return
*/
@QtUninvokable
public final io.qt.core.@NonNull QString simplified(){
return simplified_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QString simplified_native_constfct(long __this__nativeId);
/**
*
* @return
*/
@QtUninvokable
public final long size(){
return size_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native long size_native_constfct(long __this__nativeId);
/**
*
* @since This function was introduced in Qt 6.8.
* @param pos
* @return
*/
@QtUninvokable
public final @NonNull QString slice(long pos){
return slice_native_qsizetype(QtJambi_LibraryUtilities.internal.nativeId(this), pos);
}
@QtUninvokable
private native QString slice_native_qsizetype(long __this__nativeId, long pos);
/**
* See QString:: slice(qsizetype, qsizetype)
* @since This function was introduced in Qt 6.8.
* @param pos
* @param n
* @return
*/
@QtUninvokable
public final @NonNull QString slice(long pos, long n){
return slice_native_qsizetype_qsizetype(QtJambi_LibraryUtilities.internal.nativeId(this), pos, n);
}
@QtUninvokable
private native QString slice_native_qsizetype_qsizetype(long __this__nativeId, long pos, long n);
/**
* See QString:: sliced(qsizetype)const
* @since This function was introduced in Qt 6.0.
* @param pos
* @return
*/
@QtUninvokable
public final io.qt.core.@NonNull QString sliced(long pos){
return sliced_native_qsizetype_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), pos);
}
@QtUninvokable
private native io.qt.core.QString sliced_native_qsizetype_constfct(long __this__nativeId, long pos);
/**
* See QString:: sliced(qsizetype, qsizetype)const
* @since This function was introduced in Qt 6.0.
* @param pos
* @param n
* @return
*/
@QtUninvokable
public final io.qt.core.@NonNull QString sliced(long pos, long n){
return sliced_native_qsizetype_qsizetype_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), pos, n);
}
@QtUninvokable
private native io.qt.core.QString sliced_native_qsizetype_qsizetype_constfct(long __this__nativeId, long pos, long n);
/**
* See QString:: split(QChar, Qt::SplitBehavior, Qt::CaseSensitivity)const
* @param sep
* @param behavior
* @param cs
* @return
*/
@QtUninvokable
public final io.qt.core.@NonNull QStringList split(char sep, io.qt.core.Qt.@NonNull SplitBehavior behavior, io.qt.core.Qt.@NonNull CaseSensitivity cs){
return split_native_QChar_Qt_SplitBehavior_Qt_CaseSensitivity_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), sep, behavior.value(), cs.value());
}
@QtUninvokable
private native io.qt.core.QStringList split_native_QChar_Qt_SplitBehavior_Qt_CaseSensitivity_constfct(long __this__nativeId, char sep, int behavior, int cs);
/**
* See QString:: split(QRegularExpression, Qt::SplitBehavior)const
* @param sep
* @param behavior
* @return
*/
@QtUninvokable
public final io.qt.core.@NonNull QStringList split(io.qt.core.@NonNull QRegularExpression sep, io.qt.core.Qt.@NonNull SplitBehavior behavior){
return split_native_cref_QRegularExpression_Qt_SplitBehavior_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(sep), behavior.value());
}
@QtUninvokable
private native io.qt.core.QStringList split_native_cref_QRegularExpression_Qt_SplitBehavior_constfct(long __this__nativeId, long sep, int behavior);
/**
* See QString:: split(QString, Qt::SplitBehavior, Qt::CaseSensitivity)const
* @param sep
* @param behavior
* @param cs
* @return
*/
@QtUninvokable
public final io.qt.core.@NonNull QStringList split(java.lang.@NonNull CharSequence sep, io.qt.core.Qt.@NonNull SplitBehavior behavior, io.qt.core.Qt.@NonNull CaseSensitivity cs){
return split_native_cref_QString_Qt_SplitBehavior_Qt_CaseSensitivity_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), sep, behavior.value(), cs.value());
}
@QtUninvokable
private native io.qt.core.QStringList split_native_cref_QString_Qt_SplitBehavior_Qt_CaseSensitivity_constfct(long __this__nativeId, java.lang.CharSequence sep, int behavior, int cs);
/**
*
*/
@QtUninvokable
public final void squeeze(){
squeeze_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native void squeeze_native(long __this__nativeId);
/**
* See QString:: startsWith(QChar, Qt::CaseSensitivity)const
* @param c
* @param cs
* @return
*/
@QtUninvokable
public final boolean startsWith(char c, io.qt.core.Qt.@NonNull CaseSensitivity cs){
return startsWith_native_QChar_Qt_CaseSensitivity_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), c, cs.value());
}
@QtUninvokable
private native boolean startsWith_native_QChar_Qt_CaseSensitivity_constfct(long __this__nativeId, char c, int cs);
/**
* See QString:: startsWith(QString, Qt::CaseSensitivity)const
* @param s
* @param cs
* @return
*/
@QtUninvokable
public final boolean startsWith(java.lang.@NonNull CharSequence s, io.qt.core.Qt.@NonNull CaseSensitivity cs){
return startsWith_native_cref_QString_Qt_CaseSensitivity_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), s, cs.value());
}
@QtUninvokable
private native boolean startsWith_native_cref_QString_Qt_CaseSensitivity_constfct(long __this__nativeId, java.lang.CharSequence s, int cs);
/**
*
* @param other
*/
@QtUninvokable
public final void swap(io.qt.core.@StrictNonNull QString other){
java.util.Objects.requireNonNull(other, "Argument 'other': null not expected.");
swap_native_ref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), other);
}
@QtUninvokable
private native void swap_native_ref_QString(long __this__nativeId, io.qt.core.QString other);
/**
* See QString:: toCaseFolded()const
* @return
*/
@QtUninvokable
public final io.qt.core.@NonNull QString toCaseFolded(){
return toCaseFolded_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QString toCaseFolded_native_constfct(long __this__nativeId);
/**
* See QString:: toDouble(bool*)const
* @return
*/
@QtUninvokable
public final double toDouble() throws NumberFormatException{
return toDouble_native_bool_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native double toDouble_native_bool_ptr_constfct(long __this__nativeId) throws NumberFormatException ;
/**
* See QString:: toFloat(bool*)const
* @return
*/
@QtUninvokable
public final float toFloat() throws NumberFormatException{
return toFloat_native_bool_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native float toFloat_native_bool_ptr_constfct(long __this__nativeId) throws NumberFormatException ;
/**
* See QString:: toHtmlEscaped()const
* @return
*/
@QtUninvokable
public final io.qt.core.@NonNull QString toHtmlEscaped(){
return toHtmlEscaped_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QString toHtmlEscaped_native_constfct(long __this__nativeId);
/**
* See QString:: toInt(bool*, int)const
* @param base
* @return
*/
@QtUninvokable
public final int toInt(int base) throws NumberFormatException{
return toInt_native_bool_ptr_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), base);
}
@QtUninvokable
private native int toInt_native_bool_ptr_int_constfct(long __this__nativeId, int base) throws NumberFormatException ;
/**
*
* @return
*/
@QtUninvokable
public final io.qt.core.@NonNull QByteArray toLatin1(){
return toLatin1_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QByteArray toLatin1_native_constfct(long __this__nativeId);
/**
* See QString:: toLocal8Bit()const
* @return
*/
@QtUninvokable
public final io.qt.core.@NonNull QByteArray toLocal8Bit(){
return toLocal8Bit_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QByteArray toLocal8Bit_native_constfct(long __this__nativeId);
/**
* See QString:: toLongLong(bool*, int)const
* @param base
* @return
*/
@QtUninvokable
public final long toLong(int base) throws NumberFormatException{
return toLong_native_bool_ptr_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), base);
}
@QtUninvokable
private native long toLong_native_bool_ptr_int_constfct(long __this__nativeId, int base) throws NumberFormatException ;
/**
*
* @return
*/
@QtUninvokable
public final io.qt.core.@NonNull QString toLower(){
return toLower_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QString toLower_native_constfct(long __this__nativeId);
/**
* See QString:: toShort(bool*, int)const
* @param base
* @return
*/
@QtUninvokable
public final short toShort(int base) throws NumberFormatException{
return toShort_native_bool_ptr_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), base);
}
@QtUninvokable
private native short toShort_native_bool_ptr_int_constfct(long __this__nativeId, int base) throws NumberFormatException ;
/**
*
* @return
*/
@QtUninvokable
public final io.qt.core.@NonNull QList toUcs4(){
return toUcs4_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QList toUcs4_native_constfct(long __this__nativeId);
/**
*
* @return
*/
@QtUninvokable
public final io.qt.core.@NonNull QString toUpper(){
return toUpper_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QString toUpper_native_constfct(long __this__nativeId);
/**
*
* @return
*/
@QtUninvokable
public final io.qt.core.@NonNull QByteArray toUtf8(){
return toUtf8_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QByteArray toUtf8_native_constfct(long __this__nativeId);
/**
*
* @return
*/
@QtUninvokable
public final io.qt.core.@NonNull QString trimmed(){
return trimmed_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QString trimmed_native_constfct(long __this__nativeId);
/**
* See QString:: truncate(qsizetype)
* @param pos
*/
@QtUninvokable
public final void truncate(long pos){
truncate_native_qsizetype(QtJambi_LibraryUtilities.internal.nativeId(this), pos);
}
@QtUninvokable
private native void truncate_native_qsizetype(long __this__nativeId, long pos);
/**
*
* @return
*/
@QtUninvokable
public final char @StrictNonNull[] unicode(){
return unicode_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native char[] unicode_native_constfct(long __this__nativeId);
/**
*
* @return
*/
@QtUninvokable
public final short @StrictNonNull[] utf16(){
return utf16_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native short[] utf16_native_constfct(long __this__nativeId);
/**
* See QString:: compare(QString, QString, Qt::CaseSensitivity)
* @param s1
* @param s2
* @param cs
* @return
*/
public static int compare(java.lang.@NonNull CharSequence s1, java.lang.@NonNull CharSequence s2, io.qt.core.Qt.@NonNull CaseSensitivity cs){
return compare_native_cref_QString_cref_QString_Qt_CaseSensitivity(s1, s2, cs.value());
}
private native static int compare_native_cref_QString_cref_QString_Qt_CaseSensitivity(java.lang.CharSequence s1, java.lang.CharSequence s2, int cs);
/**
* See QString:: fromLatin1(QByteArrayView)
* @since This function was introduced in Qt 6.0.
* @param ba
* @return
*/
public static io.qt.core.@NonNull QString fromLatin1(io.qt.core.@NonNull QByteArrayView ba){
return fromLatin1_native_QByteArrayView(QtJambi_LibraryUtilities.internal.checkedNativeId(ba));
}
private native static io.qt.core.QString fromLatin1_native_QByteArrayView(long ba);
/**
* See QString:: fromLatin1(const char*, qsizetype)
* @param str
* @return
*/
public native static io.qt.core.@NonNull QString fromLatin1(java.nio.@Nullable ByteBuffer str);
/**
* See QString:: fromLatin1<void>(QByteArray)
* @param ba
* @return
*/
public static io.qt.core.@NonNull QString fromLatin1(io.qt.core.@NonNull QByteArray ba){
return fromLatin1_native_cref_QByteArray(QtJambi_LibraryUtilities.internal.checkedNativeId(ba));
}
private native static io.qt.core.QString fromLatin1_native_cref_QByteArray(long ba);
/**
* See QString:: fromLocal8Bit(QByteArrayView)
* @since This function was introduced in Qt 6.0.
* @param ba
* @return
*/
public static io.qt.core.@NonNull QString fromLocal8Bit(io.qt.core.@NonNull QByteArrayView ba){
return fromLocal8Bit_native_QByteArrayView(QtJambi_LibraryUtilities.internal.checkedNativeId(ba));
}
private native static io.qt.core.QString fromLocal8Bit_native_QByteArrayView(long ba);
/**
* See QString:: fromLocal8Bit(const char*, qsizetype)
* @param str
* @return
*/
public native static io.qt.core.@NonNull QString fromLocal8Bit(java.nio.@Nullable ByteBuffer str);
/**
* See QString:: fromLocal8Bit<void>(QByteArray)
* @param ba
* @return
*/
public static io.qt.core.@NonNull QString fromLocal8Bit(io.qt.core.@NonNull QByteArray ba){
return fromLocal8Bit_native_cref_QByteArray(QtJambi_LibraryUtilities.internal.checkedNativeId(ba));
}
private native static io.qt.core.QString fromLocal8Bit_native_cref_QByteArray(long ba);
/**
* See QString:: fromRawData(const QChar*, qsizetype)
* @param arg__1
* @return
*/
public native static io.qt.core.@NonNull QString fromRawData(java.nio.@Nullable CharBuffer arg__1);
/**
* See QString:: fromUcs4(const char32_t*, qsizetype)
* @param arg__1
* @return
*/
public native static io.qt.core.@NonNull QString fromUcs4(java.nio.@Nullable IntBuffer arg__1);
/**
* See QString:: fromUtf16(const char16_t*, qsizetype)
* @param arg__1
* @return
*/
public native static io.qt.core.@NonNull QString fromUtf16(java.nio.@Nullable CharBuffer arg__1);
/**
* See QString:: fromUtf8(QByteArrayView)
* @since This function was introduced in Qt 6.0.
* @param utf8
* @return
*/
public static io.qt.core.@NonNull QString fromUtf8(io.qt.core.@NonNull QByteArrayView utf8){
return fromUtf8_native_QByteArrayView(QtJambi_LibraryUtilities.internal.checkedNativeId(utf8));
}
private native static io.qt.core.QString fromUtf8_native_QByteArrayView(long utf8);
/**
* See QString:: fromUtf8(const char*, qsizetype)
* @param utf8
* @return
*/
public native static io.qt.core.@NonNull QString fromUtf8(java.nio.@Nullable ByteBuffer utf8);
/**
* See QString:: fromUtf8<void>(QByteArray)
* @param ba
* @return
*/
public static io.qt.core.@NonNull QString fromUtf8(io.qt.core.@NonNull QByteArray ba){
return fromUtf8_native_cref_QByteArray(QtJambi_LibraryUtilities.internal.checkedNativeId(ba));
}
private native static io.qt.core.QString fromUtf8_native_cref_QByteArray(long ba);
/**
* See QString:: localeAwareCompare(QString, QString)
* @param s1
* @param s2
* @return
*/
public static int localeAwareCompare(java.lang.@NonNull CharSequence s1, java.lang.@NonNull CharSequence s2){
return localeAwareCompare_native_cref_QString_cref_QString(s1, s2);
}
private native static int localeAwareCompare_native_cref_QString_cref_QString(java.lang.CharSequence s1, java.lang.CharSequence s2);
/**
*
* @since This function was introduced in Qt 6.8.
* @return
*/
public native static long maxSize();
/**
* See QString:: number(double, char, int)
* @param arg__1
* @param format
* @param precision
* @return
*/
public native static io.qt.core.@NonNull QString number(double arg__1, byte format, int precision);
/**
*
* @param arg__1
* @param base
* @return
*/
public native static io.qt.core.@NonNull QString number(int arg__1, int base);
/**
* See QString:: number(qlonglong, int)
* @param arg__1
* @param base
* @return
*/
public native static io.qt.core.@NonNull QString number(long arg__1, int base);
/**
* Returns an iterator for this iterable object.
* @see #begin()
* @see #end()
*/
@Override
public java.util.@NonNull Iterator iterator() {
return begin().iterator();
}
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QString(QPrivateConstructor p) { super(p); }
/**
* Checks for equality depending on the type of given object.
* {@link java.lang.CharSequence}
ckecked by to operator==(QString, QString)
* {@link java.lang.Character}
ckecked by to operator==(QString, QChar)
* {@link io.qt.core.QByteArrayView}
ckecked by to operator==(QString, QByteArrayView)
* {@link io.qt.core.QByteArray}
ckecked by to operator==(QString, QByteArrayView)
* {@link java.nio.ByteBuffer}
ckecked by to operator==(QString, QByteArrayView)
* byte[]
ckecked by to operator==(QString, QByteArrayView)
* {@link io.qt.core.QByteArray}
ckecked by to operator==(QString, QByteArray)
* byte[]
ckecked by to operator==(QString, QByteArray)
*
*/
@Override
@QtUninvokable
public boolean equals(Object other) {
if (other==null || other instanceof java.lang.CharSequence) {
return equals((java.lang.CharSequence) other);
}
else if (other instanceof java.lang.Character) {
return equals((char) other);
}
else if (other instanceof io.qt.core.QByteArrayView) {
return equals((io.qt.core.QByteArrayView) other);
}
else if (other instanceof io.qt.core.QByteArray) {
return equals((io.qt.core.QByteArray) other);
}
else if (other instanceof java.nio.ByteBuffer) {
return equals((java.nio.ByteBuffer) other);
}
else if (other instanceof byte[]) {
return equals((byte[]) other);
}
else if (other instanceof io.qt.core.QByteArray) {
return equals((io.qt.core.QByteArray) other);
}
else if (other instanceof byte[]) {
return equals((byte[]) other);
}
return false;
}
/**
* Compares to other object depending on its type.
* {@link java.lang.CharSequence}
compared by operator<(QString, QString)
* {@link java.lang.Character}
compared by operator<(QString, QChar)
* {@link io.qt.core.QByteArrayView}
compared by operator<(QString, QByteArrayView)
* {@link io.qt.core.QByteArray}
compared by operator<(QString, QByteArrayView)
* {@link java.nio.ByteBuffer}
compared by operator<(QString, QByteArrayView)
* byte[]
compared by operator<(QString, QByteArrayView)
* {@link io.qt.core.QByteArray}
compared by operator<(QString, QByteArray)
* byte[]
compared by operator<(QString, QByteArray)
*
*/
@QtUninvokable
public int compareTo(@StrictNonNull Object other) {
if (equals(other)) return 0;
else if (other==null || other instanceof java.lang.CharSequence) {
if (operator_less((java.lang.CharSequence) other)) return -1;
else return 1;
}
else if (other instanceof java.lang.Character) {
if (operator_less((char) other)) return -1;
else return 1;
}
else if (other instanceof io.qt.core.QByteArrayView) {
if (operator_less((io.qt.core.QByteArrayView) other)) return -1;
else return 1;
}
else if (other instanceof io.qt.core.QByteArray) {
if (operator_less((io.qt.core.QByteArray) other)) return -1;
else return 1;
}
else if (other instanceof java.nio.ByteBuffer) {
if (operator_less((java.nio.ByteBuffer) other)) return -1;
else return 1;
}
else if (other instanceof byte[]) {
if (operator_less((byte[]) other)) return -1;
else return 1;
}
else if (other instanceof io.qt.core.QByteArray) {
if (operator_less((io.qt.core.QByteArray) other)) return -1;
else return 1;
}
else if (other instanceof byte[]) {
if (operator_less((byte[]) other)) return -1;
else return 1;
}
else throw new ClassCastException();
}
/**
* Returns the objects's hash code computed by qHash(QString)
.
*/
@QtUninvokable
@Override
public int hashCode() {
return hashCode_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native static int hashCode_native(long __this_nativeId);
/**
* Returns the string representation of the object given by QVariant(this).toString()
.
*/
@QtUninvokable
@Override
public @NonNull String toString() {
return toString_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native static String toString_native(long __this_nativeId);
/**
* {@inheritDoc}
*/
@Override
@QtUninvokable
public final char charAt(int index) {
return at(index);
}
/**
* {@inheritDoc}
*/
@Override
@QtUninvokable
public final @NonNull QString subSequence(int start, int end) {
return mid(start, end-start);
}
/**
* {@inheritDoc}
*/
@Override
@QtUninvokable
public final @NonNull QString append(CharSequence csq, int start, int end) throws java.io.IOException {
return append(csq==null ? "null" : csq.subSequence(start, end));
}
/**
* See QString::arg(Args &&... args) const
*/
@QtUninvokable
public final @NonNull QString arg(Object... args){
QString _this = this.clone();
for(Object arg : args) {
if(arg instanceof Integer)
_this = _this.arg((int)arg);
else if(arg instanceof Character)
_this = _this.arg((char)arg);
else if(arg instanceof Double)
_this = _this.arg((double)arg);
else if(arg instanceof Byte)
_this = _this.arg((byte)arg);
else if(arg instanceof Short)
_this = _this.arg((short)arg);
else if(arg instanceof Long)
_this = _this.arg((long)arg);
else if(arg instanceof Float)
_this = _this.arg((float)arg);
else if(arg instanceof CharSequence)
_this = _this.arg((CharSequence)arg);
else if(arg!=null)
_this = _this.arg(arg.toString());
else
_this = _this.arg("null");
}
return _this;
}
/**
* Similar to {@link java.lang.String#format(String, Object...)} but using {@link QString#arg(Object...)}.
* @param format format string
* @param args arguments
* @return formatted string
*/
@QtUninvokable
public static @NonNull QString format(CharSequence format, Object... args){
QString strg;
if(format instanceof QString){
strg = (QString)format;
}else{
strg = new QString(format);
}
return strg.arg(args);
}
/**
* Static version of {@link QString#toUtf8()}
* @param string
* @return utf8
*/
@QtUninvokable
public static native @NonNull QByteArray toUtf8(CharSequence string);
/**
* Static version of {@link QString#toLatin1()}
* @param string
* @return latin1
*/
@QtUninvokable
public static native @NonNull QByteArray toLatin1(CharSequence string);
/**
* Static version of {@link QString#toLocal8Bit()}
* @param string
* @return local8Bit
*/
@QtUninvokable
public static native @NonNull QByteArray toLocal8Bit(CharSequence string);
/**
* Java wrapper for Qt callable std::function<bool(QChar)>
*/
@FunctionalInterface
public interface Predicate {
public boolean test(char character);
}
/**
* Creates and returns a copy of this object.
*/
@QtUninvokable
@Override
public QString clone() {
return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private static native QString clone_native(long __this_nativeId);
/**
* Overloaded constructor for {@link #QString(io.qt.core.QByteArray)}.
*/
public QString(byte @NonNull[] a) {
this(new io.qt.core.QByteArray(a));
}
/**
* Overloaded constructor for {@link #QString(java.nio.CharBuffer)}.
*/
public QString(char[] unicode, int offsetOfUnicode, int size) {
this(unicode==null ? null : java.nio.CharBuffer.wrap(unicode, offsetOfUnicode, size));
}
/**
* Overloaded constructor for {@link #QString(java.nio.CharBuffer)}.
*/
public QString(char[] unicode) {
this(unicode==null ? null : java.nio.CharBuffer.wrap(unicode));
}
/**
* Overloaded function for {@link #append(io.qt.core.QByteArray)}.
*/
@QtUninvokable
public final @NonNull QString append(byte @NonNull[] s) {
return append(new io.qt.core.QByteArray(s));
}
/**
* Overloaded function for {@link #append(java.nio.CharBuffer)}.
*/
@QtUninvokable
public final @NonNull QString append(char[] uc, int offsetOfUc, int len) {
return append(uc==null ? null : java.nio.CharBuffer.wrap(uc, offsetOfUc, len));
}
/**
* Overloaded function for {@link #append(java.nio.CharBuffer)}.
*/
@QtUninvokable
public final @NonNull QString append(char[] uc) {
return append(uc==null ? null : java.nio.CharBuffer.wrap(uc));
}
/**
* Overloaded function for {@link #arg(char, int, char)}
* with fillChar = ' '
.
*/
@QtUninvokable
public final io.qt.core.@NonNull QString arg(char a, int fieldWidth) {
return arg(a, fieldWidth, ' ');
}
/**
* Overloaded function for {@link #arg(char, int, char)}
* with:
* fieldWidth = 0
* fillChar = ' '
*
*/
@QtUninvokable
public final io.qt.core.@NonNull QString arg(char a) {
return arg(a, (int)0, ' ');
}
/**
* Overloaded function for {@link #arg(java.lang.CharSequence, int, char)}
* with fillChar = ' '
.
*/
@QtUninvokable
public final io.qt.core.@NonNull QString arg(java.lang.@NonNull CharSequence a, int fieldWidth) {
return arg(a, fieldWidth, ' ');
}
/**
* Overloaded function for {@link #arg(java.lang.CharSequence, int, char)}
* with:
* fieldWidth = 0
* fillChar = ' '
*
*/
@QtUninvokable
public final io.qt.core.@NonNull QString arg(java.lang.@NonNull CharSequence a) {
return arg(a, (int)0, ' ');
}
/**
* Overloaded function for {@link #arg(byte, int, char)}
* with fillChar = ' '
.
*/
@QtUninvokable
public final io.qt.core.@NonNull QString arg(byte a, int fieldWidth) {
return arg(a, fieldWidth, ' ');
}
/**
* Overloaded function for {@link #arg(byte, int, char)}
* with:
* fieldWidth = 0
* fillChar = ' '
*
*/
@QtUninvokable
public final io.qt.core.@NonNull QString arg(byte a) {
return arg(a, (int)0, ' ');
}
/**
* Overloaded function for {@link #arg(double, int, byte, int, char)}
* with fillChar = ' '
.
*/
@QtUninvokable
public final io.qt.core.@NonNull QString arg(double a, int fieldWidth, byte format, int precision) {
return arg(a, fieldWidth, format, precision, ' ');
}
/**
* Overloaded function for {@link #arg(double, int, byte, int, char)}
* with:
* precision = -1
* fillChar = ' '
*
*/
@QtUninvokable
public final io.qt.core.@NonNull QString arg(double a, int fieldWidth, byte format) {
return arg(a, fieldWidth, format, (int)-1, ' ');
}
/**
* Overloaded function for {@link #arg(double, int, byte, int, char)}
* with:
* format = 'g'
* precision = -1
* fillChar = ' '
*
*/
@QtUninvokable
public final io.qt.core.@NonNull QString arg(double a, int fieldWidth) {
return arg(a, fieldWidth, (byte)'g', (int)-1, ' ');
}
/**
* Overloaded function for {@link #arg(double, int, byte, int, char)}
* with:
* fieldWidth = 0
* format = 'g'
* precision = -1
* fillChar = ' '
*
*/
@QtUninvokable
public final io.qt.core.@NonNull QString arg(double a) {
return arg(a, (int)0, (byte)'g', (int)-1, ' ');
}
/**
* Overloaded function for {@link #arg(int, int, int, char)}
* with fillChar = ' '
.
*/
@QtUninvokable
public final io.qt.core.@NonNull QString arg(int a, int fieldWidth, int base) {
return arg(a, fieldWidth, base, ' ');
}
/**
* Overloaded function for {@link #arg(int, int, int, char)}
* with:
* base = 10
* fillChar = ' '
*
*/
@QtUninvokable
public final io.qt.core.@NonNull QString arg(int a, int fieldWidth) {
return arg(a, fieldWidth, (int)10, ' ');
}
/**
* Overloaded function for {@link #arg(int, int, int, char)}
* with:
* fieldWidth = 0
* base = 10
* fillChar = ' '
*
*/
@QtUninvokable
public final io.qt.core.@NonNull QString arg(int a) {
return arg(a, (int)0, (int)10, ' ');
}
/**
* Overloaded function for {@link #arg(long, int, int, char)}
* with fillChar = ' '
.
*/
@QtUninvokable
public final io.qt.core.@NonNull QString arg(long a, int fieldwidth, int base) {
return arg(a, fieldwidth, base, ' ');
}
/**
* Overloaded function for {@link #arg(long, int, int, char)}
* with:
* base = 10
* fillChar = ' '
*
*/
@QtUninvokable
public final io.qt.core.@NonNull QString arg(long a, int fieldwidth) {
return arg(a, fieldwidth, (int)10, ' ');
}
/**
* Overloaded function for {@link #arg(long, int, int, char)}
* with:
* fieldwidth = 0
* base = 10
* fillChar = ' '
*
*/
@QtUninvokable
public final io.qt.core.@NonNull QString arg(long a) {
return arg(a, (int)0, (int)10, ' ');
}
/**
* Overloaded function for {@link #arg(short, int, int, char)}
* with fillChar = ' '
.
*/
@QtUninvokable
public final io.qt.core.@NonNull QString arg(short a, int fieldWidth, int base) {
return arg(a, fieldWidth, base, ' ');
}
/**
* Overloaded function for {@link #arg(short, int, int, char)}
* with:
* base = 10
* fillChar = ' '
*
*/
@QtUninvokable
public final io.qt.core.@NonNull QString arg(short a, int fieldWidth) {
return arg(a, fieldWidth, (int)10, ' ');
}
/**
* Overloaded function for {@link #arg(short, int, int, char)}
* with:
* fieldWidth = 0
* base = 10
* fillChar = ' '
*
*/
@QtUninvokable
public final io.qt.core.@NonNull QString arg(short a) {
return arg(a, (int)0, (int)10, ' ');
}
/**
* Overloaded function for {@link #compare(char, io.qt.core.Qt.CaseSensitivity)}
* with cs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
.
*/
@QtUninvokable
public final int compare(char ch) {
return compare(ch, io.qt.core.Qt.CaseSensitivity.CaseSensitive);
}
/**
* Overloaded function for {@link #compare(java.lang.CharSequence, io.qt.core.Qt.CaseSensitivity)}
* with cs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
.
*/
@QtUninvokable
public final int compare(java.lang.@NonNull CharSequence s) {
return compare(s, io.qt.core.Qt.CaseSensitivity.CaseSensitive);
}
/**
* Overloaded function for {@link #contains(char, io.qt.core.Qt.CaseSensitivity)}
* with cs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
.
*/
@QtUninvokable
public final boolean contains(char c) {
return contains(c, io.qt.core.Qt.CaseSensitivity.CaseSensitive);
}
/**
* Overloaded function for {@link #contains(io.qt.core.QRegularExpression, io.qt.core.QRegularExpressionMatch)}
* with rmatch = null
.
*/
@QtUninvokable
public final boolean contains(io.qt.core.@NonNull QRegularExpression re) {
return contains(re, (io.qt.core.QRegularExpressionMatch)null);
}
/**
* Overloaded function for {@link #contains(java.lang.CharSequence, io.qt.core.Qt.CaseSensitivity)}
* with cs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
.
*/
@QtUninvokable
public final boolean contains(java.lang.@NonNull CharSequence s) {
return contains(s, io.qt.core.Qt.CaseSensitivity.CaseSensitive);
}
/**
* Overloaded function for {@link #count(char, io.qt.core.Qt.CaseSensitivity)}
* with cs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
.
*/
@QtUninvokable
public final long count(char c) {
return count(c, io.qt.core.Qt.CaseSensitivity.CaseSensitive);
}
/**
* Overloaded function for {@link #count(java.lang.CharSequence, io.qt.core.Qt.CaseSensitivity)}
* with cs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
.
*/
@QtUninvokable
public final long count(java.lang.@NonNull CharSequence s) {
return count(s, io.qt.core.Qt.CaseSensitivity.CaseSensitive);
}
/**
* Overloaded function for {@link #endsWith(char, io.qt.core.Qt.CaseSensitivity)}
* with cs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
.
*/
@QtUninvokable
public final boolean endsWith(char c) {
return endsWith(c, io.qt.core.Qt.CaseSensitivity.CaseSensitive);
}
/**
* Overloaded function for {@link #endsWith(java.lang.CharSequence, io.qt.core.Qt.CaseSensitivity)}
* with cs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
.
*/
@QtUninvokable
public final boolean endsWith(java.lang.@NonNull CharSequence s) {
return endsWith(s, io.qt.core.Qt.CaseSensitivity.CaseSensitive);
}
/**
* Overloaded function for {@link #fill(char, long)}
* with size = -1
.
*/
@QtUninvokable
public final @NonNull QString fill(char c) {
return fill(c, (long)-1);
}
/**
* Overloaded function for {@link #indexOf(char, long, io.qt.core.Qt.CaseSensitivity)}
* with cs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
.
*/
@QtUninvokable
public final long indexOf(char c, long from) {
return indexOf(c, from, io.qt.core.Qt.CaseSensitivity.CaseSensitive);
}
/**
* Overloaded function for {@link #indexOf(char, long, io.qt.core.Qt.CaseSensitivity)}
* with:
* from = 0
* cs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
*
*/
@QtUninvokable
public final long indexOf(char c) {
return indexOf(c, (long)0, io.qt.core.Qt.CaseSensitivity.CaseSensitive);
}
/**
* Overloaded function for {@link #indexOf(io.qt.core.QRegularExpression, long, io.qt.core.QRegularExpressionMatch)}
* with rmatch = null
.
*/
@QtUninvokable
public final long indexOf(io.qt.core.@NonNull QRegularExpression re, long from) {
return indexOf(re, from, (io.qt.core.QRegularExpressionMatch)null);
}
/**
* Overloaded function for {@link #indexOf(io.qt.core.QRegularExpression, long, io.qt.core.QRegularExpressionMatch)}
* with:
* from = 0
* rmatch = null
*
*/
@QtUninvokable
public final long indexOf(io.qt.core.@NonNull QRegularExpression re) {
return indexOf(re, (long)0, (io.qt.core.QRegularExpressionMatch)null);
}
/**
* Overloaded function for {@link #indexOf(java.lang.CharSequence, long, io.qt.core.Qt.CaseSensitivity)}
* with cs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
.
*/
@QtUninvokable
public final long indexOf(java.lang.@NonNull CharSequence s, long from) {
return indexOf(s, from, io.qt.core.Qt.CaseSensitivity.CaseSensitive);
}
/**
* Overloaded function for {@link #indexOf(java.lang.CharSequence, long, io.qt.core.Qt.CaseSensitivity)}
* with:
* from = 0
* cs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
*
*/
@QtUninvokable
public final long indexOf(java.lang.@NonNull CharSequence s) {
return indexOf(s, (long)0, io.qt.core.Qt.CaseSensitivity.CaseSensitive);
}
/**
* Overloaded function for {@link #insert(long, io.qt.core.QByteArray)}.
*/
@QtUninvokable
public final @NonNull QString insert(long i, byte @NonNull[] s) {
return insert(i, new io.qt.core.QByteArray(s));
}
/**
* Overloaded function for {@link #insert(long, java.nio.CharBuffer)}.
*/
@QtUninvokable
public final @NonNull QString insert(long i, char[] uc, int offsetOfUc, int len) {
return insert(i, uc==null ? null : java.nio.CharBuffer.wrap(uc, offsetOfUc, len));
}
/**
* Overloaded function for {@link #insert(long, java.nio.CharBuffer)}.
*/
@QtUninvokable
public final @NonNull QString insert(long i, char[] uc) {
return insert(i, uc==null ? null : java.nio.CharBuffer.wrap(uc));
}
/**
* Overloaded function for {@link #lastIndexOf(char, io.qt.core.Qt.CaseSensitivity)}
* with cs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
.
*/
@QtUninvokable
public final long lastIndexOf(char c) {
return lastIndexOf(c, io.qt.core.Qt.CaseSensitivity.CaseSensitive);
}
/**
* Overloaded function for {@link #lastIndexOf(char, long, io.qt.core.Qt.CaseSensitivity)}
* with cs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
.
*/
@QtUninvokable
public final long lastIndexOf(char c, long from) {
return lastIndexOf(c, from, io.qt.core.Qt.CaseSensitivity.CaseSensitive);
}
/**
* Overloaded function for {@link #lastIndexOf(io.qt.core.QRegularExpression, long, io.qt.core.QRegularExpressionMatch)}
* with rmatch = null
.
*/
@QtUninvokable
public final long lastIndexOf(io.qt.core.@NonNull QRegularExpression re, long from) {
return lastIndexOf(re, from, (io.qt.core.QRegularExpressionMatch)null);
}
/**
* Overloaded function for {@link #lastIndexOf(java.lang.CharSequence, io.qt.core.Qt.CaseSensitivity)}
* with cs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
.
*/
@QtUninvokable
public final long lastIndexOf(java.lang.@NonNull CharSequence s) {
return lastIndexOf(s, io.qt.core.Qt.CaseSensitivity.CaseSensitive);
}
/**
* Overloaded function for {@link #lastIndexOf(java.lang.CharSequence, long, io.qt.core.Qt.CaseSensitivity)}
* with cs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
.
*/
@QtUninvokable
public final long lastIndexOf(java.lang.@NonNull CharSequence s, long from) {
return lastIndexOf(s, from, io.qt.core.Qt.CaseSensitivity.CaseSensitive);
}
/**
* Overloaded function for {@link #lastIndexOf(io.qt.core.QRegularExpression, io.qt.core.QRegularExpressionMatch)}
* with rmatch = null
.
*/
@QtUninvokable
public final long lastIndexOf(io.qt.core.@NonNull QRegularExpression re) {
return lastIndexOf(re, (io.qt.core.QRegularExpressionMatch)null);
}
/**
* Overloaded function for {@link #leftJustified(long, char, boolean)}
* with trunc = false
.
*/
@QtUninvokable
public final io.qt.core.@NonNull QString leftJustified(long width, char fill) {
return leftJustified(width, fill, (boolean)false);
}
/**
* Overloaded function for {@link #leftJustified(long, char, boolean)}
* with:
* fill = ' '
* trunc = false
*
*/
@QtUninvokable
public final io.qt.core.@NonNull QString leftJustified(long width) {
return leftJustified(width, ' ', (boolean)false);
}
/**
* Overloaded function for {@link #mid(long, long)}
* with n = -1
.
*/
@QtUninvokable
public final io.qt.core.@NonNull QString mid(long position) {
return mid(position, (long)-1);
}
/**
* Overloaded function for {@link #plus(io.qt.core.QByteArray)}.
*/
@QtUninvokable
public final io.qt.core.@NonNull QString plus(byte @NonNull[] ba) {
return plus(new io.qt.core.QByteArray(ba));
}
@QtUninvokable
private final boolean operator_less(java.nio.@NonNull ByteBuffer rhs) {
return operator_less(new io.qt.core.QByteArrayView(rhs));
}
@QtUninvokable
private final boolean operator_less(byte @NonNull[] rhs) {
return operator_less(new io.qt.core.QByteArrayView(rhs));
}
/**
* Overloaded function for {@link #assign(io.qt.core.QByteArray)}.
*/
@QtUninvokable
public final void assign(byte @NonNull[] a) {
assign(new io.qt.core.QByteArray(a));
}
/**
* Overloaded function for {@link #equals(io.qt.core.QByteArrayView)}.
*/
@QtUninvokable
public final boolean equals(java.nio.@NonNull ByteBuffer rhs) {
return equals(new io.qt.core.QByteArrayView(rhs));
}
/**
* Overloaded function for {@link #equals(io.qt.core.QByteArrayView)}.
*/
@QtUninvokable
public final boolean equals(byte @NonNull[] rhs) {
return equals(new io.qt.core.QByteArrayView(rhs));
}
/**
* Overloaded function for {@link #prepend(io.qt.core.QByteArray)}.
*/
@QtUninvokable
public final @NonNull QString prepend(byte @NonNull[] s) {
return prepend(new io.qt.core.QByteArray(s));
}
/**
* Overloaded function for {@link #prepend(java.nio.CharBuffer)}.
*/
@QtUninvokable
public final @NonNull QString prepend(char[] uc, int offsetOfUc, int len) {
return prepend(uc==null ? null : java.nio.CharBuffer.wrap(uc, offsetOfUc, len));
}
/**
* Overloaded function for {@link #prepend(java.nio.CharBuffer)}.
*/
@QtUninvokable
public final @NonNull QString prepend(char[] uc) {
return prepend(uc==null ? null : java.nio.CharBuffer.wrap(uc));
}
/**
* Overloaded function for {@link #remove(char, io.qt.core.Qt.CaseSensitivity)}
* with cs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
.
*/
@QtUninvokable
public final @NonNull QString remove(char c) {
return remove(c, io.qt.core.Qt.CaseSensitivity.CaseSensitive);
}
/**
* Overloaded function for {@link #remove(java.lang.CharSequence, io.qt.core.Qt.CaseSensitivity)}
* with cs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
.
*/
@QtUninvokable
public final @NonNull QString remove(java.lang.@NonNull CharSequence s) {
return remove(s, io.qt.core.Qt.CaseSensitivity.CaseSensitive);
}
/**
* Overloaded function for {@link #replace(char, char, io.qt.core.Qt.CaseSensitivity)}
* with cs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
.
*/
@QtUninvokable
public final @NonNull QString replace(char before, char after) {
return replace(before, after, io.qt.core.Qt.CaseSensitivity.CaseSensitive);
}
/**
* Overloaded function for {@link #replace(char, java.lang.CharSequence, io.qt.core.Qt.CaseSensitivity)}
* with cs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
.
*/
@QtUninvokable
public final @NonNull QString replace(char c, java.lang.@NonNull CharSequence after) {
return replace(c, after, io.qt.core.Qt.CaseSensitivity.CaseSensitive);
}
/**
* Overloaded function for {@link #replace(java.lang.CharSequence, java.lang.CharSequence, io.qt.core.Qt.CaseSensitivity)}
* with cs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
.
*/
@QtUninvokable
public final @NonNull QString replace(java.lang.@NonNull CharSequence before, java.lang.@NonNull CharSequence after) {
return replace(before, after, io.qt.core.Qt.CaseSensitivity.CaseSensitive);
}
/**
* Overloaded function for {@link #replace(java.nio.CharBuffer, java.nio.CharBuffer, io.qt.core.Qt.CaseSensitivity)}
* with cs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
.
*/
@QtUninvokable
public final @NonNull QString replace(java.nio.@Nullable CharBuffer before, java.nio.@Nullable CharBuffer after) {
return replace(before, after, io.qt.core.Qt.CaseSensitivity.CaseSensitive);
}
/**
* Overloaded function for {@link #replace(char[], int, int, java.nio.CharBuffer, io.qt.core.Qt.CaseSensitivity)}
* with cs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
.
*/
@QtUninvokable
public final @NonNull QString replace(char[] before, int offsetOfBefore, int blen, java.nio.@Nullable CharBuffer after) {
return replace(before==null ? null : java.nio.CharBuffer.wrap(before, offsetOfBefore, blen), after, io.qt.core.Qt.CaseSensitivity.CaseSensitive);
}
/**
* Overloaded function for {@link #replace(java.nio.CharBuffer, java.nio.CharBuffer, io.qt.core.Qt.CaseSensitivity)}.
*/
@QtUninvokable
public final @NonNull QString replace(char[] before, int offsetOfBefore, int blen, java.nio.@Nullable CharBuffer after, io.qt.core.Qt.@NonNull CaseSensitivity cs) {
return replace(before==null ? null : java.nio.CharBuffer.wrap(before, offsetOfBefore, blen), after, cs);
}
/**
* Overloaded function for {@link #replace(char[], java.nio.CharBuffer, io.qt.core.Qt.CaseSensitivity)}
* with cs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
.
*/
@QtUninvokable
public final @NonNull QString replace(char[] before, java.nio.@Nullable CharBuffer after) {
return replace(before==null ? null : java.nio.CharBuffer.wrap(before), after, io.qt.core.Qt.CaseSensitivity.CaseSensitive);
}
/**
* Overloaded function for {@link #replace(java.nio.CharBuffer, java.nio.CharBuffer, io.qt.core.Qt.CaseSensitivity)}.
*/
@QtUninvokable
public final @NonNull QString replace(char[] before, java.nio.@Nullable CharBuffer after, io.qt.core.Qt.@NonNull CaseSensitivity cs) {
return replace(before==null ? null : java.nio.CharBuffer.wrap(before), after, cs);
}
/**
* Overloaded function for {@link #replace(java.nio.CharBuffer, char[], int, int, io.qt.core.Qt.CaseSensitivity)}
* with cs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
.
*/
@QtUninvokable
public final @NonNull QString replace(java.nio.@Nullable CharBuffer before, char[] after, int offsetOfAfter, int alen) {
return replace(before, after==null ? null : java.nio.CharBuffer.wrap(after, offsetOfAfter, alen), io.qt.core.Qt.CaseSensitivity.CaseSensitive);
}
/**
* Overloaded function for {@link #replace(java.nio.CharBuffer, java.nio.CharBuffer, io.qt.core.Qt.CaseSensitivity)}.
*/
@QtUninvokable
public final @NonNull QString replace(java.nio.@Nullable CharBuffer before, char[] after, int offsetOfAfter, int alen, io.qt.core.Qt.@NonNull CaseSensitivity cs) {
return replace(before, after==null ? null : java.nio.CharBuffer.wrap(after, offsetOfAfter, alen), cs);
}
/**
* Overloaded function for {@link #replace(char[], int, int, char[], int, int, io.qt.core.Qt.CaseSensitivity)}
* with cs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
.
*/
@QtUninvokable
public final @NonNull QString replace(char[] before, int offsetOfBefore, int blen, char[] after, int offsetOfAfter, int alen) {
return replace(before==null ? null : java.nio.CharBuffer.wrap(before, offsetOfBefore, blen), after==null ? null : java.nio.CharBuffer.wrap(after, offsetOfAfter, alen), io.qt.core.Qt.CaseSensitivity.CaseSensitive);
}
/**
* Overloaded function for {@link #replace(java.nio.CharBuffer, java.nio.CharBuffer, io.qt.core.Qt.CaseSensitivity)}.
*/
@QtUninvokable
public final @NonNull QString replace(char[] before, int offsetOfBefore, int blen, char[] after, int offsetOfAfter, int alen, io.qt.core.Qt.@NonNull CaseSensitivity cs) {
return replace(before==null ? null : java.nio.CharBuffer.wrap(before, offsetOfBefore, blen), after==null ? null : java.nio.CharBuffer.wrap(after, offsetOfAfter, alen), cs);
}
/**
* Overloaded function for {@link #replace(char[], char[], int, int, io.qt.core.Qt.CaseSensitivity)}
* with cs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
.
*/
@QtUninvokable
public final @NonNull QString replace(char[] before, char[] after, int offsetOfAfter, int alen) {
return replace(before==null ? null : java.nio.CharBuffer.wrap(before), after==null ? null : java.nio.CharBuffer.wrap(after, offsetOfAfter, alen), io.qt.core.Qt.CaseSensitivity.CaseSensitive);
}
/**
* Overloaded function for {@link #replace(java.nio.CharBuffer, java.nio.CharBuffer, io.qt.core.Qt.CaseSensitivity)}.
*/
@QtUninvokable
public final @NonNull QString replace(char[] before, char[] after, int offsetOfAfter, int alen, io.qt.core.Qt.@NonNull CaseSensitivity cs) {
return replace(before==null ? null : java.nio.CharBuffer.wrap(before), after==null ? null : java.nio.CharBuffer.wrap(after, offsetOfAfter, alen), cs);
}
/**
* Overloaded function for {@link #replace(java.nio.CharBuffer, char[], io.qt.core.Qt.CaseSensitivity)}
* with cs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
.
*/
@QtUninvokable
public final @NonNull QString replace(java.nio.@Nullable CharBuffer before, char[] after) {
return replace(before, after==null ? null : java.nio.CharBuffer.wrap(after), io.qt.core.Qt.CaseSensitivity.CaseSensitive);
}
/**
* Overloaded function for {@link #replace(java.nio.CharBuffer, java.nio.CharBuffer, io.qt.core.Qt.CaseSensitivity)}.
*/
@QtUninvokable
public final @NonNull QString replace(java.nio.@Nullable CharBuffer before, char[] after, io.qt.core.Qt.@NonNull CaseSensitivity cs) {
return replace(before, after==null ? null : java.nio.CharBuffer.wrap(after), cs);
}
/**
* Overloaded function for {@link #replace(char[], int, int, char[], io.qt.core.Qt.CaseSensitivity)}
* with cs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
.
*/
@QtUninvokable
public final @NonNull QString replace(char[] before, int offsetOfBefore, int blen, char[] after) {
return replace(before==null ? null : java.nio.CharBuffer.wrap(before, offsetOfBefore, blen), after==null ? null : java.nio.CharBuffer.wrap(after), io.qt.core.Qt.CaseSensitivity.CaseSensitive);
}
/**
* Overloaded function for {@link #replace(java.nio.CharBuffer, java.nio.CharBuffer, io.qt.core.Qt.CaseSensitivity)}.
*/
@QtUninvokable
public final @NonNull QString replace(char[] before, int offsetOfBefore, int blen, char[] after, io.qt.core.Qt.@NonNull CaseSensitivity cs) {
return replace(before==null ? null : java.nio.CharBuffer.wrap(before, offsetOfBefore, blen), after==null ? null : java.nio.CharBuffer.wrap(after), cs);
}
/**
* Overloaded function for {@link #replace(char[], char[], io.qt.core.Qt.CaseSensitivity)}
* with cs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
.
*/
@QtUninvokable
public final @NonNull QString replace(char[] before, char[] after) {
return replace(before==null ? null : java.nio.CharBuffer.wrap(before), after==null ? null : java.nio.CharBuffer.wrap(after), io.qt.core.Qt.CaseSensitivity.CaseSensitive);
}
/**
* Overloaded function for {@link #replace(java.nio.CharBuffer, java.nio.CharBuffer, io.qt.core.Qt.CaseSensitivity)}.
*/
@QtUninvokable
public final @NonNull QString replace(char[] before, char[] after, io.qt.core.Qt.@NonNull CaseSensitivity cs) {
return replace(before==null ? null : java.nio.CharBuffer.wrap(before), after==null ? null : java.nio.CharBuffer.wrap(after), cs);
}
/**
* Overloaded function for {@link #replace(long, long, java.nio.CharBuffer)}.
*/
@QtUninvokable
public final @NonNull QString replace(long i, long len, char[] s, int offsetOfS, int slen) {
return replace(i, len, s==null ? null : java.nio.CharBuffer.wrap(s, offsetOfS, slen));
}
/**
* Overloaded function for {@link #replace(long, long, java.nio.CharBuffer)}.
*/
@QtUninvokable
public final @NonNull QString replace(long i, long len, char[] s) {
return replace(i, len, s==null ? null : java.nio.CharBuffer.wrap(s));
}
/**
* Overloaded function for {@link #rightJustified(long, char, boolean)}
* with trunc = false
.
*/
@QtUninvokable
public final io.qt.core.@NonNull QString rightJustified(long width, char fill) {
return rightJustified(width, fill, (boolean)false);
}
/**
* Overloaded function for {@link #rightJustified(long, char, boolean)}
* with:
* fill = ' '
* trunc = false
*
*/
@QtUninvokable
public final io.qt.core.@NonNull QString rightJustified(long width) {
return rightJustified(width, ' ', (boolean)false);
}
/**
* Overloaded function for {@link #section(char, long, long, io.qt.core.QString.SectionFlags)}
* with flags = new io.qt.core.QString.SectionFlags(0)
.
*/
@QtUninvokable
public final io.qt.core.@NonNull QString section(char sep, long start, long end) {
return section(sep, start, end, new io.qt.core.QString.SectionFlags(0));
}
/**
* Overloaded function for {@link #section(char, long, long, io.qt.core.QString.SectionFlags)}
* with:
* end = -1
* flags = new io.qt.core.QString.SectionFlags(0)
*
*/
@QtUninvokable
public final io.qt.core.@NonNull QString section(char sep, long start) {
return section(sep, start, (long)-1, new io.qt.core.QString.SectionFlags(0));
}
/**
* Overloaded function for {@link #section(char, long, long, io.qt.core.QString.SectionFlags)}.
*/
@QtUninvokable
public final io.qt.core.@NonNull QString section(char sep, long start, long end, io.qt.core.QString.@NonNull SectionFlag @NonNull... flags) {
return section(sep, start, end, new io.qt.core.QString.SectionFlags(flags));
}
/**
* Overloaded function for {@link #section(io.qt.core.QRegularExpression, long, long, io.qt.core.QString.SectionFlags)}
* with flags = new io.qt.core.QString.SectionFlags(0)
.
*/
@QtUninvokable
public final io.qt.core.@NonNull QString section(io.qt.core.@NonNull QRegularExpression re, long start, long end) {
return section(re, start, end, new io.qt.core.QString.SectionFlags(0));
}
/**
* Overloaded function for {@link #section(io.qt.core.QRegularExpression, long, long, io.qt.core.QString.SectionFlags)}
* with:
* end = -1
* flags = new io.qt.core.QString.SectionFlags(0)
*
*/
@QtUninvokable
public final io.qt.core.@NonNull QString section(io.qt.core.@NonNull QRegularExpression re, long start) {
return section(re, start, (long)-1, new io.qt.core.QString.SectionFlags(0));
}
/**
* Overloaded function for {@link #section(io.qt.core.QRegularExpression, long, long, io.qt.core.QString.SectionFlags)}.
*/
@QtUninvokable
public final io.qt.core.@NonNull QString section(io.qt.core.@NonNull QRegularExpression re, long start, long end, io.qt.core.QString.@NonNull SectionFlag @NonNull... flags) {
return section(re, start, end, new io.qt.core.QString.SectionFlags(flags));
}
/**
* Overloaded function for {@link #section(java.lang.CharSequence, long, long, io.qt.core.QString.SectionFlags)}
* with flags = new io.qt.core.QString.SectionFlags(0)
.
*/
@QtUninvokable
public final io.qt.core.@NonNull QString section(java.lang.@NonNull CharSequence in_sep, long start, long end) {
return section(in_sep, start, end, new io.qt.core.QString.SectionFlags(0));
}
/**
* Overloaded function for {@link #section(java.lang.CharSequence, long, long, io.qt.core.QString.SectionFlags)}
* with:
* end = -1
* flags = new io.qt.core.QString.SectionFlags(0)
*
*/
@QtUninvokable
public final io.qt.core.@NonNull QString section(java.lang.@NonNull CharSequence in_sep, long start) {
return section(in_sep, start, (long)-1, new io.qt.core.QString.SectionFlags(0));
}
/**
* Overloaded function for {@link #section(java.lang.CharSequence, long, long, io.qt.core.QString.SectionFlags)}.
*/
@QtUninvokable
public final io.qt.core.@NonNull QString section(java.lang.@NonNull CharSequence in_sep, long start, long end, io.qt.core.QString.@NonNull SectionFlag @NonNull... flags) {
return section(in_sep, start, end, new io.qt.core.QString.SectionFlags(flags));
}
/**
* Overloaded function for {@link #setNum(double, byte, int)}
* with precision = 6
.
*/
@QtUninvokable
public final @NonNull QString setNum(double arg__1, byte format) {
return setNum(arg__1, format, (int)6);
}
/**
* Overloaded function for {@link #setNum(double, byte, int)}
* with:
* format = 'g'
* precision = 6
*
*/
@QtUninvokable
public final @NonNull QString setNum(double arg__1) {
return setNum(arg__1, (byte)'g', (int)6);
}
/**
* Overloaded function for {@link #setNum(float, byte, int)}
* with precision = 6
.
*/
@QtUninvokable
public final @NonNull QString setNum(float arg__1, byte format) {
return setNum(arg__1, format, (int)6);
}
/**
* Overloaded function for {@link #setNum(float, byte, int)}
* with:
* format = 'g'
* precision = 6
*
*/
@QtUninvokable
public final @NonNull QString setNum(float arg__1) {
return setNum(arg__1, (byte)'g', (int)6);
}
/**
* Overloaded function for {@link #setNum(int, int)}
* with base = 10
.
*/
@QtUninvokable
public final @NonNull QString setNum(int arg__1) {
return setNum(arg__1, (int)10);
}
/**
* Overloaded function for {@link #setNum(long, int)}
* with base = 10
.
*/
@QtUninvokable
public final @NonNull QString setNum(long arg__1) {
return setNum(arg__1, (int)10);
}
/**
* Overloaded function for {@link #setNum(short, int)}
* with base = 10
.
*/
@QtUninvokable
public final @NonNull QString setNum(short arg__1) {
return setNum(arg__1, (int)10);
}
/**
* Overloaded function for {@link #setRawData(java.nio.CharBuffer)}.
*/
@QtUninvokable
public final @NonNull QString setRawData(char[] unicode, int offsetOfUnicode, int size) {
return setRawData(unicode==null ? null : java.nio.CharBuffer.wrap(unicode, offsetOfUnicode, size));
}
/**
* Overloaded function for {@link #setRawData(java.nio.CharBuffer)}.
*/
@QtUninvokable
public final @NonNull QString setRawData(char[] unicode) {
return setRawData(unicode==null ? null : java.nio.CharBuffer.wrap(unicode));
}
/**
* Overloaded function for {@link #setUnicode(java.nio.CharBuffer)}.
*/
@QtUninvokable
public final @NonNull QString setUnicode(char[] unicode, int offsetOfUnicode, int size) {
return setUnicode(unicode==null ? null : java.nio.CharBuffer.wrap(unicode, offsetOfUnicode, size));
}
/**
* Overloaded function for {@link #setUnicode(java.nio.CharBuffer)}.
*/
@QtUninvokable
public final @NonNull QString setUnicode(char[] unicode) {
return setUnicode(unicode==null ? null : java.nio.CharBuffer.wrap(unicode));
}
/**
* Overloaded function for {@link #setUtf16(java.nio.ShortBuffer)}.
*/
@QtUninvokable
public final @NonNull QString setUtf16(short[] utf16, int offsetOfUtf16, int size) {
return setUtf16(utf16==null ? null : java.nio.ShortBuffer.wrap(utf16, offsetOfUtf16, size));
}
/**
* Overloaded function for {@link #setUtf16(java.nio.ShortBuffer)}.
*/
@QtUninvokable
public final @NonNull QString setUtf16(short[] utf16) {
return setUtf16(utf16==null ? null : java.nio.ShortBuffer.wrap(utf16));
}
/**
* Overloaded function for {@link #split(char, io.qt.core.Qt.SplitBehavior, io.qt.core.Qt.CaseSensitivity)}
* with cs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
.
*/
@QtUninvokable
public final io.qt.core.@NonNull QStringList split(char sep, io.qt.core.Qt.@NonNull SplitBehavior behavior) {
return split(sep, behavior, io.qt.core.Qt.CaseSensitivity.CaseSensitive);
}
/**
* Overloaded function for {@link #split(char, io.qt.core.Qt.SplitBehavior, io.qt.core.Qt.CaseSensitivity)}
* with:
* behavior = new io.qt.core.Qt.SplitBehavior(0)
* cs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
*
*/
@QtUninvokable
public final io.qt.core.@NonNull QStringList split(char sep) {
return split(sep, new io.qt.core.Qt.SplitBehavior(0), io.qt.core.Qt.CaseSensitivity.CaseSensitive);
}
/**
* Overloaded function for {@link #split(io.qt.core.QRegularExpression, io.qt.core.Qt.SplitBehavior)}
* with behavior = new io.qt.core.Qt.SplitBehavior(0)
.
*/
@QtUninvokable
public final io.qt.core.@NonNull QStringList split(io.qt.core.@NonNull QRegularExpression sep) {
return split(sep, new io.qt.core.Qt.SplitBehavior(0));
}
/**
* Overloaded function for {@link #split(io.qt.core.QRegularExpression, io.qt.core.Qt.SplitBehavior)}.
*/
@QtUninvokable
public final io.qt.core.@NonNull QStringList split(io.qt.core.@NonNull QRegularExpression sep, io.qt.core.Qt.@NonNull SplitBehaviorFlags @NonNull... behavior) {
return split(sep, new io.qt.core.Qt.SplitBehavior(behavior));
}
/**
* Overloaded function for {@link #split(java.lang.CharSequence, io.qt.core.Qt.SplitBehavior, io.qt.core.Qt.CaseSensitivity)}
* with cs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
.
*/
@QtUninvokable
public final io.qt.core.@NonNull QStringList split(java.lang.@NonNull CharSequence sep, io.qt.core.Qt.@NonNull SplitBehavior behavior) {
return split(sep, behavior, io.qt.core.Qt.CaseSensitivity.CaseSensitive);
}
/**
* Overloaded function for {@link #split(java.lang.CharSequence, io.qt.core.Qt.SplitBehavior, io.qt.core.Qt.CaseSensitivity)}
* with:
* behavior = new io.qt.core.Qt.SplitBehavior(0)
* cs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
*
*/
@QtUninvokable
public final io.qt.core.@NonNull QStringList split(java.lang.@NonNull CharSequence sep) {
return split(sep, new io.qt.core.Qt.SplitBehavior(0), io.qt.core.Qt.CaseSensitivity.CaseSensitive);
}
/**
* Overloaded function for {@link #startsWith(char, io.qt.core.Qt.CaseSensitivity)}
* with cs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
.
*/
@QtUninvokable
public final boolean startsWith(char c) {
return startsWith(c, io.qt.core.Qt.CaseSensitivity.CaseSensitive);
}
/**
* Overloaded function for {@link #startsWith(java.lang.CharSequence, io.qt.core.Qt.CaseSensitivity)}
* with cs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
.
*/
@QtUninvokable
public final boolean startsWith(java.lang.@NonNull CharSequence s) {
return startsWith(s, io.qt.core.Qt.CaseSensitivity.CaseSensitive);
}
/**
* Overloaded function for {@link #toInt(int)}
* with base = 10
.
*/
@QtUninvokable
public final int toInt() throws NumberFormatException {
return toInt((int)10);
}
/**
* Overloaded function for {@link #toLong(int)}
* with base = 10
.
*/
@QtUninvokable
public final long toLong() throws NumberFormatException {
return toLong((int)10);
}
/**
* Overloaded function for {@link #toShort(int)}
* with base = 10
.
*/
@QtUninvokable
public final short toShort() throws NumberFormatException {
return toShort((int)10);
}
/**
* Overloaded function for {@link #compare(java.lang.CharSequence, java.lang.CharSequence, io.qt.core.Qt.CaseSensitivity)}
* with cs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
.
*/
public static int compare(java.lang.@NonNull CharSequence s1, java.lang.@NonNull CharSequence s2) {
return compare(s1, s2, io.qt.core.Qt.CaseSensitivity.CaseSensitive);
}
/**
* Overloaded function for {@link #fromLatin1(java.nio.ByteBuffer)}.
*/
public static io.qt.core.@NonNull QString fromLatin1(byte[] str, int offsetOfStr, int size) {
return fromLatin1(str==null ? null : java.nio.ByteBuffer.wrap(str, offsetOfStr, size));
}
/**
* Overloaded function for {@link #fromLatin1(java.nio.ByteBuffer)}.
*/
public static io.qt.core.@NonNull QString fromLatin1(byte[] str) {
return fromLatin1(str==null ? null : java.nio.ByteBuffer.wrap(str));
}
/**
* Overloaded function for {@link #fromLocal8Bit(java.nio.ByteBuffer)}.
*/
public static io.qt.core.@NonNull QString fromLocal8Bit(byte[] str, int offsetOfStr, int size) {
return fromLocal8Bit(str==null ? null : java.nio.ByteBuffer.wrap(str, offsetOfStr, size));
}
/**
* Overloaded function for {@link #fromLocal8Bit(java.nio.ByteBuffer)}.
*/
public static io.qt.core.@NonNull QString fromLocal8Bit(byte[] str) {
return fromLocal8Bit(str==null ? null : java.nio.ByteBuffer.wrap(str));
}
/**
* Overloaded function for {@link #fromRawData(java.nio.CharBuffer)}.
*/
public static io.qt.core.@NonNull QString fromRawData(char[] arg__1, int offsetOfArg__1, int size) {
return fromRawData(arg__1==null ? null : java.nio.CharBuffer.wrap(arg__1, offsetOfArg__1, size));
}
/**
* Overloaded function for {@link #fromRawData(java.nio.CharBuffer)}.
*/
public static io.qt.core.@NonNull QString fromRawData(char[] arg__1) {
return fromRawData(arg__1==null ? null : java.nio.CharBuffer.wrap(arg__1));
}
/**
* Overloaded function for {@link #fromUcs4(java.nio.IntBuffer)}.
*/
public static io.qt.core.@NonNull QString fromUcs4(int[] arg__1, int offsetOfArg__1, int size) {
return fromUcs4(arg__1==null ? null : java.nio.IntBuffer.wrap(arg__1, offsetOfArg__1, size));
}
/**
* Overloaded function for {@link #fromUcs4(java.nio.IntBuffer)}.
*/
public static io.qt.core.@NonNull QString fromUcs4(int[] arg__1) {
return fromUcs4(arg__1==null ? null : java.nio.IntBuffer.wrap(arg__1));
}
/**
* Overloaded function for {@link #fromUtf16(java.nio.CharBuffer)}.
*/
public static io.qt.core.@NonNull QString fromUtf16(char[] arg__1, int offsetOfArg__1, int size) {
return fromUtf16(arg__1==null ? null : java.nio.CharBuffer.wrap(arg__1, offsetOfArg__1, size));
}
/**
* Overloaded function for {@link #fromUtf16(java.nio.CharBuffer)}.
*/
public static io.qt.core.@NonNull QString fromUtf16(char[] arg__1) {
return fromUtf16(arg__1==null ? null : java.nio.CharBuffer.wrap(arg__1));
}
/**
* Overloaded function for {@link #fromUtf8(java.nio.ByteBuffer)}.
*/
public static io.qt.core.@NonNull QString fromUtf8(byte[] utf8, int offsetOfUtf8, int size) {
return fromUtf8(utf8==null ? null : java.nio.ByteBuffer.wrap(utf8, offsetOfUtf8, size));
}
/**
* Overloaded function for {@link #fromUtf8(java.nio.ByteBuffer)}.
*/
public static io.qt.core.@NonNull QString fromUtf8(byte[] utf8) {
return fromUtf8(utf8==null ? null : java.nio.ByteBuffer.wrap(utf8));
}
/**
* Overloaded function for {@link #number(double, byte, int)}
* with precision = 6
.
*/
public static io.qt.core.@NonNull QString number(double arg__1, byte format) {
return number(arg__1, format, (int)6);
}
/**
* Overloaded function for {@link #number(double, byte, int)}
* with:
* format = 'g'
* precision = 6
*
*/
public static io.qt.core.@NonNull QString number(double arg__1) {
return number(arg__1, (byte)'g', (int)6);
}
/**
* Overloaded function for {@link #number(int, int)}
* with base = 10
.
*/
public static io.qt.core.@NonNull QString number(int arg__1) {
return number(arg__1, (int)10);
}
/**
* Overloaded function for {@link #number(long, int)}
* with base = 10
.
*/
public static io.qt.core.@NonNull QString number(long arg__1) {
return number(arg__1, (int)10);
}
}