java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.internal.QtJambiCollectionObject<E>
io.qt.internal.QtJambiListObject<T>
io.qt.core.QList<T>
- All Implemented Interfaces:
QtObjectInterface,Cloneable,Iterable<T>,Collection<T>,List<T>
- Direct Known Subclasses:
QBarDataArray,QBarDataRow,QBluetoothServiceInfo.Alternative,QBluetoothServiceInfo.Sequence,QItemSelection,QNdefMessage,QPolygon,QPolygonF,QQueue,QScatterDataArray,QStack,QStringList,QSurfaceDataArray,QSurfaceDataRow,QTestEventList,QXmlStreamAttributes
Java wrapper for Qt class QList
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor -
Constructor Summary
ConstructorsModifierConstructorDescriptionQList(QMetaType.Type metaType) protectedQList(Collection<T> other) -
Method Summary
Modifier and TypeMethodDescriptionfinal voidbooleanfinal voidappend(Collection<T> t) final voidfinal Tat(int i) begin()final intcapacity()final voidclear()clone()final booleanfinal intcount()final intend()final booleanbooleanUsed to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface.final voidfinal voidfinal Tfirst()final Tget(int index) inthashCode()final intfinal intfinal voidfinal voidfinal booleanisEmpty()final Tlast()final intfinal intlastIndexOf(T t, int from) final intlength()mid(int pos) mid(int pos, int length) final voidmove(int from, int to) static QStringListReturns a QStringList containing given elements.static <T> QList<T>of(T element0, T... elements) Returns a QList containing given elements.final voidvoidreadFrom(QDataStream stream) final voidremove(int i, int n) final booleanfinal intfinal voidremoveAt(int i) protected final voidremoveAtIndex(int cursor) final Tfinal Tfinal booleanfinal voidfinal voidreserve(int size) final voidresize(int size) final Tfinal intsize()final voidsqueeze()final booleanstartsWith(T t) final voidswapItemsAt(int i, int j) final TtakeAt(int i) final Tfinal TtakeLast()toString()final Tvalue(int i) final TvoidwriteTo(QDataStream stream) Methods inherited from class io.qt.internal.QtJambiListObject
addAll, addAll, listIterator, listIterator, remove, retainAll, subListMethods inherited from class io.qt.internal.QtJambiCollectionObject
containsAll, descendingIterator, iterator, removeAll, toArray, toArrayMethods inherited from class io.qt.QtObject
dispose, isDisposedMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.List
containsAll, iterator, removeAll, replaceAll, sort, spliterator, toArray, toArray
-
Constructor Details
-
QList
-
QList
-
QList
-
QList
-
QList
-
-
Method Details
-
createVariantList
-
clone
-
append
- Specified by:
appendin classQtJambiListObject<T>
-
append
-
at
-
begin
- Specified by:
beginin classQtJambiCollectionObject<T>
-
clear
-
contains
-
count
-
count
-
end
- Specified by:
endin classQtJambiCollectionObject<T>
-
endsWith
-
first
-
indexOf
-
insert
-
isEmpty
-
last
-
lastIndexOf
- Specified by:
lastIndexOfin interfaceList<T>
-
lastIndexOf
-
length
-
mid
-
mid
-
move
-
prepend
-
removeAll
-
removeAt
-
removeFirst
-
removeLast
-
removeOne
-
replace
-
reserve
-
size
-
startsWith
-
takeAt
-
takeFirst
-
takeLast
-
value
-
value
-
equals
Description copied from class:QtObjectUsed to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface. Otherwise it will return the result of calling the super class implementation. -
hashCode
-
toString
- Overrides:
toStringin classQtJambiCollectionObject<T>
-
add
-
add
-
set
-
remove
-
indexOf
-
get
-
swapItemsAt
-
removeAtIndex
- Specified by:
removeAtIndexin classQtJambiListObject<T>
-
fill
-
fill
-
insert
-
remove
-
capacity
-
resize
-
squeeze
-
writeTo
-
readFrom
-
of
Returns a QList containing given elements.- Type Parameters:
E- theQList's element type- Parameters:
element0- the first elementelements- subsequent elements- Returns:
- a
QListcontaining the specified element - Throws:
NullPointerException- if elements arenull
-
of
Returns a QStringList containing given elements.- Type Parameters:
E- theQStringList's element type- Parameters:
element0- the first elementelements- subsequent elements- Returns:
- a
QStringListcontaining the specified element
-