didSetCapacity = true;
  protected void calculateCommonMaxContain (double [] maxcontain) {    if (maxcontain[0] < maxContainCapacity)      maxContainCapacity   = maxcontain[0];    if (maxcontain[1] < maxPassengerCapacity)      maxPassengerCapacity = maxcontain[1];    didSetCapacity = true;  }