@Override public void serialize(Double record, DataOutputView target) throws IOException { target.writeDouble(record); }
@Override public void write(DataOutputView out) throws IOException { out.writeDouble(this.value); }
@Override public void serialize(double[] 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.writeDouble(record[i]); } }
@Override public void write(DataOutputView out) throws IOException { out.writeInt(position); for (int i = 0; i < position; i++) { out.writeDouble(data[i]); } }
@Override public void copy(DataInputView source, DataOutputView target) throws IOException { target.writeDouble(source.readDouble()); }
@Override public void write(DataOutputView out) throws IOException { out.writeDouble(this.value); }
@Override public void copy(DataInputView source, DataOutputView target) throws IOException { target.writeDouble(source.readDouble()); }
@Override public void write(DataOutputView out) throws IOException { out.writeDouble(diff); out.writeDouble(rank); out.writeDouble(danglingRank); out.writeLong(numDanglingVertices); out.writeLong(numVertices); out.writeLong(edges); }
@Override public void write(DataOutputView out) throws IOException { out.writeInt(this.coordinates.length); for (int i = 0; i < this.coordinates.length; i++) { out.writeDouble(this.coordinates[i]); } }
out.writeDouble((Double) val);
@Override public void write(DataOutputView out) throws IOException { out.writeDouble(this.value); }
@Override public void serialize(Double record, DataOutputView target) throws IOException { target.writeDouble(record); }
@Override public void serialize(Double record, DataOutputView target) throws IOException { target.writeDouble(record.doubleValue()); }
@Override public void serialize(double[] 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.writeDouble(record[i]); } }
@Override public void write(DataOutputView out) throws IOException { out.writeInt(position); for (int i = 0; i < position; i++) { out.writeDouble(data[i]); } }
@Override public void write(DataOutputView out) throws IOException { out.writeInt(position); for (int i = 0; i < position; i++) { out.writeDouble(data[i]); } }
@Override public void serialize(double[] 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.writeDouble(record[i]); } }
@Override public void copy(DataInputView source, DataOutputView target) throws IOException { target.writeDouble(source.readDouble()); }
@Override public void copy(DataInputView source, DataOutputView target) throws IOException { target.writeDouble(source.readDouble()); }
@Override public void copy(DataInputView source, DataOutputView target) throws IOException { target.writeDouble(source.readDouble()); }