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

big.Api Maven / Gradle / Ivy

package big;

import com.jtransc.JTranscSystem;

public abstract class Api {
	static public Api create() {
		try {
			if (JTranscSystem.isJTransc()) {
				return new CppApi();
			} else {
				return (Api) Class.forName("big.JavaApi").newInstance();
			}
		} catch (Throwable e) {
			e.printStackTrace();
			return null;
		}
	}

	abstract public int demo();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy