|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.staccatocommons.io.IO
public class IO
Simple IO Applicatives
| Constructor Summary | |
|---|---|
IO()
|
|
| Method Summary | ||
|---|---|---|
static
|
print(PrintStream printStream)
Answers an Executable that prints its argument to the given
printStream |
|
static
|
println(PrintStream printStream)
Answers an Executable that prints its argument, followed by a line
terminator, to the given printStream |
|
static
|
printlnSyserr()
Answers an Executable that prints its argument to the standard
error output, followed by a line terminator. |
|
static
|
printlnSysout()
Answers an Executable that prints its argument to the standard
output, followed by a line terminator. |
|
static
|
printSyserr()
Answers an Executable that prints its argument to the standard
error output |
|
static
|
printSysout()
Answers an Executable that prints its argument to the standard
output |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IO()
| Method Detail |
|---|
public static <A> net.sf.staccatocommons.defs.Executable<A> print(@NonNull
PrintStream printStream)
Executable that prints its argument to the given
printStream
A - printStream - the target stream
print(System.out)@Constant public static <A> net.sf.staccatocommons.defs.Executable<A> printSysout()
Executable that prints its argument to the standard
output
A -
print(System.out)@Constant public static <A> net.sf.staccatocommons.defs.Executable<A> printSyserr()
Executable that prints its argument to the standard
error output
A -
print(System.err)public static <A> net.sf.staccatocommons.defs.Executable<A> println(PrintStream printStream)
Executable that prints its argument, followed by a line
terminator, to the given printStream
A - printStream - the target stream
print(System.out)@Constant public static <A> net.sf.staccatocommons.defs.Executable<A> printlnSysout()
Executable that prints its argument to the standard
output, followed by a line terminator.
A -
println(System.out)@Constant public static <A> net.sf.staccatocommons.defs.Executable<A> printlnSyserr()
Executable that prints its argument to the standard
error output, followed by a line terminator.
A -
println(System.err)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||