Guest User

Untitled

a guest
Mar 18th, 2018
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. class SingleResult<T> {
  2. Optional<T> parseResult;
  3. Optional<Exception> parseException;
  4. }
  5.  
  6. SingleResult<T> process(Input );
  7.  
  8. void process(Input , Consumer<SuccessResult<T>> , Consumer<Exception> )
Add Comment
Please, Sign In to add comment