C# Class ElizaCore.KeyStack

A stack of keys.
A stack of keys. The keys are kept in rank order.
Afficher le fichier Open project: xamarin/monotouch-samples Class Usage Examples

Méthodes publiques

Méthode Description
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.

Method Details

Key() public méthode

Get a key from the stack.
Get a key from the stack.
public Key ( int n ) : Key
n int
Résultat Key

KeyTop() public méthode

Get the stack size.
Get the stack size.
public KeyTop ( ) : int
Résultat int

Print() public méthode

Prints the key stack.
Prints the key stack.
public Print ( ) : void
Résultat void

PushKey() public méthode

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
Résultat void

Reset() public méthode

Reset the key stack.
Reset the key stack.
public Reset ( ) : void
Résultat void