コード例 #1
0
  public void writeToStream(OutStream outStream) {
    outStream.writeInt(this.edgeId);
    outStream.writeInt(this.sourceId);
    outStream.writeInt(this.targetId);
    outStream.writeInt(this.flags);
    outStream.writeByte(this.noTurnBits);

    outStream.writeInt(Float.floatToIntBits(this.h));
    outStream.writeInt(Float.floatToIntBits(this.km));

    this.name.writeToStream(outStream);
    this.coords.writeToStream(outStream);
  }