Package de.scravy.bedrock
Class Operators
java.lang.Object
de.scravy.bedrock.Operators
public class Operators extends Object
-
Constructor Summary
Constructors Constructor Description Operators() -
Method Summary
Modifier and Type Method Description static IntUnaryOperatorand(int a)static intand(int a, int b)static LongUnaryOperatorand(long a)static longand(long a, long b)static UnaryOperator<Integer>and(Integer a)static Integerand(Integer a, Integer b)static UnaryOperator<Long>and(Long a)static Longand(Long a, Long b)static UnaryOperator<BigInteger>and(BigInteger a)static BigIntegerand(BigInteger a, BigInteger b)static <N extends Number>
UnaryOperator<N>and(N a)static <N extends Number>
Nand(N a, N b)static DoubleUnaryOperatordiv(double b)static doublediv(double a, double b)static IntUnaryOperatordiv(int b)static intdiv(int a, int b)static LongUnaryOperatordiv(long b)static longdiv(long a, long b)static UnaryOperator<Double>div(Double b)static Doublediv(Double a, Double b)static UnaryOperator<Integer>div(Integer b)static Integerdiv(Integer a, Integer b)static UnaryOperator<Long>div(Long b)static Longdiv(Long a, Long b)static UnaryOperator<BigDecimal>div(BigDecimal b)static BigDecimaldiv(BigDecimal a, BigDecimal b)static UnaryOperator<BigInteger>div(BigInteger b)static BigIntegerdiv(BigInteger a, BigInteger b)static <N extends Number>
UnaryOperator<N>div(N b)static <N extends Number>
Ndiv(N a, N b)static booleaneq(boolean a, boolean b)static booleaneq(double a, double b)static booleaneq(int a, int b)static booleaneq(long a, long b)static Booleaneq(Object a, Object b)static booleangt(double a, double b)static booleangt(int a, int b)static booleangt(long a, long b)static <E extends Comparable<? super E>>
Booleangt(E a, E b)static Booleangt(Double a, Double b)static Booleangt(Integer a, Integer b)static Booleangt(Long a, Long b)static booleangte(double a, double b)static booleangte(int a, int b)static booleangte(long a, long b)static <E extends Comparable<? super E>>
Booleangte(E a, E b)static Booleangte(Double a, Double b)static Booleangte(Integer a, Integer b)static Booleangte(Long a, Long b)static booleanlt(double a, double b)static booleanlt(int a, int b)static booleanlt(long a, long b)static <E extends Comparable<? super E>>
Booleanlt(E a, E b)static Booleanlt(Double a, Double b)static Booleanlt(Integer a, Integer b)static Booleanlt(Long a, Long b)static booleanlte(double a, double b)static booleanlte(int a, int b)static booleanlte(long a, long b)static <E extends Comparable<? super E>>
Booleanlte(E a, E b)static Booleanlte(Double a, Double b)static Booleanlte(Integer a, Integer b)static Booleanlte(Long a, Long b)static DoubleUnaryOperatorminus(double b)static doubleminus(double a, double b)static IntUnaryOperatorminus(int b)static intminus(int a, int b)static LongUnaryOperatorminus(long b)static longminus(long a, long b)static UnaryOperator<Double>minus(Double b)static Doubleminus(Double a, Double b)static UnaryOperator<Integer>minus(Integer b)static Integerminus(Integer a, Integer b)static UnaryOperator<Long>minus(Long b)static Longminus(Long a, Long b)static UnaryOperator<BigDecimal>minus(BigDecimal b)static BigDecimalminus(BigDecimal a, BigDecimal b)static UnaryOperator<BigInteger>minus(BigInteger b)static BigIntegerminus(BigInteger a, BigInteger b)static <N extends Number>
UnaryOperator<N>minus(N b)static <N extends Number>
Nminus(N a, N b)static DoubleUnaryOperatormod(double b)static doublemod(double a, double b)static IntUnaryOperatormod(int b)static intmod(int a, int b)static LongUnaryOperatormod(long b)static longmod(long a, long b)static UnaryOperator<Double>mod(Double b)static Doublemod(Double a, Double b)static UnaryOperator<Integer>mod(Integer b)static Integermod(Integer a, Integer b)static UnaryOperator<Long>mod(Long b)static Longmod(Long a, Long b)static UnaryOperator<BigInteger>mod(BigInteger b)static BigIntegermod(BigInteger a, BigInteger b)static <N extends Number>
UnaryOperator<N>mod(N b)static <N extends Number>
Nmod(N a, N b)static booleanneq(boolean a, boolean b)static booleanneq(double a, double b)static booleanneq(int a, int b)static booleanneq(long a, long b)static Booleanneq(Object a, Object b)static IntUnaryOperatoror(int a)static intor(int a, int b)static LongUnaryOperatoror(long a)static longor(long a, long b)static UnaryOperator<Integer>or(Integer a)static Integeror(Integer a, Integer b)static UnaryOperator<Long>or(Long a)static Longor(Long a, Long b)static UnaryOperator<BigInteger>or(BigInteger a)static BigIntegeror(BigInteger a, BigInteger b)static <N extends Number>
UnaryOperator<N>or(N a)static <N extends Number>
Nor(N a, N b)static DoubleUnaryOperatorplus(double a)static doubleplus(double a, double b)static IntUnaryOperatorplus(int a)static intplus(int a, int b)static LongUnaryOperatorplus(long a)static longplus(long a, long b)static UnaryOperator<Double>plus(Double a)static Doubleplus(Double a, Double b)static UnaryOperator<Integer>plus(Integer a)static Integerplus(Integer a, Integer b)static UnaryOperator<Long>plus(Long a)static Longplus(Long a, Long b)static UnaryOperator<BigDecimal>plus(BigDecimal a)static BigDecimalplus(BigDecimal a, BigDecimal b)static UnaryOperator<BigInteger>plus(BigInteger a)static BigIntegerplus(BigInteger a, BigInteger b)static <N extends Number>
UnaryOperator<N>plus(N a)static <N extends Number>
Nplus(N a, N b)static DoubleUnaryOperatortimes(double a)static doubletimes(double a, double b)static IntUnaryOperatortimes(int a)static inttimes(int a, int b)static LongUnaryOperatortimes(long a)static longtimes(long a, long b)static UnaryOperator<Double>times(Double a)static Doubletimes(Double a, Double b)static UnaryOperator<Integer>times(Integer a)static Integertimes(Integer a, Integer b)static UnaryOperator<Long>times(Long a)static Longtimes(Long a, Long b)static UnaryOperator<BigDecimal>times(BigDecimal a)static BigDecimaltimes(BigDecimal a, BigDecimal b)static UnaryOperator<BigInteger>times(BigInteger a)static BigIntegertimes(BigInteger a, BigInteger b)static <N extends Number>
UnaryOperator<N>times(N a)static <N extends Number>
Ntimes(N a, N b)static IntUnaryOperatorxor(int b)static intxor(int a, int b)static LongUnaryOperatorxor(long b)static longxor(long a, long b)static UnaryOperator<Integer>xor(Integer b)static Integerxor(Integer a, Integer b)static UnaryOperator<Long>xor(Long b)static Longxor(Long a, Long b)static UnaryOperator<BigInteger>xor(BigInteger b)static BigIntegerxor(BigInteger a, BigInteger b)static <N extends Number>
UnaryOperator<N>xor(N b)static <N extends Number>
Nxor(N a, N b)
-
Constructor Details
-
Operators
public Operators()
-
-
Method Details
-
plus
public static int plus(int a, int b) -
plus
-
plus
public static long plus(long a, long b) -
plus
-
plus
public static double plus(double a, double b) -
plus
-
plus
-
plus
-
plus
-
plus
-
plus
-
plus
-
plus
-
plus
-
plus
-
plus
-
plus
-
plus
-
or
public static int or(int a, int b) -
or
-
or
public static long or(long a, long b) -
or
-
or
-
or
-
or
-
or
-
or
-
or
-
or
-
or
-
minus
public static int minus(int a, int b) -
minus
-
minus
public static long minus(long a, long b) -
minus
-
minus
public static double minus(double a, double b) -
minus
-
minus
-
minus
-
minus
-
minus
-
minus
-
minus
-
minus
-
minus
-
minus
-
minus
-
minus
-
minus
-
times
public static int times(int a, int b) -
times
-
times
public static long times(long a, long b) -
times
-
times
public static double times(double a, double b) -
times
-
times
-
times
-
times
-
times
-
times
-
times
-
times
-
times
-
times
-
times
-
times
-
times
-
and
public static int and(int a, int b) -
and
-
and
public static long and(long a, long b) -
and
-
and
-
and
-
and
-
and
-
and
-
and
-
and
-
and
-
div
public static int div(int a, int b) -
div
-
div
public static long div(long a, long b) -
div
-
div
public static double div(double a, double b) -
div
-
div
-
div
-
div
-
div
-
div
-
div
-
div
-
div
-
div
-
div
-
div
-
div
-
mod
public static int mod(int a, int b) -
mod
-
mod
public static long mod(long a, long b) -
mod
-
mod
public static double mod(double a, double b) -
mod
-
mod
-
mod
-
mod
-
mod
-
mod
-
mod
-
mod
-
mod
-
mod
-
mod
-
xor
public static int xor(int a, int b) -
xor
-
xor
public static long xor(long a, long b) -
xor
-
xor
-
xor
-
xor
-
xor
-
xor
-
xor
-
xor
-
xor
-
neq
public static boolean neq(boolean a, boolean b) -
neq
public static boolean neq(int a, int b) -
neq
public static boolean neq(long a, long b) -
neq
public static boolean neq(double a, double b) -
neq
-
eq
public static boolean eq(boolean a, boolean b) -
eq
public static boolean eq(int a, int b) -
eq
public static boolean eq(long a, long b) -
eq
public static boolean eq(double a, double b) -
eq
-
lt
public static boolean lt(int a, int b) -
lt
public static boolean lt(long a, long b) -
lt
public static boolean lt(double a, double b) -
lt
-
lt
-
lt
-
lt
-
lte
public static boolean lte(int a, int b) -
lte
public static boolean lte(long a, long b) -
lte
public static boolean lte(double a, double b) -
lte
-
lte
-
lte
-
lte
-
gt
public static boolean gt(int a, int b) -
gt
public static boolean gt(long a, long b) -
gt
public static boolean gt(double a, double b) -
gt
-
gt
-
gt
-
gt
-
gte
public static boolean gte(int a, int b) -
gte
public static boolean gte(long a, long b) -
gte
public static boolean gte(double a, double b) -
gte
-
gte
-
gte
-
gte
-