Split or move libraries-data module

This commit is contained in:
catalin-burcea
2019-10-13 16:35:46 +03:00
parent 6a22b9162b
commit 7b2920f109
171 changed files with 678 additions and 690 deletions

View File

@@ -0,0 +1,10 @@
package com.baeldung.derive4j.adt;
import org.derive4j.Data;
import java.util.function.Function;
@Data
interface Either<A,B>{
<X> X match(Function<A, X> left, Function<B, X> right);
}