public class BArrayQueue extends ArrayQueue<Byte>
24+n(n为元素个数)=es
B=56+n+对齐填充
ArrayQueue.ArrayQueueIterator| 限定符和类型 | 字段和说明 |
|---|---|
protected byte[] |
es |
capacity, DEFAULT_CAPACITY, head, size, tail| 限定符 | 构造器和说明 |
|---|---|
protected |
BArrayQueue(int capacity) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected Byte |
get(int i) |
byte |
head() |
static BArrayQueue |
of() |
static BArrayQueue |
of(int capacity) |
void |
offer(byte e) |
byte |
poll() |
protected void |
resize(int capacity) |
protected void |
setNull(int i) |
byte |
tail() |
afterOffer, afterPoll, beforeOffer, isEmpty, iterator, removeTail, sizeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic static BArrayQueue of(int capacity)
public static BArrayQueue of()
protected final Byte get(int i)
get 在类中 ArrayQueue<Byte>protected final void resize(int capacity)
resize 在类中 ArrayQueue<Byte>protected final void setNull(int i)
setNull 在类中 ArrayQueue<Byte>public final void offer(byte e)
public final byte poll()
public final byte head()
public final byte tail()
Copyright © 2022. All rights reserved.