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
ModifierConstructorDescriptionQList
(QMetaType.Type metaType) protected
QList
(Collection<T> other) -
Method Summary
Modifier and TypeMethodDescriptionfinal void
boolean
final void
append
(Collection<T> t) final void
final T
at
(int i) begin()
final int
capacity()
final void
clear()
clone()
final boolean
final int
count()
final int
end()
final boolean
boolean
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface.final void
final void
final T
first()
final T
get
(int index) int
hashCode()
final int
final int
final void
final void
final boolean
isEmpty()
final T
last()
final int
final int
lastIndexOf
(T t, int from) final int
length()
mid
(int pos) mid
(int pos, int length) final void
move
(int from, int to) static <T> QList<T>
of
(T element0, T... elements) Returns a QList containing given elements.final void
void
readFrom
(QDataStream stream) final void
remove
(int i, int n) final boolean
final int
final void
removeAt
(int i) protected final void
removeAtIndex
(int cursor) final T
final T
final boolean
final void
final void
reserve
(int size) final void
resize
(int size) final T
final int
size()
final void
squeeze()
final boolean
startsWith
(T t) final void
swapItemsAt
(int i, int j) final T
takeAt
(int i) final T
final T
takeLast()
final T
value
(int i) final T
void
writeTo
(QDataStream stream) Methods inherited from class io.qt.internal.QtJambiListObject
addAll, addAll, listIterator, listIterator, remove, retainAll, subList
Methods inherited from class io.qt.internal.QtJambiCollectionObject
containsAll, descendingIterator, iterator, removeAll, toArray, toArray, toString
Methods inherited from class io.qt.QtObject
dispose, isDisposed
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
Methods 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:
append
in classQtJambiListObject<T>
-
append
-
at
-
begin
- Specified by:
begin
in classQtJambiCollectionObject<T>
-
clear
-
contains
-
count
-
count
-
end
- Specified by:
end
in classQtJambiCollectionObject<T>
-
endsWith
-
first
-
indexOf
-
insert
-
isEmpty
-
last
-
lastIndexOf
- Specified by:
lastIndexOf
in 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:QtObject
Used 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
-
add
-
add
-
set
-
remove
-
indexOf
-
get
-
swapItemsAt
-
removeAtIndex
- Specified by:
removeAtIndex
in 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
QList
containing the specified element - Throws:
NullPointerException
- if elements arenull
-