@Override
    public void copyFrom(Bin bin) {
      //noinspection unchecked
      ArrayOfBins<T> value = (ArrayOfBins<T>)bin;
      for (int i = 0; i < myValues.size(); i++) {
        myValues.get(i).copyFrom(value.myValues.get(i));
      }
    }
@Override
    public void copyFrom(Bin bin)