code: private void checkIfMeterExists(final AbstractMeter meter) {
          if (!meterResults.containsKey(meter)) {
              meterResults.put(meter, new LinkedList<Double>());
          }
      }
docs: Checking method if meter is registered, otherwise inserting a suitable data structure.
  
  @param meter to be checked