This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.math.BigInteger | |
abstract class Constraint | |
abstract class Property { | |
abstract val required: Boolean | |
abstract val constraints: List<Constraint> | |
} | |
abstract class DocumentConstraint : Constraint() |