code: public void ifPresentOrElse(@NotNull IntConsumer consumer, @NotNull Runnable emptyAction) {
          if (isPresent) {
              consumer.accept(value);
          } else {
              emptyAction.run();
          }
      }
docs: If a value is present, performs the given action with the value,
  otherwise performs the empty-based action.
  
  @param consumer  the consumer function to be executed, if a value is present
  @param emptyAction  the empty-based action to be performed, if no value is present
  @throws NullPointerException if a value is present and the given consumer function is null,
  or no value is present and the given empty-based action is null.
  @since 1.1.4