java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.internal.QtJambiCollectionObject<E>
io.qt.internal.QtJambiAbstractListObject<E>
io.qt.internal.QtJambiVectorObject<E>
io.qt.internal.QtJambiStackObject<E>
- All Implemented Interfaces:
QtObjectInterface
,Iterable<E>
,Collection<E>
,Deque<E>
,List<E>
,Queue<E>
- Direct Known Subclasses:
QStack
public abstract class QtJambiStackObject<E> extends QtJambiVectorObject<E> implements Deque<E>
-
Nested Class Summary
-
Constructor Summary
Constructors Modifier Constructor Description protected
QtJambiStackObject(QtObject.QPrivateConstructor p, Class<E> elementType)
protected
QtJambiStackObject(Class<E> elementType)
-
Method Summary
Modifier and Type Method Description void
addFirst(E e)
void
addLast(E e)
Iterator<E>
descendingIterator()
E
element()
E
getFirst()
E
getLast()
boolean
offer(E e)
boolean
offerFirst(E e)
boolean
offerLast(E e)
E
peek()
E
poll()
E
pollFirst()
E
pollLast()
E
remove()
E
removeFirst()
boolean
removeFirstOccurrence(Object o)
E
removeLast()
protected abstract void
removeLastImpl()
boolean
removeLastOccurrence(Object o)
Methods inherited from class io.qt.internal.QtJambiAbstractListObject
addAll, addAll, append, listIterator, listIterator, remove, removeAt, subList
Methods inherited from class io.qt.internal.QtJambiCollectionObject
begin, castElement, checkElement, containsAll, end, iterator, removeAll, retainAll, toArray, toArray, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
Method Details
-
removeLastImpl
protected abstract void removeLastImpl() -
removeFirst
- Specified by:
removeFirst
in interfaceDeque<E>
-
remove
-
removeLast
- Specified by:
removeLast
in interfaceDeque<E>
-
addFirst
-
addLast
-
offerFirst
- Specified by:
offerFirst
in interfaceDeque<E>
-
offerLast
-
pollFirst
-
pollLast
-
getFirst
-
getLast
-
poll
-
element
-
peek
-
offer
-
removeFirstOccurrence
- Specified by:
removeFirstOccurrence
in interfaceDeque<E>
-
removeLastOccurrence
- Specified by:
removeLastOccurrence
in interfaceDeque<E>
-
descendingIterator
- Specified by:
descendingIterator
in interfaceDeque<E>
-