Skip to content

Instantly share code, notes, and snippets.

Daniel Gronau DanielGronau

  • Datameer Software GmbH
  • Sandersdorf-Brehna
Block or report user

Report or block DanielGronau

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
DanielGronau /
Created Feb 25, 2019
Helper class for dealing with 2 Optionals simultaneously
package dgronau;
import java.util.Objects;
import java.util.Optional;
import java.util.function.*;
public class Optional2<A, B> {
private final Optional<A> first;
private final Optional<B> second;
You can’t perform that action at this time.