Package eu.bandm.sig.adlib2
Class BaseLongOperators
java.lang.Object
eu.bandm.sig.adlib2.BaseLongOperators
- Direct Known Subclasses:
LongOperators
Utility class with static tools concerning operators of primitive type
long
.-
Field Summary
Modifier and TypeFieldDescriptionstatic LongUnaryOperator
static LongBinaryOperator
static LongBinaryOperator
static LongBinaryOperator
static LongBinaryOperator
static LongBinaryOperator
static LongBinaryOperator
static LongBinaryOperator
static LongUnaryOperator
static LongBinaryOperator
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
compileOperator
(CompilationContext context, LongBiPredicate op) static void
compileOperator
(CompilationContext context, LongBinaryOperator op) static void
compileOperator
(CompilationContext context, LongPredicate op) static void
compileOperator
(CompilationContext context, LongUnaryOperator op) static Consumer<CompilationContext>
static Consumer<CompilationContext>
static Consumer<CompilationContext>
static Consumer<CompilationContext>
static long
gcd
(long x, long y) static CompilableLongUnaryOperator
id()
static LongBinaryOperator
join()
static long
join
(long x, long y)
-
Field Details
-
negate
-
add
-
subtract
-
multiply
-
divide
-
modulo
-
abs
-
min
-
max
-
gcd
-
-
Constructor Details
-
BaseLongOperators
BaseLongOperators()
-
-
Method Details
-
compileOperator
-
id
-
compileOperator
-
compileOperator
-
compileOperator
-
compileOperator
-
compileOperator
-
compileOperator
-
compileOperator
-
gcd
public static long gcd(long x, long y) -
join
-
join
public static long join(long x, long y)
-