All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.scudata.dm.IComputeItem Maven / Gradle / Ivy

Go to download

SPL(Structured Process Language) A programming language specially for structured data computing.

There is a newer version: 20241126
Show newest version
package com.scudata.dm;

// ??????ԵĶ??󣬿?Ϊ???л??¼
/**
 * ??Ա???????ڰ???????ѹջ
 * A.f()?ڼ???ǰӦ????A????һ??IComputeItem??Ȼ???IComputeItem????ѹ??Context.ComputeStack??
 * @author WangXiaoJun
 *
 */
public interface IComputeItem {
	/**
	 * ȡ??ǰѭ????Ԫ??
	 * @return Object
	 */
	Object getCurrent();
	
	/**
	 * ȡ??ǰѭ?????
	 * @return ??ţ????е?Ԫ?ش?1??ʼ????
	 */
	int getCurrentIndex();
	
	/**
	 * ȡ??ǰ??ѭ??????
	 * @return
	 */
	Sequence getCurrentSequence();
	
	/**
	 * ??????ɣ???ѹջ?Ķ????ջ
	 */
	void popStack();
	
	/**
	 * ?ж϶????Ƿ??ڶ?ջ??
	 * @param stack ??ջ
	 * @return true???ڶ?ջ?У?false?????ڶ?ջ??
	 */
	boolean isInStack(ComputeStack stack);
	
	/**
	 * ȡ??ǰ??¼???ֶ?ֵ
	 * @param field
	 * @return
	 */
	Object getFieldValue2(int field);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy