java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.internal.QtJambiCollectionObject<E>
io.qt.internal.QtJambiListObject<T>
io.qt.core.QVector<T>
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
,Iterable<T>
,Collection<T>
,List<T>
- Direct Known Subclasses:
QBarDataRow
,QPolygon
,QPolygonF
,QScatterDataArray
,QStack
,QSurfaceDataRow
,QXmlStreamAttributes
Java wrapper for Qt class QVector
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionQVector
(QMetaType.Type metaType) protected
QVector
(Collection<T> other) -
Method Summary
Modifier and TypeMethodDescriptionvoid
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()
get
(int index) int
hashCode()
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> QVector<T>
of
(T element0, T... elements) Returns a QVector containing given elements.final void
void
readFrom
(QDataStream stream) final void
remove
(int i, int n) 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 int
size()
final void
squeeze()
final boolean
startsWith
(T t) final T
takeAt
(int i) final T
final T
takeLast()
toSet()
toString()
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
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
-
QVector
-
QVector
-
QVector
-
QVector
-
QVector
-
-
Method Details
-
createVariantVector
-
clone
-
append
- Specified by:
append
in classQtJambiListObject<T>
-
append
-
at
-
begin
- Specified by:
begin
in classQtJambiCollectionObject<T>
-
capacity
-
clear
-
contains
-
count
-
count
-
end
- Specified by:
end
in classQtJambiCollectionObject<T>
-
endsWith
-
fill
-
fill
-
first
-
indexOf
-
insert
-
insert
-
isEmpty
-
last
-
lastIndexOf
- Specified by:
lastIndexOf
in interfaceList<T>
-
lastIndexOf
-
length
-
mid
-
mid
-
move
-
prepend
-
remove
-
removeAll
-
removeAt
-
removeFirst
-
removeLast
-
removeOne
-
replace
-
reserve
-
resize
-
squeeze
-
size
-
startsWith
-
takeAt
-
takeFirst
-
takeLast
-
toSet
-
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
-
toString
- Overrides:
toString
in classQtJambiCollectionObject<T>
-
add
-
add
-
set
-
remove
-
indexOf
-
get
-
removeAtIndex
- Specified by:
removeAtIndex
in classQtJambiListObject<T>
-
writeTo
-
readFrom
-
of
Returns a QVector containing given elements.- Type Parameters:
E
- theQVector
's element type- Parameters:
element0
- the first elementelements
- subsequent elements- Returns:
- a
QVector
containing the specified element - Throws:
NullPointerException
- if elements arenull
-