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