public class FArrayStack extends ArrayStack<Float>
24+4*n(n为元素个数)=es
B=48+4*n+对齐填充
ArrayStack.ArrayStackIterator| 限定符和类型 | 字段和说明 |
|---|---|
protected float[] |
es |
capacity, DEFAULT_CAPACITY, size| 限定符 | 构造器和说明 |
|---|---|
protected |
FArrayStack(int capacity) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected Float |
get(int i) |
static FArrayStack |
of() |
static FArrayStack |
of(int capacity) |
float |
peek() |
float |
pop() |
void |
push(float e) |
protected void |
resize(int capacity) |
protected void |
setNull(int i) |
afterPop, beforePush, isEmpty, iterator, sizeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic static FArrayStack of(int capacity)
public static FArrayStack of()
protected final Float get(int i)
get 在类中 ArrayStack<Float>protected final void resize(int capacity)
resize 在类中 ArrayStack<Float>protected final void setNull(int i)
setNull 在类中 ArrayStack<Float>public final void push(float e)
public final float pop()
public final float peek()
Copyright © 2022. All rights reserved.