mirror of
https://github.com/zeroflag/fcl.git
synced 2025-01-12 20:01:25 +01:00
18 lines
327 B
Java
18 lines
327 B
Java
|
package com.vectron.fcl;
|
||
|
|
||
|
public interface Transcript {
|
||
|
void show(String str);
|
||
|
void cr();
|
||
|
|
||
|
Transcript STDOUT = new Transcript() {
|
||
|
public void show(String str) {
|
||
|
System.out.print(str);
|
||
|
}
|
||
|
|
||
|
@Override
|
||
|
public void cr() {
|
||
|
System.out.println("");
|
||
|
}
|
||
|
};
|
||
|
}
|