@Override public void serialize(Float record, DataOutputView target) throws IOException { target.writeFloat(record); }
@Override public void write(DataOutputView out) throws IOException { out.writeFloat(this.value); }
@Override public void serialize(float[] record, DataOutputView target) throws IOException { if (record == null) { throw new IllegalArgumentException("The record must not be null."); } final int len = record.length; target.writeInt(len); for (int i = 0; i < len; i++) { target.writeFloat(record[i]); } }
@Override public void write(DataOutputView out) throws IOException { out.writeInt(position); for (int i = 0; i < position; i++) { out.writeFloat(data[i]); } }
@Override public void copy(DataInputView source, DataOutputView target) throws IOException { target.writeFloat(source.readFloat()); }
@Override public void write(DataOutputView out) throws IOException { out.writeFloat(this.value); }
@Override public void copy(DataInputView source, DataOutputView target) throws IOException { target.writeFloat(source.readFloat()); }
out.writeFloat((Float) val);
@Override public void write(DataOutputView out) throws IOException { out.writeFloat(this.value); }
@Override public void write(DataOutputView out) throws IOException { out.writeFloat(this.value); }
@Override public void serialize(Float record, DataOutputView target) throws IOException { target.writeFloat(record); }
@Override public void serialize(Float record, DataOutputView target) throws IOException { target.writeFloat(record.floatValue()); }
@Override public void serialize(float[] record, DataOutputView target) throws IOException { if (record == null) { throw new IllegalArgumentException("The record must not be null."); } final int len = record.length; target.writeInt(len); for (int i = 0; i < len; i++) { target.writeFloat(record[i]); } }
@Override public void serialize(float[] record, DataOutputView target) throws IOException { if (record == null) { throw new IllegalArgumentException("The record must not be null."); } final int len = record.length; target.writeInt(len); for (int i = 0; i < len; i++) { target.writeFloat(record[i]); } }
@Override public void write(DataOutputView out) throws IOException { out.writeInt(position); for (int i = 0; i < position; i++) { out.writeFloat(data[i]); } }
@Override public void write(DataOutputView out) throws IOException { out.writeInt(position); for (int i = 0; i < position; i++) { out.writeFloat(data[i]); } }
@Override public void copy(DataInputView source, DataOutputView target) throws IOException { target.writeFloat(source.readFloat()); }
@Override public void copy(DataInputView source, DataOutputView target) throws IOException { target.writeFloat(source.readFloat()); }
@Override public void copy(DataInputView source, DataOutputView target) throws IOException { target.writeFloat(source.readFloat()); }
@Override public void copy(DataInputView source, DataOutputView target) throws IOException { target.writeFloat(source.readFloat()); }