Example #1
0
  /**
   * Creates a new instance.
   *
   * @param sr The store to read state from.
   * @param scr Maintains the mapping between classes and their identifiers within the store.
   */
  public Node(StoreReader sr, StoreClassRegister scr) {
    super(sr, scr);

    this.latitude = FixedPrecisionCoordinateConvertor.convertToDouble(sr.readInteger());
    this.longitude = FixedPrecisionCoordinateConvertor.convertToDouble(sr.readInteger());
  }