code: public void replace(final int pos, final double latitude, final double longitude) {
          this.longitude[pos] = longitude;
          this.latitude[pos] = latitude;
      }
docs: Replace the position at the index with new values
  
  @param pos position index