private void writeDouble( double readDouble, final MapOrListWriterImpl writer, String fieldName, boolean isList) { final Float8Holder f8h = new Float8Holder(); f8h.value = readDouble; if (isList == false) { writer.float8(fieldName).write(f8h); } else { writer.list.float8().write(f8h); } }
@Override public void addDouble(double value) { holder.value = value; writer.write(holder); }
public static Float8Holder getFloat8Holder(double value) { Float8Holder holder = new Float8Holder(); holder.value = value; return holder; }