question: public void ifPresentOrElse ( IntConsumer action , Runnable emptyAction ) { if ( isPresent ) { action . accept ( value ) ; } else { emptyAction . run ( ) ; } }
target:  If a value is present, performs the given action with the value, otherwise performs the given empty-based action.