Package ch.nolix.core.misc.function
Klasse FunctionService
java.lang.Object
ch.nolix.core.misc.function.FunctionService
Of the
FunctionService an instance cannot be created.- Version:
- 2017-01-01
- Autor:
- Silvan Wyss
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic booleanstatic voidDoes nothing.static booleangetFalse()static intgetHashCode(Object object) static ObjectgetNull()static doublegetOne()static <O> OgetSelf(O object) static StringgetStringRepresentationOf(Object object) static booleangetTrue()static Class<?> static doublegetZero()static voidtakeObjectAndDoNothing(Object object) Does nothing.static void
-
Methodendetails
-
areEqual
- Parameter:
object1-object2-- Gibt zurück:
- true if the given object1 and the given object2 are equal.
-
doNothing
public static void doNothing()Does nothing. -
getFalse
public static boolean getFalse()- Gibt zurück:
- false.
-
getHashCode
- Parameter:
object-- Gibt zurück:
- the hash code of the given object.
-
getNull
- Gibt zurück:
- null.
-
getOne
public static double getOne()- Gibt zurück:
- 1.0.
-
getSelf
public static <O> O getSelf(O object) - Typparameter:
O- is the type of the given object.- Parameter:
object-- Gibt zurück:
- the given object.
-
getStringRepresentationOf
- Parameter:
object-- Gibt zurück:
- the
Stringrepresentation of the given object.
-
getTrue
public static boolean getTrue()- Gibt zurück:
- true.
-
getTypeOf
- Parameter:
object-- Gibt zurück:
- the type of the given object.
-
getZero
public static double getZero()- Gibt zurück:
- 0.0.
-
takeObjectAndDoNothing
Does nothing.- Parameter:
object-
-
throwException
public static void throwException()- Löst aus:
GeneralException
-