code: public static <K, V> Map<K, V> defaults(final Map<K, V> object, final Map<K, V> defaults) {
          final Map<K, V> result = newLinkedHashMap();
          for (final Map.Entry<K, V> entry : defaults.entrySet()) {
              result.put(entry.getKey(), entry.getValue());
          }
          for (final Map.Entry<K, V> entry : object.entrySet()) {
              result.put(entry.getKey(), entry.getValue());
          }
          return result;
      }
docs: /*
  Documented, #defaults