public final class L extends Object
A few examples will makes this clearer.
Take a dsl statement : /a == 2
it is compiled into something like
L.equals(evt.getCreate("a"),2);
}
Modifier and Type | Method and Description |
---|---|
static boolean |
asBoolean(boolean v) |
static boolean |
asBoolean(Tuple v) |
static double |
asDouble(Tuple v) |
static float |
asFloat(Tuple v) |
static int |
asInt(Tuple v) |
static long |
asLong(Tuple v) |
static short |
asShort(Tuple v) |
static String |
asString(Tuple v) |
static Tuple |
asTuple(Tuple v) |
static double |
divide(double l,
Tuple p) |
static double |
divide(long l,
Tuple p) |
static double |
divide(Tuple p,
double l) |
static double |
divide(Tuple p,
long l) |
static double |
divide(Tuple p,
Tuple l) |
static boolean |
equals(boolean v,
Tuple p) |
static boolean |
equals(double a,
double b) |
static boolean |
equals(double d,
Tuple p) |
static boolean |
equals(int a,
int b) |
static boolean |
equals(long a,
long b) |
static boolean |
equals(long l,
Tuple p) |
static boolean |
equals(String v,
Tuple p) |
static boolean |
equals(Tuple p,
boolean v) |
static boolean |
equals(Tuple p,
double d) |
static boolean |
equals(Tuple p,
float f) |
static boolean |
equals(Tuple p,
int i) |
static boolean |
equals(Tuple p,
long l) |
static boolean |
equals(Tuple p,
short s) |
static boolean |
equals(Tuple p,
String v) |
static boolean |
greater(double a,
double b) |
static boolean |
greater(double l,
Tuple p) |
static boolean |
greater(int a,
int b) |
static boolean |
greater(long a,
long b) |
static boolean |
greater(long l,
Tuple p) |
static boolean |
greater(Tuple p,
double l) |
static boolean |
greater(Tuple p,
long l) |
static boolean |
greaterEq(double a,
double b) |
static boolean |
greaterEq(double l,
Tuple p) |
static boolean |
greaterEq(int a,
int b) |
static boolean |
greaterEq(long a,
long b) |
static boolean |
greaterEq(long l,
Tuple p) |
static boolean |
greaterEq(Tuple p,
double l) |
static boolean |
greaterEq(Tuple p,
long l) |
static double |
minus(double d2,
double d1) |
static double |
minus(double d,
Tuple p) |
static long |
minus(Long l1,
long l2) |
static long |
minus(long l,
Tuple p) |
static double |
minus(Tuple p,
double d) |
static long |
minus(Tuple p,
long l) |
static long |
mod(int l,
Tuple p) |
static long |
mod(long l,
Tuple p) |
static long |
mod(Tuple p,
int i) |
static long |
mod(Tuple p,
long l) |
static double |
multiply(double l,
Tuple p) |
static double |
multiply(long l,
Tuple p) |
static double |
multiply(Tuple p,
double l) |
static double |
multiply(Tuple p,
long l) |
static double |
multiply(Tuple p,
Tuple l) |
static boolean |
notEquals(boolean v,
Tuple p) |
static boolean |
notEquals(double a,
double b) |
static boolean |
notEquals(double d,
Tuple p) |
static boolean |
notEquals(int a,
int b) |
static boolean |
notEquals(long a,
long b) |
static boolean |
notEquals(long l,
Tuple p) |
static boolean |
notEquals(String v,
Tuple p) |
static boolean |
notEquals(Tuple p,
boolean v) |
static boolean |
notEquals(Tuple p,
double d) |
static boolean |
notEquals(Tuple p,
float f) |
static boolean |
notEquals(Tuple p,
int i) |
static boolean |
notEquals(Tuple p,
long l) |
static boolean |
notEquals(Tuple p,
short s) |
static boolean |
notEquals(Tuple p,
String v) |
static Tuple |
set(Tuple p,
boolean v) |
static Tuple |
set(Tuple p,
double v) |
static Tuple |
set(Tuple p,
double[] v) |
static Tuple |
set(Tuple p,
float v) |
static Tuple |
set(Tuple p,
int v) |
static Tuple |
set(Tuple p,
long v) |
static Tuple |
set(Tuple p,
long[] v) |
static Tuple |
set(Tuple p,
Object o) |
static Tuple |
set(Tuple p,
short v) |
static Tuple |
set(Tuple p,
String[] v) |
static Tuple |
set(Tuple p,
Tuple v) |
static boolean |
smaller(double a,
double b) |
static boolean |
smaller(double d,
Tuple p) |
static boolean |
smaller(int a,
int b) |
static boolean |
smaller(long a,
long b) |
static boolean |
smaller(long l,
Tuple p) |
static boolean |
smaller(Tuple p,
double d) |
static boolean |
smaller(Tuple p,
long l) |
static boolean |
smallerEq(double a,
double b) |
static boolean |
smallerEq(double d,
Tuple p) |
static boolean |
smallerEq(int a,
int b) |
static boolean |
smallerEq(long a,
long b) |
static boolean |
smallerEq(long l,
Tuple p) |
static boolean |
smallerEq(Tuple p,
double d) |
static boolean |
smallerEq(Tuple p,
long l) |
static int |
sum(int i1,
int i2) |
static long |
sum(long i1,
long i2) |
static String |
sum(String s,
String p) |
static String |
sum(String s,
Tuple p) |
static String |
sum(Tuple p,
String s) |
static Tuple |
sum(Tuple p1,
Tuple p2)
Compute the sum of two tuples.
|
public static double multiply(Tuple p, double l)
public static double multiply(double l, Tuple p)
public static double multiply(Tuple p, long l)
public static double multiply(long l, Tuple p)
public static double divide(Tuple p, double l)
public static double divide(double l, Tuple p)
public static double divide(Tuple p, long l)
public static double divide(long l, Tuple p)
public static long minus(Tuple p, long l)
public static long minus(Long l1, long l2)
public static long minus(long l, Tuple p)
public static double minus(double d, Tuple p)
public static double minus(double d2, double d1)
public static double minus(Tuple p, double d)
public static Tuple sum(Tuple p1, Tuple p2)
p1
- left tuplep2
- right tuplepublic static long sum(long i1, long i2)
public static int sum(int i1, int i2)
public static boolean smaller(Tuple p, double d)
public static boolean smaller(double d, Tuple p)
public static boolean smallerEq(Tuple p, double d)
public static boolean smallerEq(double d, Tuple p)
public static boolean smaller(Tuple p, long l)
public static boolean smaller(long l, Tuple p)
public static boolean smallerEq(Tuple p, long l)
public static boolean smallerEq(long l, Tuple p)
public static boolean greater(Tuple p, long l)
public static boolean greater(long l, Tuple p)
public static boolean greaterEq(Tuple p, long l)
public static boolean greaterEq(long l, Tuple p)
public static boolean greater(Tuple p, double l)
public static boolean greater(double l, Tuple p)
public static boolean greaterEq(Tuple p, double l)
public static boolean greaterEq(double l, Tuple p)
public static boolean equals(int a, int b)
public static boolean notEquals(int a, int b)
public static boolean smaller(int a, int b)
public static boolean greater(int a, int b)
public static boolean smallerEq(int a, int b)
public static boolean greaterEq(int a, int b)
public static boolean equals(double a, double b)
public static boolean notEquals(double a, double b)
public static boolean smaller(double a, double b)
public static boolean greater(double a, double b)
public static boolean smallerEq(double a, double b)
public static boolean greaterEq(double a, double b)
public static boolean equals(long a, long b)
public static boolean notEquals(long a, long b)
public static boolean smaller(long a, long b)
public static boolean greater(long a, long b)
public static boolean smallerEq(long a, long b)
public static boolean greaterEq(long a, long b)
public static boolean equals(long l, Tuple p)
public static boolean equals(Tuple p, long l)
public static boolean equals(Tuple p, int i)
public static boolean equals(Tuple p, short s)
public static boolean equals(double d, Tuple p)
public static boolean equals(Tuple p, double d)
public static boolean equals(Tuple p, float f)
public static boolean equals(boolean v, Tuple p)
public static boolean equals(Tuple p, boolean v)
public static boolean notEquals(long l, Tuple p)
public static boolean notEquals(Tuple p, long l)
public static boolean notEquals(Tuple p, int i)
public static boolean notEquals(Tuple p, short s)
public static boolean notEquals(double d, Tuple p)
public static boolean notEquals(Tuple p, double d)
public static boolean notEquals(Tuple p, float f)
public static boolean notEquals(boolean v, Tuple p)
public static boolean notEquals(Tuple p, boolean v)
public static boolean asBoolean(boolean v)
public static boolean asBoolean(Tuple v)
public static long asLong(Tuple v)
public static double asDouble(Tuple v)
public static int asInt(Tuple v)
public static short asShort(Tuple v)
public static float asFloat(Tuple v)
public static long mod(Tuple p, long l)
public static long mod(Tuple p, int i)
public static long mod(long l, Tuple p)
public static long mod(int l, Tuple p)
Copyright © 2023. All rights reserved.