code: public static <L, R> @NonNull Pair<L, R> of(final Map.Entry<L, R> entry) {
      return of(entry.getKey(), entry.getValue());
    }
docs: Creates a new pair from a map entry.
  
  @param entry the entry
  @param <L> the left type
  @param <R> the right type
  @return the pair