public class RandomAccessStack extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
List<StackItems> |
e |
| 构造器和说明 |
|---|
RandomAccessStack() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
CopyTo(RandomAccessStack stack) |
int |
Count() |
String |
info() |
String |
info2() |
void |
Insert(int index,
StackItems t) |
StackItems |
Peek(int index) |
StackItems |
Pop() |
void |
Push(int index,
StackItems t) |
void |
Push(StackItems t) |
StackItems |
Remove(int index) |
void |
Set(int index,
StackItems t) |
void |
Swap(int i,
int j) |
public List<StackItems> e
public void Push(StackItems t)
public String info()
public String info2()
public int Count()
public void Insert(int index,
StackItems t)
public StackItems Peek(int index)
public StackItems Remove(int index)
public void Set(int index,
StackItems t)
public void Push(int index,
StackItems t)
public StackItems Pop()
public void Swap(int i,
int j)
public void CopyTo(RandomAccessStack stack)
Copyright © 2022. All rights reserved.