code: public static <T, U, V> Consumer<Triple<T, U, V>> tupled(TriConsumer<T, U, V> consumer) {
          dbc.precondition(consumer != null, "cannot apply a triple to a null consumer");
          return triple -> consumer.accept(triple.first(), triple.second(), triple.third());
      }
docs: Adapts a ternary consumer to an consumer accepting a triple.
  
  @param <T> the consumer first parameter type
  @param <U> the consumer second parameter type
  @param <V> the consumer third parameter type
  @param consumer the consumer to be adapted
  @return the adatped consumer