示例#1
0
 public override void serialize(int start, int count, ExtendedDataOutput @out)
 {
     for (int i = 0; i < count; ++i)
     {
         @out.writeDouble(values[start + i]);
     }
 }
示例#2
0
 protected internal override void writeVectorToOutputStream(ExtendedDataOutput @out)
 {
     foreach (double value in values)
     {
         @out.writeDouble(value);
     }
 }
 protected override void writeScalarToOutputStream(ExtendedDataOutput @out)
 {
     @out.writeDouble(value);
 }