|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object org.op4j.functions.FnObject
public final class FnObject
Method Summary | ||
---|---|---|
static Function<Object,Boolean> |
between(byte min,
byte max)
Determines whether the target object is between min and max in value, this is, whether target.compareTo(min) >= 0 && target.compareTo(max) <= 0. |
|
static Function<Object,Boolean> |
between(double min,
double max)
Determines whether the target object is between min and max in value, this is, whether target.compareTo(min) >= 0 && target.compareTo(max) <= 0. |
|
static Function<Object,Boolean> |
between(float min,
float max)
Determines whether the target object is between min and max in value, this is, whether target.compareTo(min) >= 0 && target.compareTo(max) <= 0. |
|
static Function<Object,Boolean> |
between(int min,
int max)
Determines whether the target object is between min and max in value, this is, whether target.compareTo(min) >= 0 && target.compareTo(max) <= 0. |
|
static Function<Object,Boolean> |
between(long min,
long max)
Determines whether the target object is between min and max in value, this is, whether target.compareTo(min) >= 0 && target.compareTo(max) <= 0. |
|
static Function<Object,Boolean> |
between(Object min,
Object max)
Determines whether the target object is between min and max in value, this is, whether target.compareTo(min) >= 0 && target.compareTo(max) <= 0. |
|
static Function<Object,Boolean> |
between(short min,
short max)
Determines whether the target object is between min and max in value, this is, whether target.compareTo(min) >= 0 && target.compareTo(max) <= 0. |
|
static Function<Object,Boolean> |
eq(boolean object)
Determines whether the target object and the specified object are equal by calling the equals method on the target object. |
|
static Function<Object,Boolean> |
eq(byte object)
Determines whether the target object and the specified object are equal by calling the equals method on the target object. |
|
static Function<Object,Boolean> |
eq(double object)
Determines whether the target object and the specified object are equal by calling the equals method on the target object. |
|
static Function<Object,Boolean> |
eq(float object)
Determines whether the target object and the specified object are equal by calling the equals method on the target object. |
|
static Function<Object,Boolean> |
eq(int object)
Determines whether the target object and the specified object are equal by calling the equals method on the target object. |
|
static Function<Object,Boolean> |
eq(long object)
Determines whether the target object and the specified object are equal by calling the equals method on the target object. |
|
static Function<Object,Boolean> |
eq(Object object)
Determines whether the target object and the specified object are equal by calling the equals method on the target object. |
|
static Function<Object,Boolean> |
eq(short object)
Determines whether the target object and the specified object are equal by calling the equals method on the target object. |
|
static
|
eqBy(IFunction<X,?> by,
boolean object)
Determines whether the result of executing the specified function on the target object and the specified object parameter are equal by calling the equals method. |
|
static
|
eqBy(IFunction<X,?> by,
byte object)
Determines whether the result of executing the specified function on the target object and the specified object parameter are equal by calling the equals method. |
|
static
|
eqBy(IFunction<X,?> by,
double object)
Determines whether the result of executing the specified function on the target object and the specified object parameter are equal by calling the equals method. |
|
static
|
eqBy(IFunction<X,?> by,
float object)
Determines whether the result of executing the specified function on the target object and the specified object parameter are equal by calling the equals method. |
|
static
|
eqBy(IFunction<X,?> by,
int object)
Determines whether the result of executing the specified function on the target object and the specified object parameter are equal by calling the equals method. |
|
static
|
eqBy(IFunction<X,?> by,
long object)
Determines whether the result of executing the specified function on the target object and the specified object parameter are equal by calling the equals method. |
|
static
|
eqBy(IFunction<X,?> by,
Object object)
Determines whether the result of executing the specified function on the target object and the specified object parameter are equal by calling the equals method. |
|
static
|
eqBy(IFunction<X,?> by,
short object)
Determines whether the result of executing the specified function on the target object and the specified object parameter are equal by calling the equals method. |
|
static Function<Object,Boolean> |
eqValue(boolean object)
Determines whether the target object and the specified object are equal in value, this is, whether target.compareTo(object) == 0. |
|
static Function<Object,Boolean> |
eqValue(byte object)
Determines whether the target object and the specified object are equal in value, this is, whether target.compareTo(object) == 0. |
|
static Function<Object,Boolean> |
eqValue(double object)
Determines whether the target object and the specified object are equal in value, this is, whether target.compareTo(object) == 0. |
|
static Function<Object,Boolean> |
eqValue(float object)
Determines whether the target object and the specified object are equal in value, this is, whether target.compareTo(object) == 0. |
|
static Function<Object,Boolean> |
eqValue(int object)
Determines whether the target object and the specified object are equal in value, this is, whether target.compareTo(object) == 0. |
|
static Function<Object,Boolean> |
eqValue(long object)
Determines whether the target object and the specified object are equal in value, this is, whether target.compareTo(object) == 0. |
|
static Function<Object,Boolean> |
eqValue(Object object)
Determines whether the target object and the specified object are equal in value, this is, whether target.compareTo(object) == 0. |
|
static Function<Object,Boolean> |
eqValue(short object)
Determines whether the target object and the specified object are equal in value, this is, whether target.compareTo(object) == 0. |
|
static
|
eqValueBy(IFunction<X,?> by,
boolean object)
Determines whether the result of executing the specified function on the target object and the specified object parameter are equal in value, this is, whether functionResult.compareTo(object) == 0. |
|
static
|
eqValueBy(IFunction<X,?> by,
byte object)
Determines whether the result of executing the specified function on the target object and the specified object parameter are equal in value, this is, whether functionResult.compareTo(object) == 0. |
|
static
|
eqValueBy(IFunction<X,?> by,
double object)
Determines whether the result of executing the specified function on the target object and the specified object parameter are equal in value, this is, whether functionResult.compareTo(object) == 0. |
|
static
|
eqValueBy(IFunction<X,?> by,
float object)
Determines whether the result of executing the specified function on the target object and the specified object parameter are equal in value, this is, whether functionResult.compareTo(object) == 0. |
|
static
|
eqValueBy(IFunction<X,?> by,
int object)
Determines whether the result of executing the specified function on the target object and the specified object parameter are equal in value, this is, whether functionResult.compareTo(object) == 0. |
|
static
|
eqValueBy(IFunction<X,?> by,
long object)
Determines whether the result of executing the specified function on the target object and the specified object parameter are equal in value, this is, whether functionResult.compareTo(object) == 0. |
|
static
|
eqValueBy(IFunction<X,?> by,
Object object)
Determines whether the result of executing the specified function on the target object and the specified object parameter are equal in value, this is, whether functionResult.compareTo(object) == 0. |
|
static
|
eqValueBy(IFunction<X,?> by,
short object)
Determines whether the result of executing the specified function on the target object and the specified object parameter are equal in value, this is, whether functionResult.compareTo(object) == 0. |
|
static Function<Object,Boolean> |
greaterOrEqTo(byte object)
Determines whether the target object is greater or equal to the specified object in value, this is, whether target.compareTo(object) >= 0. |
|
static Function<Object,Boolean> |
greaterOrEqTo(double object)
Determines whether the target object is greater or equal to the specified object in value, this is, whether target.compareTo(object) >= 0. |
|
static Function<Object,Boolean> |
greaterOrEqTo(float object)
Determines whether the target object is greater or equal to the specified object in value, this is, whether target.compareTo(object) >= 0. |
|
static Function<Object,Boolean> |
greaterOrEqTo(int object)
Determines whether the target object is greater or equal to the specified object in value, this is, whether target.compareTo(object) >= 0. |
|
static Function<Object,Boolean> |
greaterOrEqTo(long object)
Determines whether the target object is greater or equal to the specified object in value, this is, whether target.compareTo(object) >= 0. |
|
static Function<Object,Boolean> |
greaterOrEqTo(Object object)
Determines whether the target object is greater or equal to the specified object in value, this is, whether target.compareTo(object) >= 0. |
|
static Function<Object,Boolean> |
greaterOrEqTo(short object)
Determines whether the target object is greater or equal to the specified object in value, this is, whether target.compareTo(object) >= 0. |
|
static
|
greaterOrEqToBy(IFunction<X,?> by,
byte object)
Determines whether the result of executing the specified function on the target object is greater or equal to the specified object parameter in value, this is, whether functionResult.compareTo(object) >= 0. |
|
static
|
greaterOrEqToBy(IFunction<X,?> by,
double object)
Determines whether the result of executing the specified function on the target object is greater or equal to the specified object parameter in value, this is, whether functionResult.compareTo(object) >= 0. |
|
static
|
greaterOrEqToBy(IFunction<X,?> by,
float object)
Determines whether the result of executing the specified function on the target object is greater or equal to the specified object parameter in value, this is, whether functionResult.compareTo(object) >= 0. |
|
static
|
greaterOrEqToBy(IFunction<X,?> by,
int object)
Determines whether the result of executing the specified function on the target object is greater or equal to the specified object parameter in value, this is, whether functionResult.compareTo(object) >= 0. |
|
static
|
greaterOrEqToBy(IFunction<X,?> by,
long object)
Determines whether the result of executing the specified function on the target object is greater or equal to the specified object parameter in value, this is, whether functionResult.compareTo(object) >= 0. |
|
static
|
greaterOrEqToBy(IFunction<X,?> by,
Object object)
Determines whether the result of executing the specified function on the target object is greater or equal to the specified object parameter in value, this is, whether functionResult.compareTo(object) >= 0. |
|
static
|
greaterOrEqToBy(IFunction<X,?> by,
short object)
Determines whether the result of executing the specified function on the target object is greater or equal to the specified object parameter in value, this is, whether functionResult.compareTo(object) >= 0. |
|
static Function<Object,Boolean> |
greaterThan(byte object)
Determines whether the target object is greater than the specified object in value, this is, whether target.compareTo(object) > 0. |
|
static Function<Object,Boolean> |
greaterThan(double object)
Determines whether the target object is greater than the specified object in value, this is, whether target.compareTo(object) > 0. |
|
static Function<Object,Boolean> |
greaterThan(float object)
Determines whether the target object is greater than the specified object in value, this is, whether target.compareTo(object) > 0. |
|
static Function<Object,Boolean> |
greaterThan(int object)
Determines whether the target object is greater than the specified object in value, this is, whether target.compareTo(object) > 0. |
|
static Function<Object,Boolean> |
greaterThan(long object)
Determines whether the target object is greater than the specified object in value, this is, whether target.compareTo(object) > 0. |
|
static Function<Object,Boolean> |
greaterThan(Object object)
Determines whether the target object is greater than the specified object in value, this is, whether target.compareTo(object) > 0. |
|
static Function<Object,Boolean> |
greaterThan(short object)
Determines whether the target object is greater than the specified object in value, this is, whether target.compareTo(object) > 0. |
|
static
|
greaterThanBy(IFunction<X,?> by,
byte object)
Determines whether the result of executing the specified function on the target object is greater than the specified object parameter in value, this is, whether functionResult.compareTo(object) > 0. |
|
static
|
greaterThanBy(IFunction<X,?> by,
double object)
Determines whether the result of executing the specified function on the target object is greater than the specified object parameter in value, this is, whether functionResult.compareTo(object) > 0. |
|
static
|
greaterThanBy(IFunction<X,?> by,
float object)
Determines whether the result of executing the specified function on the target object is greater than the specified object parameter in value, this is, whether functionResult.compareTo(object) > 0. |
|
static
|
greaterThanBy(IFunction<X,?> by,
int object)
Determines whether the result of executing the specified function on the target object is greater than the specified object parameter in value, this is, whether functionResult.compareTo(object) > 0. |
|
static
|
greaterThanBy(IFunction<X,?> by,
long object)
Determines whether the result of executing the specified function on the target object is greater than the specified object parameter in value, this is, whether functionResult.compareTo(object) > 0. |
|
static
|
greaterThanBy(IFunction<X,?> by,
Object object)
Determines whether the result of executing the specified function on the target object is greater than the specified object parameter in value, this is, whether functionResult.compareTo(object) > 0. |
|
static
|
greaterThanBy(IFunction<X,?> by,
short object)
Determines whether the result of executing the specified function on the target object is greater than the specified object parameter in value, this is, whether functionResult.compareTo(object) > 0. |
|
static
|
intoSingletonArrayOf(org.javaruntype.type.Type<T> type)
Creates an array of the specified type with only the target object in it. |
|
static
|
intoSingletonListOf(org.javaruntype.type.Type<T> type)
Creates a list of the specified type with only the target object in it. |
|
static
|
intoSingletonSetOf(org.javaruntype.type.Type<T> type)
Creates a set of the specified type with only the target object in it. |
|
static Function<Object,Boolean> |
isNotNull()
Determines whether the target object is null or not. |
|
static
|
isNotNullBy(IFunction<X,?> by)
Determines whether the result of executing the specified function on the target object is null or not. |
|
static Function<Object,Boolean> |
isNull()
Determines whether the target object is null or not. |
|
static
|
isNullBy(IFunction<X,?> by)
Determines whether the result of executing the specified function on the target object is null or not. |
|
static Function<Object,Boolean> |
lessOrEqTo(byte object)
Determines whether the target object is less or equal to the specified object in value, this is, whether target.compareTo(object) <= 0. |
|
static Function<Object,Boolean> |
lessOrEqTo(double object)
Determines whether the target object is less or equal to the specified object in value, this is, whether target.compareTo(object) <= 0. |
|
static Function<Object,Boolean> |
lessOrEqTo(float object)
Determines whether the target object is less or equal to the specified object in value, this is, whether target.compareTo(object) <= 0. |
|
static Function<Object,Boolean> |
lessOrEqTo(int object)
Determines whether the target object is less or equal to the specified object in value, this is, whether target.compareTo(object) <= 0. |
|
static Function<Object,Boolean> |
lessOrEqTo(long object)
Determines whether the target object is less or equal to the specified object in value, this is, whether target.compareTo(object) <= 0. |
|
static Function<Object,Boolean> |
lessOrEqTo(Object object)
Determines whether the target object is less or equal to the specified object in value, this is, whether target.compareTo(object) <= 0. |
|
static Function<Object,Boolean> |
lessOrEqTo(short object)
Determines whether the target object is less or equal to the specified object in value, this is, whether target.compareTo(object) <= 0. |
|
static
|
lessOrEqToBy(IFunction<X,?> by,
byte object)
Determines whether the result of executing the specified function on the target object is less or equal to the specified object parameter in value, this is, whether functionResult.compareTo(object) <= 0. |
|
static
|
lessOrEqToBy(IFunction<X,?> by,
double object)
Determines whether the result of executing the specified function on the target object is less or equal to the specified object parameter in value, this is, whether functionResult.compareTo(object) <= 0. |
|
static
|
lessOrEqToBy(IFunction<X,?> by,
float object)
Determines whether the result of executing the specified function on the target object is less or equal to the specified object parameter in value, this is, whether functionResult.compareTo(object) <= 0. |
|
static
|
lessOrEqToBy(IFunction<X,?> by,
int object)
Determines whether the result of executing the specified function on the target object is less or equal to the specified object parameter in value, this is, whether functionResult.compareTo(object) <= 0. |
|
static
|
lessOrEqToBy(IFunction<X,?> by,
long object)
Determines whether the result of executing the specified function on the target object is less or equal to the specified object parameter in value, this is, whether functionResult.compareTo(object) <= 0. |
|
static
|
lessOrEqToBy(IFunction<X,?> by,
Object object)
Determines whether the result of executing the specified function on the target object is less or equal to the specified object parameter in value, this is, whether functionResult.compareTo(object) <= 0. |
|
static
|
lessOrEqToBy(IFunction<X,?> by,
short object)
Determines whether the result of executing the specified function on the target object is less or equal to the specified object parameter in value, this is, whether functionResult.compareTo(object) <= 0. |
|
static Function<Object,Boolean> |
lessThan(byte object)
Determines whether the target object is less than the specified object in value, this is, whether target.compareTo(object) < 0. |
|
static Function<Object,Boolean> |
lessThan(double object)
Determines whether the target object is less than the specified object in value, this is, whether target.compareTo(object) < 0. |
|
static Function<Object,Boolean> |
lessThan(float object)
Determines whether the target object is less than the specified object in value, this is, whether target.compareTo(object) < 0. |
|
static Function<Object,Boolean> |
lessThan(int object)
Determines whether the target object is less than the specified object in value, this is, whether target.compareTo(object) < 0. |
|
static Function<Object,Boolean> |
lessThan(long object)
Determines whether the target object is less than the specified object in value, this is, whether target.compareTo(object) < 0. |
|
static Function<Object,Boolean> |
lessThan(Object object)
Determines whether the target object is less than the specified object in value, this is, whether target.compareTo(object) < 0. |
|
static Function<Object,Boolean> |
lessThan(short object)
Determines whether the target object is less than the specified object in value, this is, whether target.compareTo(object) < 0. |
|
static
|
lessThanBy(IFunction<X,?> by,
byte object)
Determines whether the result of executing the specified function on the target object is less than the specified object parameter in value, this is, whether functionResult.compareTo(object) < 0. |
|
static
|
lessThanBy(IFunction<X,?> by,
double object)
Determines whether the result of executing the specified function on the target object is less than the specified object parameter in value, this is, whether functionResult.compareTo(object) < 0. |
|
static
|
lessThanBy(IFunction<X,?> by,
float object)
Determines whether the result of executing the specified function on the target object is less than the specified object parameter in value, this is, whether functionResult.compareTo(object) < 0. |
|
static
|
lessThanBy(IFunction<X,?> by,
int object)
Determines whether the result of executing the specified function on the target object is less than the specified object parameter in value, this is, whether functionResult.compareTo(object) < 0. |
|
static
|
lessThanBy(IFunction<X,?> by,
long object)
Determines whether the result of executing the specified function on the target object is less than the specified object parameter in value, this is, whether functionResult.compareTo(object) < 0. |
|
static
|
lessThanBy(IFunction<X,?> by,
Object object)
Determines whether the result of executing the specified function on the target object is less than the specified object parameter in value, this is, whether functionResult.compareTo(object) < 0. |
|
static
|
lessThanBy(IFunction<X,?> by,
short object)
Determines whether the result of executing the specified function on the target object is less than the specified object parameter in value, this is, whether functionResult.compareTo(object) < 0. |
|
static Function<Object,Boolean> |
notEq(boolean object)
Determines whether the target object and the specified object are NOT equal by calling the equals method on the target object. |
|
static Function<Object,Boolean> |
notEq(byte object)
Determines whether the target object and the specified object are NOT equal by calling the equals method on the target object. |
|
static Function<Object,Boolean> |
notEq(double object)
Determines whether the target object and the specified object are NOT equal by calling the equals method on the target object. |
|
static Function<Object,Boolean> |
notEq(float object)
Determines whether the target object and the specified object are NOT equal by calling the equals method on the target object. |
|
static Function<Object,Boolean> |
notEq(int object)
Determines whether the target object and the specified object are NOT equal by calling the equals method on the target object. |
|
static Function<Object,Boolean> |
notEq(long object)
Determines whether the target object and the specified object are NOT equal by calling the equals method on the target object. |
|
static Function<Object,Boolean> |
notEq(Object object)
Determines whether the target object and the specified object are NOT equal by calling the equals method on the target object. |
|
static Function<Object,Boolean> |
notEq(short object)
Determines whether the target object and the specified object are NOT equal by calling the equals method on the target object. |
|
static
|
notEqBy(IFunction<X,?> by,
boolean object)
Determines whether the result of executing the specified function on the target object and the specified object parameter are NOT equal by calling the equals method. |
|
static
|
notEqBy(IFunction<X,?> by,
byte object)
Determines whether the result of executing the specified function on the target object and the specified object parameter are NOT equal by calling the equals method. |
|
static
|
notEqBy(IFunction<X,?> by,
double object)
Determines whether the result of executing the specified function on the target object and the specified object parameter are NOT equal by calling the equals method. |
|
static
|
notEqBy(IFunction<X,?> by,
float object)
Determines whether the result of executing the specified function on the target object and the specified object parameter are NOT equal by calling the equals method. |
|
static
|
notEqBy(IFunction<X,?> by,
int object)
Determines whether the result of executing the specified function on the target object and the specified object parameter are NOT equal by calling the equals method. |
|
static
|
notEqBy(IFunction<X,?> by,
long object)
Determines whether the result of executing the specified function on the target object and the specified object parameter are NOT equal by calling the equals method. |
|
static
|
notEqBy(IFunction<X,?> by,
Object object)
Determines whether the result of executing the specified function on the target object and the specified object parameter are NOT equal by calling the equals method. |
|
static
|
notEqBy(IFunction<X,?> by,
short object)
Determines whether the result of executing the specified function on the target object and the specified object parameter are NOT equal by calling the equals method. |
|
static Function<Object,Boolean> |
notEqValue(boolean object)
Determines whether the target object and the specified object are NOT equal in value, this is, whether target.compareTo(object) ! |
|
static Function<Object,Boolean> |
notEqValue(byte object)
Determines whether the target object and the specified object are NOT equal in value, this is, whether target.compareTo(object) ! |
|
static Function<Object,Boolean> |
notEqValue(double object)
Determines whether the target object and the specified object are NOT equal in value, this is, whether target.compareTo(object) ! |
|
static Function<Object,Boolean> |
notEqValue(float object)
Determines whether the target object and the specified object are NOT equal in value, this is, whether target.compareTo(object) ! |
|
static Function<Object,Boolean> |
notEqValue(int object)
Determines whether the target object and the specified object are NOT equal in value, this is, whether target.compareTo(object) ! |
|
static Function<Object,Boolean> |
notEqValue(long object)
Determines whether the target object and the specified object are NOT equal in value, this is, whether target.compareTo(object) ! |
|
static Function<Object,Boolean> |
notEqValue(Object object)
Determines whether the target object and the specified object are NOT equal in value, this is, whether target.compareTo(object) ! |
|
static Function<Object,Boolean> |
notEqValue(short object)
Determines whether the target object and the specified object are NOT equal in value, this is, whether target.compareTo(object) ! |
|
static
|
notEqValueBy(IFunction<X,?> by,
boolean object)
Determines whether the result of executing the specified function on the target object and the specified object parameter are NOT equal in value, this is, whether functionResult.compareTo(object) ! |
|
static
|
notEqValueBy(IFunction<X,?> by,
byte object)
Determines whether the result of executing the specified function on the target object and the specified object parameter are NOT equal in value, this is, whether functionResult.compareTo(object) ! |
|
static
|
notEqValueBy(IFunction<X,?> by,
double object)
Determines whether the result of executing the specified function on the target object and the specified object parameter are NOT equal in value, this is, whether functionResult.compareTo(object) ! |
|
static
|
notEqValueBy(IFunction<X,?> by,
float object)
Determines whether the result of executing the specified function on the target object and the specified object parameter are NOT equal in value, this is, whether functionResult.compareTo(object) ! |
|
static
|
notEqValueBy(IFunction<X,?> by,
int object)
Determines whether the result of executing the specified function on the target object and the specified object parameter are NOT equal in value, this is, whether functionResult.compareTo(object) ! |
|
static
|
notEqValueBy(IFunction<X,?> by,
long object)
Determines whether the result of executing the specified function on the target object and the specified object parameter are NOT equal in value, this is, whether functionResult.compareTo(object) ! |
|
static
|
notEqValueBy(IFunction<X,?> by,
Object object)
Determines whether the result of executing the specified function on the target object and the specified object parameter are NOT equal in value, this is, whether functionResult.compareTo(object) ! |
|
static
|
notEqValueBy(IFunction<X,?> by,
short object)
Determines whether the result of executing the specified function on the target object and the specified object parameter are NOT equal in value, this is, whether functionResult.compareTo(object) ! |
|
protected static Comparable |
prepareComparable(Comparable comp)
|
|
static
|
replaceWith(T object)
Replaces the target object with the object specified as a parameter. |
|
static Function<Object,String> |
toStr()
Converts the target object to String using the default toString() method. |
|
static Function<Object,String> |
toStrNullSafe()
Converts the target object to String using the default toString() method, returning null if target is null. |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static final Function<Object,String> toStr()
Converts the target object to String using the default toString() method.
public static final Function<Object,String> toStrNullSafe()
Converts the target object to String using the default toString() method, returning null if target is null.
public static final <T> Function<T,T[]> intoSingletonArrayOf(org.javaruntype.type.Type<T> type)
Creates an array of the specified type with only the target object in it.
T
- the type of the array elementstype
- the type of the array
public static final <T> Function<T,List<T>> intoSingletonListOf(org.javaruntype.type.Type<T> type)
Creates a list of the specified type with only the target object in it.
T
- the type of the list elementstype
- the type of the list
public static final <T> Function<T,Set<T>> intoSingletonSetOf(org.javaruntype.type.Type<T> type)
Creates a set of the specified type with only the target object in it.
T
- the type of the set elementstype
- the type of the set
public static final Function<Object,Boolean> eq(Object object)
Determines whether the target object and the specified object are equal by calling the equals method on the target object.
object
- the object to compare to the target
public static final Function<Object,Boolean> eq(float object)
Determines whether the target object and the specified object are equal by calling the equals method on the target object.
object
- the object to compare to the target
public static final Function<Object,Boolean> eq(double object)
Determines whether the target object and the specified object are equal by calling the equals method on the target object.
object
- the object to compare to the target
public static final Function<Object,Boolean> eq(byte object)
Determines whether the target object and the specified object are equal by calling the equals method on the target object.
object
- the object to compare to the target
public static final Function<Object,Boolean> eq(short object)
Determines whether the target object and the specified object are equal by calling the equals method on the target object.
object
- the object to compare to the target
public static final Function<Object,Boolean> eq(int object)
Determines whether the target object and the specified object are equal by calling the equals method on the target object.
object
- the object to compare to the target
public static final Function<Object,Boolean> eq(long object)
Determines whether the target object and the specified object are equal by calling the equals method on the target object.
object
- the object to compare to the target
public static final Function<Object,Boolean> eq(boolean object)
Determines whether the target object and the specified object are equal by calling the equals method on the target object.
object
- the object to compare to the target
public static final Function<Object,Boolean> eqValue(Object object)
Determines whether the target object and the specified object are equal
in value, this is, whether target.compareTo(object) == 0. Both
the target and the specified object have to implement Comparable
.
object
- the object to compare to the target
public static final Function<Object,Boolean> eqValue(float object)
Determines whether the target object and the specified object are equal
in value, this is, whether target.compareTo(object) == 0. Both
the target and the specified object have to implement Comparable
.
object
- the object to compare to the target
public static final Function<Object,Boolean> eqValue(double object)
Determines whether the target object and the specified object are equal
in value, this is, whether target.compareTo(object) == 0. Both
the target and the specified object have to implement Comparable
.
object
- the object to compare to the target
public static final Function<Object,Boolean> eqValue(byte object)
Determines whether the target object and the specified object are equal
in value, this is, whether target.compareTo(object) == 0. Both
the target and the specified object have to implement Comparable
.
object
- the object to compare to the target
public static final Function<Object,Boolean> eqValue(short object)
Determines whether the target object and the specified object are equal
in value, this is, whether target.compareTo(object) == 0. Both
the target and the specified object have to implement Comparable
.
object
- the object to compare to the target
public static final Function<Object,Boolean> eqValue(int object)
Determines whether the target object and the specified object are equal
in value, this is, whether target.compareTo(object) == 0. Both
the target and the specified object have to implement Comparable
.
object
- the object to compare to the target
public static final Function<Object,Boolean> eqValue(long object)
Determines whether the target object and the specified object are equal
in value, this is, whether target.compareTo(object) == 0. Both
the target and the specified object have to implement Comparable
.
object
- the object to compare to the target
public static final Function<Object,Boolean> eqValue(boolean object)
Determines whether the target object and the specified object are equal
in value, this is, whether target.compareTo(object) == 0. Both
the target and the specified object have to implement Comparable
.
object
- the object to compare to the target
public static final Function<Object,Boolean> notEq(Object object)
Determines whether the target object and the specified object are NOT equal by calling the equals method on the target object.
object
- the object to compare to the target
public static final Function<Object,Boolean> notEq(float object)
Determines whether the target object and the specified object are NOT equal by calling the equals method on the target object.
object
- the object to compare to the target
public static final Function<Object,Boolean> notEq(double object)
Determines whether the target object and the specified object are NOT equal by calling the equals method on the target object.
object
- the object to compare to the target
public static final Function<Object,Boolean> notEq(byte object)
Determines whether the target object and the specified object are NOT equal by calling the equals method on the target object.
object
- the object to compare to the target
public static final Function<Object,Boolean> notEq(short object)
Determines whether the target object and the specified object are NOT equal by calling the equals method on the target object.
object
- the object to compare to the target
public static final Function<Object,Boolean> notEq(int object)
Determines whether the target object and the specified object are NOT equal by calling the equals method on the target object.
object
- the object to compare to the target
public static final Function<Object,Boolean> notEq(long object)
Determines whether the target object and the specified object are NOT equal by calling the equals method on the target object.
object
- the object to compare to the target
public static final Function<Object,Boolean> notEq(boolean object)
Determines whether the target object and the specified object are NOT equal by calling the equals method on the target object.
object
- the object to compare to the target
public static final Function<Object,Boolean> notEqValue(Object object)
Determines whether the target object and the specified object are NOT equal
in value, this is, whether target.compareTo(object) != 0. Both
the target and the specified object have to implement Comparable
.
object
- the object to compare to the target
public static final Function<Object,Boolean> notEqValue(float object)
Determines whether the target object and the specified object are NOT equal
in value, this is, whether target.compareTo(object) != 0. Both
the target and the specified object have to implement Comparable
.
object
- the object to compare to the target
public static final Function<Object,Boolean> notEqValue(double object)
Determines whether the target object and the specified object are NOT equal
in value, this is, whether target.compareTo(object) != 0. Both
the target and the specified object have to implement Comparable
.
object
- the object to compare to the target
public static final Function<Object,Boolean> notEqValue(byte object)
Determines whether the target object and the specified object are NOT equal
in value, this is, whether target.compareTo(object) != 0. Both
the target and the specified object have to implement Comparable
.
object
- the object to compare to the target
public static final Function<Object,Boolean> notEqValue(short object)
Determines whether the target object and the specified object are NOT equal
in value, this is, whether target.compareTo(object) != 0. Both
the target and the specified object have to implement Comparable
.
object
- the object to compare to the target
public static final Function<Object,Boolean> notEqValue(int object)
Determines whether the target object and the specified object are NOT equal
in value, this is, whether target.compareTo(object) != 0. Both
the target and the specified object have to implement Comparable
.
object
- the object to compare to the target
public static final Function<Object,Boolean> notEqValue(long object)
Determines whether the target object and the specified object are NOT equal
in value, this is, whether target.compareTo(object) != 0. Both
the target and the specified object have to implement Comparable
.
object
- the object to compare to the target
public static final Function<Object,Boolean> notEqValue(boolean object)
Determines whether the target object and the specified object are NOT equal
in value, this is, whether target.compareTo(object) != 0. Both
the target and the specified object have to implement Comparable
.
object
- the object to compare to the target
public static final Function<Object,Boolean> lessThan(Object object)
Determines whether the target object is less than the specified object
in value, this is, whether target.compareTo(object) < 0. Both
the target and the specified object have to implement Comparable
.
object
- the object to compare to the target
public static final Function<Object,Boolean> lessThan(float object)
Determines whether the target object is less than the specified object
in value, this is, whether target.compareTo(object) < 0. Both
the target and the specified object have to implement Comparable
.
object
- the object to compare to the target
public static final Function<Object,Boolean> lessThan(double object)
Determines whether the target object is less than the specified object
in value, this is, whether target.compareTo(object) < 0. Both
the target and the specified object have to implement Comparable
.
object
- the object to compare to the target
public static final Function<Object,Boolean> lessThan(byte object)
Determines whether the target object is less than the specified object
in value, this is, whether target.compareTo(object) < 0. Both
the target and the specified object have to implement Comparable
.
object
- the object to compare to the target
public static final Function<Object,Boolean> lessThan(short object)
Determines whether the target object is less than the specified object
in value, this is, whether target.compareTo(object) < 0. Both
the target and the specified object have to implement Comparable
.
object
- the object to compare to the target
public static final Function<Object,Boolean> lessThan(int object)
Determines whether the target object is less than the specified object
in value, this is, whether target.compareTo(object) < 0. Both
the target and the specified object have to implement Comparable
.
object
- the object to compare to the target
public static final Function<Object,Boolean> lessThan(long object)
Determines whether the target object is less than the specified object
in value, this is, whether target.compareTo(object) < 0. Both
the target and the specified object have to implement Comparable
.
object
- the object to compare to the target
public static final Function<Object,Boolean> lessOrEqTo(Object object)
Determines whether the target object is less or equal to the specified object
in value, this is, whether target.compareTo(object) <= 0. Both
the target and the specified object have to implement Comparable
.
object
- the object to compare to the target
public static final Function<Object,Boolean> lessOrEqTo(float object)
Determines whether the target object is less or equal to the specified object
in value, this is, whether target.compareTo(object) <= 0. Both
the target and the specified object have to implement Comparable
.
object
- the object to compare to the target
public static final Function<Object,Boolean> lessOrEqTo(double object)
Determines whether the target object is less or equal to the specified object
in value, this is, whether target.compareTo(object) <= 0. Both
the target and the specified object have to implement Comparable
.
object
- the object to compare to the target
public static final Function<Object,Boolean> lessOrEqTo(byte object)
Determines whether the target object is less or equal to the specified object
in value, this is, whether target.compareTo(object) <= 0. Both
the target and the specified object have to implement Comparable
.
object
- the object to compare to the target
public static final Function<Object,Boolean> lessOrEqTo(short object)
Determines whether the target object is less or equal to the specified object
in value, this is, whether target.compareTo(object) <= 0. Both
the target and the specified object have to implement Comparable
.
object
- the object to compare to the target
public static final Function<Object,Boolean> lessOrEqTo(int object)
Determines whether the target object is less or equal to the specified object
in value, this is, whether target.compareTo(object) <= 0. Both
the target and the specified object have to implement Comparable
.
object
- the object to compare to the target
public static final Function<Object,Boolean> lessOrEqTo(long object)
Determines whether the target object is less or equal to the specified object
in value, this is, whether target.compareTo(object) <= 0. Both
the target and the specified object have to implement Comparable
.
object
- the object to compare to the target
public static final Function<Object,Boolean> greaterThan(Object object)
Determines whether the target object is greater than the specified object
in value, this is, whether target.compareTo(object) > 0. Both
the target and the specified object have to implement Comparable
.
object
- the object to compare to the target
public static final Function<Object,Boolean> greaterThan(float object)
Determines whether the target object is greater than the specified object
in value, this is, whether target.compareTo(object) > 0. Both
the target and the specified object have to implement Comparable
.
object
- the object to compare to the target
public static final Function<Object,Boolean> greaterThan(double object)
Determines whether the target object is greater than the specified object
in value, this is, whether target.compareTo(object) > 0. Both
the target and the specified object have to implement Comparable
.
object
- the object to compare to the target
public static final Function<Object,Boolean> greaterThan(byte object)
Determines whether the target object is greater than the specified object
in value, this is, whether target.compareTo(object) > 0. Both
the target and the specified object have to implement Comparable
.
object
- the object to compare to the target
public static final Function<Object,Boolean> greaterThan(short object)
Determines whether the target object is greater than the specified object
in value, this is, whether target.compareTo(object) > 0. Both
the target and the specified object have to implement Comparable
.
object
- the object to compare to the target
public static final Function<Object,Boolean> greaterThan(int object)
Determines whether the target object is greater than the specified object
in value, this is, whether target.compareTo(object) > 0. Both
the target and the specified object have to implement Comparable
.
object
- the object to compare to the target
public static final Function<Object,Boolean> greaterThan(long object)
Determines whether the target object is greater than the specified object
in value, this is, whether target.compareTo(object) > 0. Both
the target and the specified object have to implement Comparable
.
object
- the object to compare to the target
public static final Function<Object,Boolean> greaterOrEqTo(Object object)
Determines whether the target object is greater or equal to the specified object
in value, this is, whether target.compareTo(object) >= 0. Both
the target and the specified object have to implement Comparable
.
object
- the object to compare to the target
public static final Function<Object,Boolean> greaterOrEqTo(float object)
Determines whether the target object is greater or equal to the specified object
in value, this is, whether target.compareTo(object) >= 0. Both
the target and the specified object have to implement Comparable
.
object
- the object to compare to the target
public static final Function<Object,Boolean> greaterOrEqTo(double object)
Determines whether the target object is greater or equal to the specified object
in value, this is, whether target.compareTo(object) >= 0. Both
the target and the specified object have to implement Comparable
.
object
- the object to compare to the target
public static final Function<Object,Boolean> greaterOrEqTo(byte object)
Determines whether the target object is greater or equal to the specified object
in value, this is, whether target.compareTo(object) >= 0. Both
the target and the specified object have to implement Comparable
.
object
- the object to compare to the target
public static final Function<Object,Boolean> greaterOrEqTo(short object)
Determines whether the target object is greater or equal to the specified object
in value, this is, whether target.compareTo(object) >= 0. Both
the target and the specified object have to implement Comparable
.
object
- the object to compare to the target
public static final Function<Object,Boolean> greaterOrEqTo(int object)
Determines whether the target object is greater or equal to the specified object
in value, this is, whether target.compareTo(object) >= 0. Both
the target and the specified object have to implement Comparable
.
object
- the object to compare to the target
public static final Function<Object,Boolean> greaterOrEqTo(long object)
Determines whether the target object is greater or equal to the specified object
in value, this is, whether target.compareTo(object) >= 0. Both
the target and the specified object have to implement Comparable
.
object
- the object to compare to the target
public static final <X> Function<X,Boolean> eqBy(IFunction<X,?> by, Object object)
Determines whether the result of executing the specified function on the target object and the specified object parameter are equal by calling the equals method.
object
- the object to compare to the target
public static final <X> Function<X,Boolean> eqBy(IFunction<X,?> by, float object)
Determines whether the result of executing the specified function on the target object and the specified object parameter are equal by calling the equals method.
object
- the object to compare to the target
public static final <X> Function<X,Boolean> eqBy(IFunction<X,?> by, double object)
Determines whether the result of executing the specified function on the target object and the specified object parameter are equal by calling the equals method.
object
- the object to compare to the target
public static final <X> Function<X,Boolean> eqBy(IFunction<X,?> by, byte object)
Determines whether the result of executing the specified function on the target object and the specified object parameter are equal by calling the equals method.
object
- the object to compare to the target
public static final <X> Function<X,Boolean> eqBy(IFunction<X,?> by, short object)
Determines whether the result of executing the specified function on the target object and the specified object parameter are equal by calling the equals method.
object
- the object to compare to the target
public static final <X> Function<X,Boolean> eqBy(IFunction<X,?> by, int object)
Determines whether the result of executing the specified function on the target object and the specified object parameter are equal by calling the equals method.
object
- the object to compare to the target
public static final <X> Function<X,Boolean> eqBy(IFunction<X,?> by, long object)
Determines whether the result of executing the specified function on the target object and the specified object parameter are equal by calling the equals method.
object
- the object to compare to the target
public static final <X> Function<X,Boolean> eqBy(IFunction<X,?> by, boolean object)
Determines whether the result of executing the specified function on the target object and the specified object parameter are equal by calling the equals method.
object
- the object to compare to the target
public static final <X> Function<X,Boolean> eqValueBy(IFunction<X,?> by, Object object)
Determines whether the result of executing the specified function
on the target object and the specified object parameter are equal
in value, this is, whether functionResult.compareTo(object) == 0.
Both the function result and the specified object have to implement
Comparable
.
object
- the object to compare to the target
public static final <X> Function<X,Boolean> eqValueBy(IFunction<X,?> by, float object)
Determines whether the result of executing the specified function
on the target object and the specified object parameter are equal
in value, this is, whether functionResult.compareTo(object) == 0.
Both the function result and the specified object have to implement
Comparable
.
object
- the object to compare to the target
public static final <X> Function<X,Boolean> eqValueBy(IFunction<X,?> by, double object)
Determines whether the result of executing the specified function
on the target object and the specified object parameter are equal
in value, this is, whether functionResult.compareTo(object) == 0.
Both the function result and the specified object have to implement
Comparable
.
object
- the object to compare to the target
public static final <X> Function<X,Boolean> eqValueBy(IFunction<X,?> by, byte object)
Determines whether the result of executing the specified function
on the target object and the specified object parameter are equal
in value, this is, whether functionResult.compareTo(object) == 0.
Both the function result and the specified object have to implement
Comparable
.
object
- the object to compare to the target
public static final <X> Function<X,Boolean> eqValueBy(IFunction<X,?> by, short object)
Determines whether the result of executing the specified function
on the target object and the specified object parameter are equal
in value, this is, whether functionResult.compareTo(object) == 0.
Both the function result and the specified object have to implement
Comparable
.
object
- the object to compare to the target
public static final <X> Function<X,Boolean> eqValueBy(IFunction<X,?> by, int object)
Determines whether the result of executing the specified function
on the target object and the specified object parameter are equal
in value, this is, whether functionResult.compareTo(object) == 0.
Both the function result and the specified object have to implement
Comparable
.
object
- the object to compare to the target
public static final <X> Function<X,Boolean> eqValueBy(IFunction<X,?> by, long object)
Determines whether the result of executing the specified function
on the target object and the specified object parameter are equal
in value, this is, whether functionResult.compareTo(object) == 0.
Both the function result and the specified object have to implement
Comparable
.
object
- the object to compare to the target
public static final <X> Function<X,Boolean> eqValueBy(IFunction<X,?> by, boolean object)
Determines whether the result of executing the specified function
on the target object and the specified object parameter are equal
in value, this is, whether functionResult.compareTo(object) == 0.
Both the function result and the specified object have to implement
Comparable
.
object
- the object to compare to the target
public static final <X> Function<X,Boolean> notEqBy(IFunction<X,?> by, Object object)
Determines whether the result of executing the specified function on the target object and the specified object parameter are NOT equal by calling the equals method.
object
- the object to compare to the target
public static final <X> Function<X,Boolean> notEqBy(IFunction<X,?> by, float object)
Determines whether the result of executing the specified function on the target object and the specified object parameter are NOT equal by calling the equals method.
object
- the object to compare to the target
public static final <X> Function<X,Boolean> notEqBy(IFunction<X,?> by, double object)
Determines whether the result of executing the specified function on the target object and the specified object parameter are NOT equal by calling the equals method.
object
- the object to compare to the target
public static final <X> Function<X,Boolean> notEqBy(IFunction<X,?> by, byte object)
Determines whether the result of executing the specified function on the target object and the specified object parameter are NOT equal by calling the equals method.
object
- the object to compare to the target
public static final <X> Function<X,Boolean> notEqBy(IFunction<X,?> by, short object)
Determines whether the result of executing the specified function on the target object and the specified object parameter are NOT equal by calling the equals method.
object
- the object to compare to the target
public static final <X> Function<X,Boolean> notEqBy(IFunction<X,?> by, int object)
Determines whether the result of executing the specified function on the target object and the specified object parameter are NOT equal by calling the equals method.
object
- the object to compare to the target
public static final <X> Function<X,Boolean> notEqBy(IFunction<X,?> by, long object)
Determines whether the result of executing the specified function on the target object and the specified object parameter are NOT equal by calling the equals method.
object
- the object to compare to the target
public static final <X> Function<X,Boolean> notEqBy(IFunction<X,?> by, boolean object)
Determines whether the result of executing the specified function on the target object and the specified object parameter are NOT equal by calling the equals method.
object
- the object to compare to the target
public static final <X> Function<X,Boolean> notEqValueBy(IFunction<X,?> by, Object object)
Determines whether the result of executing the specified function
on the target object and the specified object parameter are NOT equal
in value, this is, whether functionResult.compareTo(object) != 0.
Both the function result and the specified object have to implement
Comparable
.
object
- the object to compare to the target
public static final <X> Function<X,Boolean> notEqValueBy(IFunction<X,?> by, float object)
Determines whether the result of executing the specified function
on the target object and the specified object parameter are NOT equal
in value, this is, whether functionResult.compareTo(object) != 0.
Both the function result and the specified object have to implement
Comparable
.
object
- the object to compare to the target
public static final <X> Function<X,Boolean> notEqValueBy(IFunction<X,?> by, double object)
Determines whether the result of executing the specified function
on the target object and the specified object parameter are NOT equal
in value, this is, whether functionResult.compareTo(object) != 0.
Both the function result and the specified object have to implement
Comparable
.
object
- the object to compare to the target
public static final <X> Function<X,Boolean> notEqValueBy(IFunction<X,?> by, byte object)
Determines whether the result of executing the specified function
on the target object and the specified object parameter are NOT equal
in value, this is, whether functionResult.compareTo(object) != 0.
Both the function result and the specified object have to implement
Comparable
.
object
- the object to compare to the target
public static final <X> Function<X,Boolean> notEqValueBy(IFunction<X,?> by, short object)
Determines whether the result of executing the specified function
on the target object and the specified object parameter are NOT equal
in value, this is, whether functionResult.compareTo(object) != 0.
Both the function result and the specified object have to implement
Comparable
.
object
- the object to compare to the target
public static final <X> Function<X,Boolean> notEqValueBy(IFunction<X,?> by, int object)
Determines whether the result of executing the specified function
on the target object and the specified object parameter are NOT equal
in value, this is, whether functionResult.compareTo(object) != 0.
Both the function result and the specified object have to implement
Comparable
.
object
- the object to compare to the target
public static final <X> Function<X,Boolean> notEqValueBy(IFunction<X,?> by, long object)
Determines whether the result of executing the specified function
on the target object and the specified object parameter are NOT equal
in value, this is, whether functionResult.compareTo(object) != 0.
Both the function result and the specified object have to implement
Comparable
.
object
- the object to compare to the target
public static final <X> Function<X,Boolean> notEqValueBy(IFunction<X,?> by, boolean object)
Determines whether the result of executing the specified function
on the target object and the specified object parameter are NOT equal
in value, this is, whether functionResult.compareTo(object) != 0.
Both the function result and the specified object have to implement
Comparable
.
object
- the object to compare to the target
public static final <X> Function<X,Boolean> lessThanBy(IFunction<X,?> by, Object object)
Determines whether the result of executing the specified function
on the target object is less than the specified object parameter
in value, this is, whether functionResult.compareTo(object) < 0. Both
the target and the specified object have to implement Comparable
.
object
- the object to compare to the target
public static final <X> Function<X,Boolean> lessThanBy(IFunction<X,?> by, float object)
Determines whether the result of executing the specified function
on the target object is less than the specified object parameter
in value, this is, whether functionResult.compareTo(object) < 0. Both
the target and the specified object have to implement Comparable
.
object
- the object to compare to the target
public static final <X> Function<X,Boolean> lessThanBy(IFunction<X,?> by, double object)
Determines whether the result of executing the specified function
on the target object is less than the specified object parameter
in value, this is, whether functionResult.compareTo(object) < 0. Both
the target and the specified object have to implement Comparable
.
object
- the object to compare to the target
public static final <X> Function<X,Boolean> lessThanBy(IFunction<X,?> by, byte object)
Determines whether the result of executing the specified function
on the target object is less than the specified object parameter
in value, this is, whether functionResult.compareTo(object) < 0. Both
the target and the specified object have to implement Comparable
.
object
- the object to compare to the target
public static final <X> Function<X,Boolean> lessThanBy(IFunction<X,?> by, short object)
Determines whether the result of executing the specified function
on the target object is less than the specified object parameter
in value, this is, whether functionResult.compareTo(object) < 0. Both
the target and the specified object have to implement Comparable
.
object
- the object to compare to the target
public static final <X> Function<X,Boolean> lessThanBy(IFunction<X,?> by, int object)
Determines whether the result of executing the specified function
on the target object is less than the specified object parameter
in value, this is, whether functionResult.compareTo(object) < 0. Both
the target and the specified object have to implement Comparable
.
object
- the object to compare to the target
public static final <X> Function<X,Boolean> lessThanBy(IFunction<X,?> by, long object)
Determines whether the result of executing the specified function
on the target object is less than the specified object parameter
in value, this is, whether functionResult.compareTo(object) < 0. Both
the target and the specified object have to implement Comparable
.
object
- the object to compare to the target
public static final <X> Function<X,Boolean> lessOrEqToBy(IFunction<X,?> by, Object object)
Determines whether the result of executing the specified function
on the target object is less or equal to the specified object parameter
in value, this is, whether functionResult.compareTo(object) <= 0. Both
the target and the specified object have to implement Comparable
.
object
- the object to compare to the target
public static final <X> Function<X,Boolean> lessOrEqToBy(IFunction<X,?> by, float object)
Determines whether the result of executing the specified function
on the target object is less or equal to the specified object parameter
in value, this is, whether functionResult.compareTo(object) <= 0. Both
the target and the specified object have to implement Comparable
.
object
- the object to compare to the target
public static final <X> Function<X,Boolean> lessOrEqToBy(IFunction<X,?> by, double object)
Determines whether the result of executing the specified function
on the target object is less or equal to the specified object parameter
in value, this is, whether functionResult.compareTo(object) <= 0. Both
the target and the specified object have to implement Comparable
.
object
- the object to compare to the target
public static final <X> Function<X,Boolean> lessOrEqToBy(IFunction<X,?> by, byte object)
Determines whether the result of executing the specified function
on the target object is less or equal to the specified object parameter
in value, this is, whether functionResult.compareTo(object) <= 0. Both
the target and the specified object have to implement Comparable
.
object
- the object to compare to the target
public static final <X> Function<X,Boolean> lessOrEqToBy(IFunction<X,?> by, short object)
Determines whether the result of executing the specified function
on the target object is less or equal to the specified object parameter
in value, this is, whether functionResult.compareTo(object) <= 0. Both
the target and the specified object have to implement Comparable
.
object
- the object to compare to the target
public static final <X> Function<X,Boolean> lessOrEqToBy(IFunction<X,?> by, int object)
Determines whether the result of executing the specified function
on the target object is less or equal to the specified object parameter
in value, this is, whether functionResult.compareTo(object) <= 0. Both
the target and the specified object have to implement Comparable
.
object
- the object to compare to the target
public static final <X> Function<X,Boolean> lessOrEqToBy(IFunction<X,?> by, long object)
Determines whether the result of executing the specified function
on the target object is less or equal to the specified object parameter
in value, this is, whether functionResult.compareTo(object) <= 0. Both
the target and the specified object have to implement Comparable
.
object
- the object to compare to the target
public static final <X> Function<X,Boolean> greaterThanBy(IFunction<X,?> by, Object object)
Determines whether the result of executing the specified function
on the target object is greater than the specified object parameter
in value, this is, whether functionResult.compareTo(object) > 0. Both
the target and the specified object have to implement Comparable
.
object
- the object to compare to the target
public static final <X> Function<X,Boolean> greaterThanBy(IFunction<X,?> by, float object)
Determines whether the result of executing the specified function
on the target object is greater than the specified object parameter
in value, this is, whether functionResult.compareTo(object) > 0. Both
the target and the specified object have to implement Comparable
.
object
- the object to compare to the target
public static final <X> Function<X,Boolean> greaterThanBy(IFunction<X,?> by, double object)
Determines whether the result of executing the specified function
on the target object is greater than the specified object parameter
in value, this is, whether functionResult.compareTo(object) > 0. Both
the target and the specified object have to implement Comparable
.
object
- the object to compare to the target
public static final <X> Function<X,Boolean> greaterThanBy(IFunction<X,?> by, byte object)
Determines whether the result of executing the specified function
on the target object is greater than the specified object parameter
in value, this is, whether functionResult.compareTo(object) > 0. Both
the target and the specified object have to implement Comparable
.
object
- the object to compare to the target
public static final <X> Function<X,Boolean> greaterThanBy(IFunction<X,?> by, short object)
Determines whether the result of executing the specified function
on the target object is greater than the specified object parameter
in value, this is, whether functionResult.compareTo(object) > 0. Both
the target and the specified object have to implement Comparable
.
object
- the object to compare to the target
public static final <X> Function<X,Boolean> greaterThanBy(IFunction<X,?> by, int object)
Determines whether the result of executing the specified function
on the target object is greater than the specified object parameter
in value, this is, whether functionResult.compareTo(object) > 0. Both
the target and the specified object have to implement Comparable
.
object
- the object to compare to the target
public static final <X> Function<X,Boolean> greaterThanBy(IFunction<X,?> by, long object)
Determines whether the result of executing the specified function
on the target object is greater than the specified object parameter
in value, this is, whether functionResult.compareTo(object) > 0. Both
the target and the specified object have to implement Comparable
.
object
- the object to compare to the target
public static final <X> Function<X,Boolean> greaterOrEqToBy(IFunction<X,?> by, Object object)
Determines whether the result of executing the specified function
on the target object is greater or equal to the specified object parameter
in value, this is, whether functionResult.compareTo(object) >= 0. Both
the target and the specified object have to implement Comparable
.
object
- the object to compare to the target
public static final <X> Function<X,Boolean> greaterOrEqToBy(IFunction<X,?> by, float object)
Determines whether the result of executing the specified function
on the target object is greater or equal to the specified object parameter
in value, this is, whether functionResult.compareTo(object) >= 0. Both
the target and the specified object have to implement Comparable
.
object
- the object to compare to the target
public static final <X> Function<X,Boolean> greaterOrEqToBy(IFunction<X,?> by, double object)
Determines whether the result of executing the specified function
on the target object is greater or equal to the specified object parameter
in value, this is, whether functionResult.compareTo(object) >= 0. Both
the target and the specified object have to implement Comparable
.
object
- the object to compare to the target
public static final <X> Function<X,Boolean> greaterOrEqToBy(IFunction<X,?> by, byte object)
Determines whether the result of executing the specified function
on the target object is greater or equal to the specified object parameter
in value, this is, whether functionResult.compareTo(object) >= 0. Both
the target and the specified object have to implement Comparable
.
object
- the object to compare to the target
public static final <X> Function<X,Boolean> greaterOrEqToBy(IFunction<X,?> by, short object)
Determines whether the result of executing the specified function
on the target object is greater or equal to the specified object parameter
in value, this is, whether functionResult.compareTo(object) >= 0. Both
the target and the specified object have to implement Comparable
.
object
- the object to compare to the target
public static final <X> Function<X,Boolean> greaterOrEqToBy(IFunction<X,?> by, int object)
Determines whether the result of executing the specified function
on the target object is greater or equal to the specified object parameter
in value, this is, whether functionResult.compareTo(object) >= 0. Both
the target and the specified object have to implement Comparable
.
object
- the object to compare to the target
public static final <X> Function<X,Boolean> greaterOrEqToBy(IFunction<X,?> by, long object)
Determines whether the result of executing the specified function
on the target object is greater or equal to the specified object parameter
in value, this is, whether functionResult.compareTo(object) >= 0. Both
the target and the specified object have to implement Comparable
.
object
- the object to compare to the target
public static final Function<Object,Boolean> isNull()
Determines whether the target object is null or not.
public static final Function<Object,Boolean> isNotNull()
Determines whether the target object is null or not.
public static final <X> Function<X,Boolean> isNullBy(IFunction<X,?> by)
Determines whether the result of executing the specified function on the target object is null or not.
public static final <X> Function<X,Boolean> isNotNullBy(IFunction<X,?> by)
Determines whether the result of executing the specified function on the target object is null or not.
public static final <T> Function<Object,T> replaceWith(T object)
Replaces the target object with the object specified as a parameter.
object
- the replacement object
public static final Function<Object,Boolean> between(Object min, Object max)
Determines whether the target object is between min and max
in value, this is, whether
target.compareTo(min) >= 0 && target.compareTo(max) <= 0.
The target and the specified min and max have to implement Comparable
.
min
- the minimum value of the targetmax
- the maximum value of the target
public static final Function<Object,Boolean> between(float min, float max)
Determines whether the target object is between min and max
in value, this is, whether
target.compareTo(min) >= 0 && target.compareTo(max) <= 0.
The target and the specified min and max have to implement Comparable
.
min
- the minimum value of the targetmax
- the maximum value of the target
public static final Function<Object,Boolean> between(int min, int max)
Determines whether the target object is between min and max
in value, this is, whether
target.compareTo(min) >= 0 && target.compareTo(max) <= 0.
The target and the specified min and max have to implement Comparable
.
min
- the minimum value of the targetmax
- the maximum value of the target
public static final Function<Object,Boolean> between(byte min, byte max)
Determines whether the target object is between min and max
in value, this is, whether
target.compareTo(min) >= 0 && target.compareTo(max) <= 0.
The target and the specified min and max have to implement Comparable
.
min
- the minimum value of the targetmax
- the maximum value of the target
public static final Function<Object,Boolean> between(double min, double max)
Determines whether the target object is between min and max
in value, this is, whether
target.compareTo(min) >= 0 && target.compareTo(max) <= 0.
The target and the specified min and max have to implement Comparable
.
min
- the minimum value of the targetmax
- the maximum value of the target
public static final Function<Object,Boolean> between(long min, long max)
Determines whether the target object is between min and max
in value, this is, whether
target.compareTo(min) >= 0 && target.compareTo(max) <= 0.
The target and the specified min and max have to implement Comparable
.
min
- the minimum value of the targetmax
- the maximum value of the target
public static final Function<Object,Boolean> between(short min, short max)
Determines whether the target object is between min and max
in value, this is, whether
target.compareTo(min) >= 0 && target.compareTo(max) <= 0.
The target and the specified min and max have to implement Comparable
.
min
- the minimum value of the targetmax
- the maximum value of the target
protected static final Comparable prepareComparable(Comparable comp)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |