org.math.R.Log Maven / Gradle / Ivy
package org.math.R;
/**
*
* @author richet
*/
public abstract class Log {
public static Log Out = new Log() {
@Override
public void print(String s) {
System.out.print(s);
}
@Override
public void println(String s) {
System.out.println(s);
}
};
public static Log Err = new Log() {
@Override
public void print(String s) {
System.err.print(s);
}
@Override
public void println(String s) {
System.err.println(s);
}
};
public abstract void println(String s);
public abstract void print(String s);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy