/**
  * Returns a composed {@link DoubleToLongFunction2} that first applies this predicate to its
  * input, and then applies the {@code after} function to the result. If evaluation of either
  * operation throws an exception, it is relayed to the caller of the composed operation. This
  * method is just convenience, to provide the ability to transform this primitive predicate to an
  * operation returning {@code long}.
  *
  * @param after The function to apply after this predicate is applied
  * @return A composed {@code DoubleToLongFunction2} that first applies this predicate to its
  *     input, and then applies the {@code after} function to the result.
  * @throws NullPointerException If given argument is {@code null}
  * @implSpec The input argument of this method is a able to return primitive values. In this case
  *     this is {@code long}.
  */
 @Nonnull
 default DoubleToLongFunction2 andThenToLong(@Nonnull final BooleanToLongFunction after) {
   Objects.requireNonNull(after);
   return (value) -> after.applyAsLong(test(value));
 }
 /**
  * Returns a composed {@link ObjCharToLongFunction} that first applies this predicate to its
  * input, and then applies the {@code after} function to the result. If evaluation of either
  * operation throws an exception, it is relayed to the caller of the composed operation. This
  * method is just convenience, to provide the ability to transform this primitive predicate to an
  * operation returning {@code long}.
  *
  * @param after The function to apply after this predicate is applied
  * @return A composed {@code ObjCharToLongFunction} that first applies this predicate to its
  *     input, and then applies the {@code after} function to the result.
  * @throws NullPointerException If given argument is {@code null}
  * @implSpec The input argument of this method is a able to return primitive values. In this case
  *     this is {@code long}.
  */
 @Nonnull
 default ObjCharToLongFunction<T> andThenToLong(@Nonnull final BooleanToLongFunction after) {
   Objects.requireNonNull(after);
   return (t, value) -> after.applyAsLong(test(t, value));
 }