org.boxed_economy.besp.model.fmfw.behaviorimpl
クラス IndexStack

java.lang.Object
  拡張org.boxed_economy.besp.model.fmfw.behaviorimpl.IndexStack

public class IndexStack
extends java.lang.Object

バージョン:
$Id: IndexStack.java,v 1.1 2004/03/21 12:07:47 macchan Exp $
作成者:
macchan

コンストラクタの概要
protected IndexStack()
          Constructor for IndexStack.
protected IndexStack(int[] indices)
          Constructor for IndexStack.
 
メソッドの概要
 int[] getIndices()
          int[]のインターフェイス
 boolean isEmpty()
          空かどうかを返します
 int pop()
          一番上のオブジェクトを取り出します
 void push(int index)
          一番上のオブジェクトを取り出します
 void setIndices(int[] indices)
           
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

IndexStack

protected IndexStack()
Constructor for IndexStack.


IndexStack

protected IndexStack(int[] indices)
Constructor for IndexStack.

メソッドの詳細

pop

public int pop()
一番上のオブジェクトを取り出します


push

public void push(int index)
一番上のオブジェクトを取り出します


isEmpty

public boolean isEmpty()
空かどうかを返します


getIndices

public int[] getIndices()
int[]のインターフェイス


setIndices

public void setIndices(int[] indices)