|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.xtext.xbase.lib.CharacterExtensions
public class CharacterExtensions
This is an extension library for Character
numbers.
Constructor Summary | |
---|---|
CharacterExtensions()
|
Method Summary | |
---|---|
static int |
operator_divide(char a,
byte b)
The binary divide operator. |
static int |
operator_divide(char a,
char b)
The binary divide operator. |
static double |
operator_divide(char a,
double b)
The binary divide operator. |
static float |
operator_divide(char a,
float b)
The binary divide operator. |
static int |
operator_divide(char a,
int b)
The binary divide operator. |
static long |
operator_divide(char a,
long b)
The binary divide operator. |
static int |
operator_divide(char a,
short b)
The binary divide operator. |
static boolean |
operator_equals(char a,
byte b)
The binary equals operator. |
static boolean |
operator_equals(char a,
char b)
The binary equals operator. |
static boolean |
operator_equals(char a,
double b)
The binary equals operator. |
static boolean |
operator_equals(char a,
float b)
The binary equals operator. |
static boolean |
operator_equals(char a,
int b)
The binary equals operator. |
static boolean |
operator_equals(char a,
long b)
The binary equals operator. |
static boolean |
operator_equals(char a,
short b)
The binary equals operator. |
static boolean |
operator_greaterEqualsThan(char a,
byte b)
The binary greaterEqualsThan operator. |
static boolean |
operator_greaterEqualsThan(char a,
char b)
The binary greaterEqualsThan operator. |
static boolean |
operator_greaterEqualsThan(char a,
double b)
The binary greaterEqualsThan operator. |
static boolean |
operator_greaterEqualsThan(char a,
float b)
The binary greaterEqualsThan operator. |
static boolean |
operator_greaterEqualsThan(char a,
int b)
The binary greaterEqualsThan operator. |
static boolean |
operator_greaterEqualsThan(char a,
long b)
The binary greaterEqualsThan operator. |
static boolean |
operator_greaterEqualsThan(char a,
short b)
The binary greaterEqualsThan operator. |
static boolean |
operator_greaterThan(char a,
byte b)
The binary greaterThan operator. |
static boolean |
operator_greaterThan(char a,
char b)
The binary greaterThan operator. |
static boolean |
operator_greaterThan(char a,
double b)
The binary greaterThan operator. |
static boolean |
operator_greaterThan(char a,
float b)
The binary greaterThan operator. |
static boolean |
operator_greaterThan(char a,
int b)
The binary greaterThan operator. |
static boolean |
operator_greaterThan(char a,
long b)
The binary greaterThan operator. |
static boolean |
operator_greaterThan(char a,
short b)
The binary greaterThan operator. |
static boolean |
operator_lessEqualsThan(char a,
byte b)
The binary lessEqualsThan operator. |
static boolean |
operator_lessEqualsThan(char a,
char b)
The binary lessEqualsThan operator. |
static boolean |
operator_lessEqualsThan(char a,
double b)
The binary lessEqualsThan operator. |
static boolean |
operator_lessEqualsThan(char a,
float b)
The binary lessEqualsThan operator. |
static boolean |
operator_lessEqualsThan(char a,
int b)
The binary lessEqualsThan operator. |
static boolean |
operator_lessEqualsThan(char a,
long b)
The binary lessEqualsThan operator. |
static boolean |
operator_lessEqualsThan(char a,
short b)
The binary lessEqualsThan operator. |
static boolean |
operator_lessThan(char a,
byte b)
The binary lessThan operator. |
static boolean |
operator_lessThan(char a,
char b)
The binary lessThan operator. |
static boolean |
operator_lessThan(char a,
double b)
The binary lessThan operator. |
static boolean |
operator_lessThan(char a,
float b)
The binary lessThan operator. |
static boolean |
operator_lessThan(char a,
int b)
The binary lessThan operator. |
static boolean |
operator_lessThan(char a,
long b)
The binary lessThan operator. |
static boolean |
operator_lessThan(char a,
short b)
The binary lessThan operator. |
static int |
operator_minus(char a)
The unary minus operator. |
static int |
operator_minus(char a,
byte b)
The binary minus operator. |
static int |
operator_minus(char a,
char b)
The binary minus operator. |
static double |
operator_minus(char a,
double b)
The binary minus operator. |
static float |
operator_minus(char a,
float b)
The binary minus operator. |
static int |
operator_minus(char a,
int b)
The binary minus operator. |
static long |
operator_minus(char a,
long b)
The binary minus operator. |
static int |
operator_minus(char a,
short b)
The binary minus operator. |
static int |
operator_modulo(char a,
byte b)
The binary modulo operator. |
static int |
operator_modulo(char a,
char b)
The binary modulo operator. |
static double |
operator_modulo(char a,
double b)
The binary modulo operator. |
static float |
operator_modulo(char a,
float b)
The binary modulo operator. |
static int |
operator_modulo(char a,
int b)
The binary modulo operator. |
static long |
operator_modulo(char a,
long b)
The binary modulo operator. |
static int |
operator_modulo(char a,
short b)
The binary modulo operator. |
static int |
operator_multiply(char a,
byte b)
The binary multiply operator. |
static int |
operator_multiply(char a,
char b)
The binary multiply operator. |
static double |
operator_multiply(char a,
double b)
The binary multiply operator. |
static float |
operator_multiply(char a,
float b)
The binary multiply operator. |
static int |
operator_multiply(char a,
int b)
The binary multiply operator. |
static long |
operator_multiply(char a,
long b)
The binary multiply operator. |
static int |
operator_multiply(char a,
short b)
The binary multiply operator. |
static boolean |
operator_notEquals(char a,
byte b)
The binary notEquals operator. |
static boolean |
operator_notEquals(char a,
char b)
The binary notEquals operator. |
static boolean |
operator_notEquals(char a,
double b)
The binary notEquals operator. |
static boolean |
operator_notEquals(char a,
float b)
The binary notEquals operator. |
static boolean |
operator_notEquals(char a,
int b)
The binary notEquals operator. |
static boolean |
operator_notEquals(char a,
long b)
The binary notEquals operator. |
static boolean |
operator_notEquals(char a,
short b)
The binary notEquals operator. |
static int |
operator_plus(char a,
byte b)
The binary plus operator. |
static int |
operator_plus(char a,
char b)
The binary plus operator. |
static double |
operator_plus(char a,
double b)
The binary plus operator. |
static float |
operator_plus(char a,
float b)
The binary plus operator. |
static int |
operator_plus(char a,
int b)
The binary plus operator. |
static long |
operator_plus(char a,
long b)
The binary plus operator. |
static int |
operator_plus(char a,
short b)
The binary plus operator. |
static double |
operator_power(char a,
byte b)
The binary power operator. |
static double |
operator_power(char a,
char b)
The binary power operator. |
static double |
operator_power(char a,
double b)
The binary power operator. |
static double |
operator_power(char a,
float b)
The binary power operator. |
static double |
operator_power(char a,
int b)
The binary power operator. |
static double |
operator_power(char a,
long b)
The binary power operator. |
static double |
operator_power(char a,
short b)
The binary power operator. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CharacterExtensions()
Method Detail |
---|
public static int operator_minus(char a)
minus
operator. This is the equivalent to the Java's -
function.
a
- a character.
-a
public static double operator_plus(char a, double b)
plus
operator. This is the equivalent to the Java +
operator.
a
- a character.b
- a double.
a+b
public static double operator_minus(char a, double b)
minus
operator. This is the equivalent to the Java -
operator.
a
- a character.b
- a double.
a-b
public static double operator_multiply(char a, double b)
multiply
operator. This is the equivalent to the Java *
operator.
a
- a character.b
- a double.
a*b
public static double operator_divide(char a, double b)
divide
operator. This is the equivalent to the Java /
operator.
a
- a character.b
- a double.
a/b
public static double operator_modulo(char a, double b)
modulo
operator. This is the equivalent to the Java %
operator.
a
- a character.b
- a double.
a%b
public static boolean operator_lessThan(char a, double b)
lessThan
operator. This is the equivalent to the Java <
operator.
a
- a character.b
- a double.
a<b
public static boolean operator_lessEqualsThan(char a, double b)
lessEqualsThan
operator. This is the equivalent to the Java <=
operator.
a
- a character.b
- a double.
a<=b
public static boolean operator_greaterThan(char a, double b)
greaterThan
operator. This is the equivalent to the Java >
operator.
a
- a character.b
- a double.
a>b
public static boolean operator_greaterEqualsThan(char a, double b)
greaterEqualsThan
operator. This is the equivalent to the Java >=
operator.
a
- a character.b
- a double.
a>=b
public static boolean operator_equals(char a, double b)
equals
operator. This is the equivalent to the Java ==
operator.
a
- a character.b
- a double.
a==b
public static boolean operator_notEquals(char a, double b)
notEquals
operator. This is the equivalent to the Java !=
operator.
a
- a character.b
- a double.
a!=b
public static double operator_power(char a, double b)
power
operator. This is the equivalent to the Java's Math.pow()
function.
a
- a character.b
- a double.
Math.pow(a, b)
public static float operator_plus(char a, float b)
plus
operator. This is the equivalent to the Java +
operator.
a
- a character.b
- a float.
a+b
public static float operator_minus(char a, float b)
minus
operator. This is the equivalent to the Java -
operator.
a
- a character.b
- a float.
a-b
public static float operator_multiply(char a, float b)
multiply
operator. This is the equivalent to the Java *
operator.
a
- a character.b
- a float.
a*b
public static float operator_divide(char a, float b)
divide
operator. This is the equivalent to the Java /
operator.
a
- a character.b
- a float.
a/b
public static float operator_modulo(char a, float b)
modulo
operator. This is the equivalent to the Java %
operator.
a
- a character.b
- a float.
a%b
public static boolean operator_lessThan(char a, float b)
lessThan
operator. This is the equivalent to the Java <
operator.
a
- a character.b
- a float.
a<b
public static boolean operator_lessEqualsThan(char a, float b)
lessEqualsThan
operator. This is the equivalent to the Java <=
operator.
a
- a character.b
- a float.
a<=b
public static boolean operator_greaterThan(char a, float b)
greaterThan
operator. This is the equivalent to the Java >
operator.
a
- a character.b
- a float.
a>b
public static boolean operator_greaterEqualsThan(char a, float b)
greaterEqualsThan
operator. This is the equivalent to the Java >=
operator.
a
- a character.b
- a float.
a>=b
public static boolean operator_equals(char a, float b)
equals
operator. This is the equivalent to the Java ==
operator.
a
- a character.b
- a float.
a==b
public static boolean operator_notEquals(char a, float b)
notEquals
operator. This is the equivalent to the Java !=
operator.
a
- a character.b
- a float.
a!=b
public static double operator_power(char a, float b)
power
operator. This is the equivalent to the Java's Math.pow()
function.
a
- a character.b
- a float.
Math.pow(a, b)
public static long operator_plus(char a, long b)
plus
operator. This is the equivalent to the Java +
operator.
a
- a character.b
- a long.
a+b
public static long operator_minus(char a, long b)
minus
operator. This is the equivalent to the Java -
operator.
a
- a character.b
- a long.
a-b
public static long operator_multiply(char a, long b)
multiply
operator. This is the equivalent to the Java *
operator.
a
- a character.b
- a long.
a*b
public static long operator_divide(char a, long b)
divide
operator. This is the equivalent to the Java /
operator.
a
- a character.b
- a long.
a/b
public static long operator_modulo(char a, long b)
modulo
operator. This is the equivalent to the Java %
operator.
a
- a character.b
- a long.
a%b
public static boolean operator_lessThan(char a, long b)
lessThan
operator. This is the equivalent to the Java <
operator.
a
- a character.b
- a long.
a<b
public static boolean operator_lessEqualsThan(char a, long b)
lessEqualsThan
operator. This is the equivalent to the Java <=
operator.
a
- a character.b
- a long.
a<=b
public static boolean operator_greaterThan(char a, long b)
greaterThan
operator. This is the equivalent to the Java >
operator.
a
- a character.b
- a long.
a>b
public static boolean operator_greaterEqualsThan(char a, long b)
greaterEqualsThan
operator. This is the equivalent to the Java >=
operator.
a
- a character.b
- a long.
a>=b
public static boolean operator_equals(char a, long b)
equals
operator. This is the equivalent to the Java ==
operator.
a
- a character.b
- a long.
a==b
public static boolean operator_notEquals(char a, long b)
notEquals
operator. This is the equivalent to the Java !=
operator.
a
- a character.b
- a long.
a!=b
public static double operator_power(char a, long b)
power
operator. This is the equivalent to the Java's Math.pow()
function.
a
- a character.b
- a long.
Math.pow(a, b)
public static int operator_plus(char a, int b)
plus
operator. This is the equivalent to the Java +
operator.
a
- a character.b
- an integer.
a+b
public static int operator_minus(char a, int b)
minus
operator. This is the equivalent to the Java -
operator.
a
- a character.b
- an integer.
a-b
public static int operator_multiply(char a, int b)
multiply
operator. This is the equivalent to the Java *
operator.
a
- a character.b
- an integer.
a*b
public static int operator_divide(char a, int b)
divide
operator. This is the equivalent to the Java /
operator.
a
- a character.b
- an integer.
a/b
public static int operator_modulo(char a, int b)
modulo
operator. This is the equivalent to the Java %
operator.
a
- a character.b
- an integer.
a%b
public static boolean operator_lessThan(char a, int b)
lessThan
operator. This is the equivalent to the Java <
operator.
a
- a character.b
- an integer.
a<b
public static boolean operator_lessEqualsThan(char a, int b)
lessEqualsThan
operator. This is the equivalent to the Java <=
operator.
a
- a character.b
- an integer.
a<=b
public static boolean operator_greaterThan(char a, int b)
greaterThan
operator. This is the equivalent to the Java >
operator.
a
- a character.b
- an integer.
a>b
public static boolean operator_greaterEqualsThan(char a, int b)
greaterEqualsThan
operator. This is the equivalent to the Java >=
operator.
a
- a character.b
- an integer.
a>=b
public static boolean operator_equals(char a, int b)
equals
operator. This is the equivalent to the Java ==
operator.
a
- a character.b
- an integer.
a==b
public static boolean operator_notEquals(char a, int b)
notEquals
operator. This is the equivalent to the Java !=
operator.
a
- a character.b
- an integer.
a!=b
public static double operator_power(char a, int b)
power
operator. This is the equivalent to the Java's Math.pow()
function.
a
- a character.b
- an integer.
Math.pow(a, b)
public static int operator_plus(char a, char b)
plus
operator. This is the equivalent to the Java +
operator.
a
- a character.b
- a character.
a+b
public static int operator_minus(char a, char b)
minus
operator. This is the equivalent to the Java -
operator.
a
- a character.b
- a character.
a-b
public static int operator_multiply(char a, char b)
multiply
operator. This is the equivalent to the Java *
operator.
a
- a character.b
- a character.
a*b
public static int operator_divide(char a, char b)
divide
operator. This is the equivalent to the Java /
operator.
a
- a character.b
- a character.
a/b
public static int operator_modulo(char a, char b)
modulo
operator. This is the equivalent to the Java %
operator.
a
- a character.b
- a character.
a%b
public static boolean operator_lessThan(char a, char b)
lessThan
operator. This is the equivalent to the Java <
operator.
a
- a character.b
- a character.
a<b
public static boolean operator_lessEqualsThan(char a, char b)
lessEqualsThan
operator. This is the equivalent to the Java <=
operator.
a
- a character.b
- a character.
a<=b
public static boolean operator_greaterThan(char a, char b)
greaterThan
operator. This is the equivalent to the Java >
operator.
a
- a character.b
- a character.
a>b
public static boolean operator_greaterEqualsThan(char a, char b)
greaterEqualsThan
operator. This is the equivalent to the Java >=
operator.
a
- a character.b
- a character.
a>=b
public static boolean operator_equals(char a, char b)
equals
operator. This is the equivalent to the Java ==
operator.
a
- a character.b
- a character.
a==b
public static boolean operator_notEquals(char a, char b)
notEquals
operator. This is the equivalent to the Java !=
operator.
a
- a character.b
- a character.
a!=b
public static double operator_power(char a, char b)
power
operator. This is the equivalent to the Java's Math.pow()
function.
a
- a character.b
- a character.
Math.pow(a, b)
public static int operator_plus(char a, short b)
plus
operator. This is the equivalent to the Java +
operator.
a
- a character.b
- a short.
a+b
public static int operator_minus(char a, short b)
minus
operator. This is the equivalent to the Java -
operator.
a
- a character.b
- a short.
a-b
public static int operator_multiply(char a, short b)
multiply
operator. This is the equivalent to the Java *
operator.
a
- a character.b
- a short.
a*b
public static int operator_divide(char a, short b)
divide
operator. This is the equivalent to the Java /
operator.
a
- a character.b
- a short.
a/b
public static int operator_modulo(char a, short b)
modulo
operator. This is the equivalent to the Java %
operator.
a
- a character.b
- a short.
a%b
public static boolean operator_lessThan(char a, short b)
lessThan
operator. This is the equivalent to the Java <
operator.
a
- a character.b
- a short.
a<b
public static boolean operator_lessEqualsThan(char a, short b)
lessEqualsThan
operator. This is the equivalent to the Java <=
operator.
a
- a character.b
- a short.
a<=b
public static boolean operator_greaterThan(char a, short b)
greaterThan
operator. This is the equivalent to the Java >
operator.
a
- a character.b
- a short.
a>b
public static boolean operator_greaterEqualsThan(char a, short b)
greaterEqualsThan
operator. This is the equivalent to the Java >=
operator.
a
- a character.b
- a short.
a>=b
public static boolean operator_equals(char a, short b)
equals
operator. This is the equivalent to the Java ==
operator.
a
- a character.b
- a short.
a==b
public static boolean operator_notEquals(char a, short b)
notEquals
operator. This is the equivalent to the Java !=
operator.
a
- a character.b
- a short.
a!=b
public static double operator_power(char a, short b)
power
operator. This is the equivalent to the Java's Math.pow()
function.
a
- a character.b
- a short.
Math.pow(a, b)
public static int operator_plus(char a, byte b)
plus
operator. This is the equivalent to the Java +
operator.
a
- a character.b
- a byte.
a+b
public static int operator_minus(char a, byte b)
minus
operator. This is the equivalent to the Java -
operator.
a
- a character.b
- a byte.
a-b
public static int operator_multiply(char a, byte b)
multiply
operator. This is the equivalent to the Java *
operator.
a
- a character.b
- a byte.
a*b
public static int operator_divide(char a, byte b)
divide
operator. This is the equivalent to the Java /
operator.
a
- a character.b
- a byte.
a/b
public static int operator_modulo(char a, byte b)
modulo
operator. This is the equivalent to the Java %
operator.
a
- a character.b
- a byte.
a%b
public static boolean operator_lessThan(char a, byte b)
lessThan
operator. This is the equivalent to the Java <
operator.
a
- a character.b
- a byte.
a<b
public static boolean operator_lessEqualsThan(char a, byte b)
lessEqualsThan
operator. This is the equivalent to the Java <=
operator.
a
- a character.b
- a byte.
a<=b
public static boolean operator_greaterThan(char a, byte b)
greaterThan
operator. This is the equivalent to the Java >
operator.
a
- a character.b
- a byte.
a>b
public static boolean operator_greaterEqualsThan(char a, byte b)
greaterEqualsThan
operator. This is the equivalent to the Java >=
operator.
a
- a character.b
- a byte.
a>=b
public static boolean operator_equals(char a, byte b)
equals
operator. This is the equivalent to the Java ==
operator.
a
- a character.b
- a byte.
a==b
public static boolean operator_notEquals(char a, byte b)
notEquals
operator. This is the equivalent to the Java !=
operator.
a
- a character.b
- a byte.
a!=b
public static double operator_power(char a, byte b)
power
operator. This is the equivalent to the Java's Math.pow()
function.
a
- a character.b
- a byte.
Math.pow(a, b)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |