public abstract class BaseIntOperators extends Object
int
.Modifier and Type | Field and Description |
---|---|
static IntUnaryOperator |
abs |
static IntBinaryOperator |
add |
static IntBinaryOperator |
divide |
static IntBinaryOperator |
gcd |
static IntBinaryOperator |
max |
static IntBinaryOperator |
min |
static IntBinaryOperator |
modulo |
static IntBinaryOperator |
multiply |
static IntUnaryOperator |
negate |
static IntBinaryOperator |
subtract |
Constructor and Description |
---|
BaseIntOperators() |
Modifier and Type | Method and Description |
---|---|
static void |
compileOperator(CompilationContext context,
IntBinaryOperator op) |
static void |
compileOperator(CompilationContext context,
IntBiPredicate op) |
static void |
compileOperator(CompilationContext context,
IntPredicate op) |
static void |
compileOperator(CompilationContext context,
IntUnaryOperator op) |
static Consumer<CompilationContext> |
compileOperator(IntBinaryOperator op) |
static Consumer<CompilationContext> |
compileOperator(IntBiPredicate op) |
static Consumer<CompilationContext> |
compileOperator(IntPredicate op) |
static Consumer<CompilationContext> |
compileOperator(IntUnaryOperator op) |
static int |
gcd(int x,
int y) |
static CompilableIntUnaryOperator |
id() |
static IntBinaryOperator |
join() |
static int |
join(int x,
int y) |
public static IntUnaryOperator negate
public static IntBinaryOperator add
public static IntBinaryOperator subtract
public static IntBinaryOperator multiply
public static IntBinaryOperator divide
public static IntBinaryOperator modulo
public static IntUnaryOperator abs
public static IntBinaryOperator min
public static IntBinaryOperator max
public static IntBinaryOperator gcd
public static void compileOperator(CompilationContext context, IntUnaryOperator op)
public static CompilableIntUnaryOperator id()
public static Consumer<CompilationContext> compileOperator(IntUnaryOperator op)
public static void compileOperator(CompilationContext context, IntBinaryOperator op)
public static Consumer<CompilationContext> compileOperator(IntBinaryOperator op)
public static void compileOperator(CompilationContext context, IntPredicate op)
public static Consumer<CompilationContext> compileOperator(IntPredicate op)
public static void compileOperator(CompilationContext context, IntBiPredicate op)
public static Consumer<CompilationContext> compileOperator(IntBiPredicate op)
public static int gcd(int x, int y)
public static IntBinaryOperator join()
public static int join(int x, int y)