java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.internal.QtJambiCollectionObject<E>
io.qt.internal.QtJambiLinkedListObject<T>
io.qt.core.QLinkedList<T>
- All Implemented Interfaces:
QtObjectInterface
,Iterable<T>
,Collection<T>
,Deque<T>
,Queue<T>
public class QLinkedList<T> extends QtJambiLinkedListObject<T>
-
Nested Class Summary
-
Method Summary
Modifier and Type Method Description boolean
add(T e)
void
append(T t)
protected QIterator<T>
begin()
void
clear()
boolean
contains(Object t)
int
count()
int
count(T t)
protected QIterator<T>
end()
boolean
endsWith(T t)
boolean
equals(Object other)
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface.T
first()
int
hashCode()
boolean
isEmpty()
T
last()
T
peekFirst()
T
peekLast()
T
pop()
void
prepend(T t)
void
push(T e)
boolean
remove(Object e)
int
removeAll(T t)
T
removeFirst()
T
removeLast()
protected void
removeLastImpl()
boolean
removeOne(T t)
int
size()
boolean
startsWith(T t)
int
takeFirst()
int
takeLast()
Methods inherited from class io.qt.internal.QtJambiLinkedListObject
addFirst, addLast, descendingIterator, element, getFirst, getLast, offer, offerFirst, offerLast, peek, poll, pollFirst, pollLast, remove, removeFirstOccurrence, removeLastOccurrence
Methods inherited from class io.qt.internal.QtJambiCollectionObject
addAll, castElement, checkElement, containsAll, iterator, removeAll, retainAll, toArray, toArray, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
containsAll, parallelStream, removeAll, removeIf, retainAll, spliterator, stream, toArray, toArray, toArray
-
Method Details
-
append
-
begin
- Specified by:
begin
in classQtJambiCollectionObject<T>
-
clear
-
contains
-
count
-
count
-
end
- Specified by:
end
in classQtJambiCollectionObject<T>
-
endsWith
-
first
-
isEmpty
-
last
-
prepend
-
removeAll
-
removeFirst
- Specified by:
removeFirst
in interfaceDeque<T>
- Overrides:
removeFirst
in classQtJambiLinkedListObject<T>
-
removeLast
- Specified by:
removeLast
in interfaceDeque<T>
- Overrides:
removeLast
in classQtJambiLinkedListObject<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
-
removeLastImpl
- Specified by:
removeLastImpl
in classQtJambiLinkedListObject<T>
-