public class LLinkedStack<E> extends LinkedStack<E>
12+16*(n+1)+(E+对齐填充)*n(n为元素个数)
B=16*(n+3)+(E+对齐填充)*n
LinkedStack.LinkedStackIteratorhead, size| 限定符 | 构造器和说明 |
|---|---|
protected |
LLinkedStack() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected E |
get(SNode node) |
static <E> LLinkedStack<E> |
of() |
E |
peek() |
E |
pop() |
void |
push(E e) |
isEmpty, iterator, sizeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic static <E> LLinkedStack<E> of()
protected final E get(SNode node)
get 在类中 LinkedStack<E>public final void push(E e)
public final E pop()
public final E peek()
Copyright © 2022. All rights reserved.