Package com.landawn.abacus.util
Class Fn.FI
java.lang.Object
com.landawn.abacus.util.Fn.FI
- Enclosing class:
Fn
Utility class for
IntPredicate/Function/Consumer
.-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic IntBiFunction
<MergeResult> Deprecated.average()
static IntConsumer
c
(IntConsumer c) static IntBiPredicate
equal()
static <R> IntFunction
<R> f
(IntFunction<R> f) static IntBiPredicate
static IntBiPredicate
len()
static IntBiPredicate
static IntBiPredicate
lessThan()
static IntBiPredicate
notEqual()
static IntPredicate
static IntPredicate
p
(IntPredicate p) static IntPredicate
positve()
sum()
static ToIntFunction
<Integer> unbox()
-
Method Details
-
positve
-
notNegative
-
equal
-
notEqual
-
greaterThan
-
greaterEqual
-
lessThan
-
lessEqual
-
unbox
-
p
- Parameters:
p
-- Returns:
- Throws:
IllegalArgumentException
-
f
- Type Parameters:
R
-- Parameters:
f
-- Returns:
- Throws:
IllegalArgumentException
-
c
- Parameters:
c
-- Returns:
- Throws:
IllegalArgumentException
-
len
-
sum
-
average
-
alternated
Deprecated.Returns a statefulIntBiFunction
. Don't save or cache for reuse or use it in parallel stream.- Returns:
-