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
,QBluetoothServiceInfo.Alternative
,QBluetoothServiceInfo.Sequence
,QItemSelection
,QNdefMessage
,QQueue
,QStringList
,QSurfaceDataArray
,QTestEventList
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 TypeMethodDescriptionvoid
boolean
final void
append
(Collection<T> t) final void
final T
at
(int i) begin()
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 T
first()
get
(int index) int
hashCode()
int
final int
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) boolean
final int
final void
removeAt
(int i) protected final void
removeAtIndex
(int cursor) final void
final void
final boolean
final void
final void
reserve
(int size) final int
size()
final boolean
startsWith
(T t) final void
swapItemsAt
(int i, int j) final T
takeAt
(int i) final T
final T
takeLast()
toSet()
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>
-
toSet
-
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
-