Package | Description |
---|---|
com.flyingspaniel.nava.fp |
Modifier and Type | Interface and Description |
---|---|
static interface |
Fn.Pint.AndN |
Modifier and Type | Class and Description |
---|---|
static class |
Fn.Pint.Base
Base class that throws UnsupportedOperationExceptions for all methods.
|
Modifier and Type | Method and Description |
---|---|
static int |
FP.foldp(int seed,
int[] ins,
Fn.Pint fn)
Fold ints using a primitive int (Fn.Pint) function
|
static int |
FP.foldRightp(int seed,
int[] ins,
Fn.Pint fn)
FoldRight ints using a primitive int (Fn.Pint) function
|
static int |
FP.reducep(int[] ins,
Fn.Pint fn)
Reduce ints using a primitive int (Fn.Pint) function
|