public class TextWriterPair extends TextWriterWriterInterface<Pair<?,?>>
Constructor and Description |
---|
TextWriterPair() |
Modifier and Type | Method and Description |
---|---|
void |
write(TextWriterStream out,
String label,
Pair<?,?> object)
Serialize a pair, component-wise
|
writeObject
public void write(TextWriterStream out, String label, Pair<?,?> object) throws UnableToComplyException, IOException
write
in class TextWriterWriterInterface<Pair<?,?>>
out
- Output streamlabel
- Label to prefixobject
- object to outputUnableToComplyException
- on errorsIOException
- on IO errors