java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.internal.QtJambiCollectionObject<T>
io.qt.core.QLinkedList<T>
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
,Iterable<T>
,Collection<T>
,Deque<T>
,Queue<T>
Java wrapper for Qt class QLinkedList
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionQLinkedList
(QMetaType metaType) QLinkedList
(QMetaType.Type metaType) protected
QLinkedList
(Class<T> elementType) QLinkedList
(Collection<T> other) -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
final void
final void
final void
begin()
final void
clear()
clone()
final boolean
final int
count()
final int
static QLinkedList<Object>
final T
element()
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()
final T
getFirst()
final T
getLast()
int
hashCode()
final boolean
isEmpty()
final T
last()
static <T> QLinkedList<T>
of
(T element0, T... elements) Returns a QLinkedList containing given elements.final boolean
final boolean
offerFirst
(T e) final boolean
final T
peek()
final T
final T
peekLast()
final T
poll()
final T
final T
pollLast()
final T
pop()
final void
final void
void
readFrom
(QDataStream stream) final T
remove()
final boolean
final int
final T
final boolean
final T
final boolean
final boolean
final int
size()
final boolean
startsWith
(T t) final T
final T
takeLast()
void
writeTo
(QDataStream stream) Methods inherited from class io.qt.internal.QtJambiCollectionObject
addAll, containsAll, iterator, removeAll, retainAll, 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
containsAll, parallelStream, removeAll, removeIf, retainAll, spliterator, stream, toArray, toArray, toArray
-
Constructor Details
-
QLinkedList
-
QLinkedList
-
QLinkedList
-
QLinkedList
-
QLinkedList
-
-
Method Details
-
createVariantLinkedList
-
clone
-
append
-
begin
- Specified by:
begin
in classQtJambiCollectionObject<T>
-
clear
- Specified by:
clear
in interfaceCollection<T>
-
contains
-
count
-
count
-
end
- Specified by:
end
in classQtJambiCollectionObject<T>
-
endsWith
-
first
-
isEmpty
- Specified by:
isEmpty
in interfaceCollection<T>
-
last
-
prepend
-
removeAll
-
removeFirst
- Specified by:
removeFirst
in interfaceDeque<T>
-
removeLast
- Specified by:
removeLast
in interfaceDeque<T>
-
removeOne
-
size
-
startsWith
-
takeFirst
-
takeLast
-
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.- Specified by:
equals
in interfaceCollection<T>
- Overrides:
equals
in classQtObject
- Parameters:
other
- The object with which to compare- Returns:
- true if the native resources of the two objects are one and the same.
-
hashCode
- Specified by:
hashCode
in interfaceCollection<T>
- Overrides:
hashCode
in classObject
-
add
-
remove
-
peekFirst
-
peekLast
-
push
-
pop
-
writeTo
-
readFrom
-
remove
-
addFirst
-
addLast
-
offerFirst
- Specified by:
offerFirst
in interfaceDeque<T>
-
offerLast
-
pollFirst
-
pollLast
-
getFirst
-
getLast
-
poll
-
element
-
peek
-
offer
-
removeFirstOccurrence
- Specified by:
removeFirstOccurrence
in interfaceDeque<T>
-
removeLastOccurrence
- Specified by:
removeLastOccurrence
in interfaceDeque<T>
-
descendingIterator
- Specified by:
descendingIterator
in interfaceDeque<T>
- Overrides:
descendingIterator
in classQtJambiCollectionObject<T>
-
of
Returns a QLinkedList containing given elements.- Type Parameters:
E
- theQLinkedList
's element type- Parameters:
element0
- the first elementelements
- subsequent elements- Returns:
- a
QLinkedList
containing the specified element - Throws:
NullPointerException
- if elements arenull
-