public final class Echo extends Cloneable2<Echo>
| Constructor and Description |
|---|
Echo() |
| Modifier and Type | Method and Description |
|---|---|
void |
$(Collection<?> args)
Prints the args, separated with spaces.
|
void |
$(Object... args)
Prints the args, separated with spaces.
|
Echo |
n()
Implements the "
-n" option of the command. |
Echo |
stream(OutputStream os)
Redirects the output to a different
OutputStream (initially, STDOUT is the destination stream). |
clone2public Echo n()
-n" option of the command.public Echo stream(OutputStream os)
OutputStream (initially, STDOUT is the destination stream).public void $(@Nullable
Object... args)
null args are silently ignored.
Eventually prints a line break, unless the n() option is configured.public void $(@Nullable
Collection<?> args)
null args are silently ignored.
Eventually prints a line break, unless the n() option is configured.Copyright © 2016. All rights reserved.