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