code: public static <K, V> Func1<Iterable<Map.Entry<K, V>>, SolidMap<K, V>> toSolidMap() {
          return new Func1<Iterable<Map.Entry<K, V>>, SolidMap<K, V>>() {
              @Override
              public SolidMap<K, V> call(Iterable<Map.Entry<K, V>> iterable) {
                  return new SolidMap<>(stream(iterable).map(new Func1<Map.Entry<K, V>, Pair<K, V>>() {
                      @Override
                      public Pair<K, V> call(Map.Entry<K, V> value) {
                          return new Pair<>(value.getKey(), value.getValue());
                      }
                  }));
              }
          };
      }
docs: Returns a function that converts a stream of {@link java.util.Map.Entry} into {@link SolidMap}.