public class FP
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static water.util.fp.FP.Option<?> |
None |
Constructor and Description |
---|
FP() |
Modifier and Type | Method and Description |
---|---|
static boolean |
equal(java.lang.Object a,
java.lang.Object b) |
static <T> water.util.fp.FP.Option<T> |
flatten(water.util.fp.FP.Option<water.util.fp.FP.Option<T>> optOptT) |
static int |
hashCode(java.lang.Object o) |
static <T> water.util.fp.FP.Option<T> |
headOption(java.lang.Iterable<T> ts) |
static <T> water.util.fp.FP.Option<T> |
headOption(java.util.Iterator<T> it) |
static <T> water.util.fp.FP.Option<T> |
Option(T t) |
static <T> water.util.fp.FP.Option<T> |
Some(T t) |
public static boolean equal(java.lang.Object a, java.lang.Object b)
public static int hashCode(java.lang.Object o)
public static <T> water.util.fp.FP.Option<T> Some(T t)
public static <T> water.util.fp.FP.Option<T> Option(T t)
public static <T> water.util.fp.FP.Option<T> flatten(water.util.fp.FP.Option<water.util.fp.FP.Option<T>> optOptT)
public static <T> water.util.fp.FP.Option<T> headOption(java.util.Iterator<T> it)
public static <T> water.util.fp.FP.Option<T> headOption(java.lang.Iterable<T> ts)