protected static void writeLong(final Writer writer, final long value) throws IOException {
    writer.write(new StringBuilder().append(value).append('\n').toString());
  }
protected static void writeLong(final Writer writer, final long value) throws IOException {
    writer.write(new StringBuilder().append(value).append('\n').toString());
  }
protected static void writeLong ( final Writer writer , final long value ) throws IOException { writer . write ( new StringBuilder ( ) . append ( value ) . append ( ' ' ) . toString ( ) ) ; }
Write next line as a long.
@param writer output writer
@param value integer value
@throws IOException if error happens
Write next line as a long .