Package com.landawn.abacus.util
Class Fn.FnB
- java.lang.Object
-
- com.landawn.abacus.util.Fn.FnB
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Fn.FnB.ByteBinaryOperators
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ByteBiFunction<MergeResult>
alternated()
Deprecated.static Function<byte[],Double>
average()
static ByteConsumer
c(ByteConsumer c)
static ByteBiPredicate
equal()
static <R> ByteFunction<R>
f(ByteFunction<R> f)
static ByteBiPredicate
greaterEqual()
static ByteBiPredicate
greaterThan()
static Function<byte[],Integer>
len()
static ByteBiPredicate
lessEqual()
static ByteBiPredicate
lessThan()
static ByteBiPredicate
notEqual()
static BytePredicate
notNegative()
static BytePredicate
p(BytePredicate p)
static BytePredicate
positve()
static Function<byte[],Integer>
sum()
static ToByteFunction<Byte>
unbox()
-
-
-
Method Detail
-
positve
public static BytePredicate positve()
- Returns:
-
notNegative
public static BytePredicate notNegative()
- Returns:
-
equal
public static ByteBiPredicate equal()
- Returns:
-
notEqual
public static ByteBiPredicate notEqual()
- Returns:
-
greaterThan
public static ByteBiPredicate greaterThan()
- Returns:
-
greaterEqual
public static ByteBiPredicate greaterEqual()
- Returns:
-
lessThan
public static ByteBiPredicate lessThan()
- Returns:
-
lessEqual
public static ByteBiPredicate lessEqual()
- Returns:
-
unbox
public static ToByteFunction<Byte> unbox()
- Returns:
-
p
public static BytePredicate p(BytePredicate p)
- Parameters:
p
-- Returns:
-
f
public static <R> ByteFunction<R> f(ByteFunction<R> f)
- Type Parameters:
R
-- Parameters:
f
-- Returns:
-
c
public static ByteConsumer c(ByteConsumer c)
- Parameters:
c
-- Returns:
-
alternated
@Deprecated @Beta @SequentialOnly @Stateful public static ByteBiFunction<MergeResult> alternated()
Deprecated.Returns a statefulByteBiFunction
. Don't save it or use it in parallel stream.- Returns:
-
-