Skip to content

Instantly share code, notes, and snippets.

View ppamorim's full-sized avatar
🎯
Focusing

Pedro Paulo Amorim ppamorim

🎯
Focusing
View GitHub Profile
@ppamorim
ppamorim / Just.java
Last active November 10, 2015 13:43 — forked from haskellcamargo/Just.java
Maybe monad implementation in Java 7
package br.com.ngi.monad;
import java.util.concurrent.Callable;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
public class Just<T> extends Maybe<T> {
private T type;