C# 클래스 ElizaCore.KeyStack

A stack of keys.
A stack of keys. The keys are kept in rank order.
파일 보기 프로젝트 열기: xamarin/monotouch-samples 1 사용 예제들

공개 메소드들

메소드 설명
Key ( int n ) : Key

Get a key from the stack.

Get a key from the stack.

KeyTop ( ) : int

Get the stack size.

Get the stack size.

Print ( ) : void

Prints the key stack.

Prints the key stack.

PushKey ( Key key ) : void

Push a key in the stack.

Push a key in the stack. Keep the highest rank keys at the bottom.

Reset ( ) : void

Reset the key stack.

Reset the key stack.

메소드 상세

Key() 공개 메소드

Get a key from the stack.
Get a key from the stack.
public Key ( int n ) : Key
n int
리턴 Key

KeyTop() 공개 메소드

Get the stack size.
Get the stack size.
public KeyTop ( ) : int
리턴 int

Print() 공개 메소드

Prints the key stack.
Prints the key stack.
public Print ( ) : void
리턴 void

PushKey() 공개 메소드

Push a key in the stack.
Push a key in the stack. Keep the highest rank keys at the bottom.
public PushKey ( Key key ) : void
key Key
리턴 void

Reset() 공개 메소드

Reset the key stack.
Reset the key stack.
public Reset ( ) : void
리턴 void