Exemplo n.º 1
0
        public virtual void write(ExtendedDataOutput @out, SymbolBaseCollection collection)
        {
            int dataType = (int)getDataType() + 128;
            int flag     = ((int)DATA_FORM.DF_VECTOR << 8) + dataType;

            @out.writeShort(flag);
            @out.writeInt(rows());
            @out.writeInt(columns());
            collection.write(@out, @base);
            @out.writeIntArray(values.ToArray());
        }
Exemplo n.º 2
0
 protected internal override void writeVectorToOutputStream(ExtendedDataOutput @out)
 {
     @base.write(@out);
     @out.writeIntArray(values.ToArray());
 }