public class FixedSizeStack
extends java.lang.Object
| Constructor and Description |
|---|
FixedSizeStack(int size) |
| Modifier and Type | Method and Description |
|---|---|
Value |
peak() |
Value |
pop() |
Parameters |
pop(int n) |
void |
push(Value ele) |
public void push(Value ele)
public Value pop()
public Value peak()
public Parameters pop(int n)
Copyright © 2012-2025 Alibaba Group. All Rights Reserved.