@Test public void testWriteBoolean() throws IOException { w.writeBoolean(true); w.writeBoolean(false); checkContents("11" + "10"); }
@Override public void writeBoolean(boolean b) throws IOException { if (b) out.write(TRUE); else out.write(FALSE); }
BdfWriterImpl implements BdfWriter { @Override public void writeBoolean(boolean b) throws IOException { if (b) out.write(TRUE); else out.write(FALSE); } }
BdfWriterImpl implements BdfWriter { @Override public void writeBoolean(boolean b) throws IOException { if (b) out.write(TRUE); else out.write(FALSE); } BdfWriterImpl(OutputStream out); }
BdfWriterImpl implements BdfWriter { @Override public void writeBoolean(boolean b) throws IOException { if (b) out.write(TRUE); else out.write(FALSE); } BdfWriterImpl(OutputStream out); @Override void flush(); @Override void close(); @Override void writeNull(); @Override void writeBoolean(boolean b); @Override void writeLong(long i); @Override void writeDouble(double d); @Override void writeString(String s); @Override void writeRaw(byte[] b); @Override void writeList(Collection<?> c); @Override void writeListStart(); @Override void writeListEnd(); @Override void writeDictionary(Map<?, ?> m); @Override void writeDictionaryStart(); @Override void writeDictionaryEnd(); }
BdfWriterImpl implements BdfWriter { @Override public void writeBoolean(boolean b) throws IOException { if (b) out.write(TRUE); else out.write(FALSE); } BdfWriterImpl(OutputStream out); @Override void flush(); @Override void close(); @Override void writeNull(); @Override void writeBoolean(boolean b); @Override void writeLong(long i); @Override void writeDouble(double d); @Override void writeString(String s); @Override void writeRaw(byte[] b); @Override void writeList(Collection<?> c); @Override void writeListStart(); @Override void writeListEnd(); @Override void writeDictionary(Map<?, ?> m); @Override void writeDictionaryStart(); @Override void writeDictionaryEnd();  }