public class OutputTwice
extends java.lang.Object
implements java.lang.Appendable
Modifier and Type | Field and Description |
---|---|
private java.lang.Appendable |
out1 |
private java.lang.Appendable |
out2 |
Constructor and Description |
---|
OutputTwice(java.lang.Appendable out1,
java.lang.Appendable out2) |
Modifier and Type | Method and Description |
---|---|
java.lang.Appendable |
append(char c) |
java.lang.Appendable |
append(java.lang.CharSequence csq) |
java.lang.Appendable |
append(java.lang.CharSequence csq,
int start,
int end) |
private final java.lang.Appendable out1
private final java.lang.Appendable out2
public OutputTwice(java.lang.Appendable out1, java.lang.Appendable out2)
public java.lang.Appendable append(java.lang.CharSequence csq) throws java.io.IOException
append
in interface java.lang.Appendable
java.io.IOException
public java.lang.Appendable append(java.lang.CharSequence csq, int start, int end) throws java.io.IOException
append
in interface java.lang.Appendable
java.io.IOException
public java.lang.Appendable append(char c) throws java.io.IOException
append
in interface java.lang.Appendable
java.io.IOException