code: public G max() {
          int maxCount = -1;
          G max = null;
          for (Map<G,Integer> m : orderAndSizeToGraphs.values()) { 
              for (Map.Entry<G,Integer> e : m.entrySet()) {
                  if (e.getValue() > maxCount) {
                      maxCount = e.getValue();
                      max = e.getKey();
                  }
              }
          }
          return max;
      }
docs: {@inheritDoc}