cn.wensiqun.asmsupport.utils
类 Stack
java.lang.Object
cn.wensiqun.asmsupport.utils.Stack
- 所有已实现的接口:
- Printable, Cloneable
public class Stack
- extends Object
- implements Printable, Cloneable
- 作者:
- 温斯群(Joe Wen)
Stack
public Stack()
clone
public Object clone()
- 覆盖:
- 类
Object 中的 clone
peek
public Stackable peek()
throws EmptyStackException
- Returns the top item off of this stack without removing it.
- 返回:
- the top item on the stack
- 抛出:
EmptyStackException - if the stack is empty
peek
public Stackable peek(int n)
throws EmptyStackException
- Returns the n'th item down (zero-relative) from the top of this stack
without removing it.
- 参数:
n - the number of items down to go
- 返回:
- the n'th item on the stack, zero relative
- 抛出:
EmptyStackException - if there are not enough items on the stack to satisfy this
request
pop
public Stackable pop()
throws EmptyStackException
- 抛出:
EmptyStackException
pop
public void pop(int times)
throws EmptyStackException
- 抛出:
EmptyStackException
push
public void push(Stackable item)
push
public void push(org.objectweb.asm.Type item)
push
public void push(org.objectweb.asm.Type... items)
insert
public void insert(int pos,
Stackable item)
insert
public void insert(int i,
org.objectweb.asm.Type item)
getSize
public int getSize()
getMaxSize
public int getMaxSize()
printState
public void printState()
- 指定者:
- 接口
Printable 中的 printState
generateGridArray
public String[][] generateGridArray()
- 指定者:
- 接口
Printable 中的 generateGridArray
Copyright © 2013. All Rights Reserved.