Class FunctionService
java.lang.Object
ch.nolix.base.misc.function.FunctionService
Of the
FunctionService an instance cannot be created.- Author:
- Silvan Wyss
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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
-
Method Details
-
areEqual
-
doNothing
public static void doNothing()Does nothing. -
getFalse
public static boolean getFalse()- Returns:
- false.
-
getHashCode
- Parameters:
object-- Returns:
- the hash code of the given object.
-
getNull
- Returns:
- null.
-
getOne
public static double getOne()- Returns:
- 1.0.
-
getSelf
public static <O> O getSelf(O object) - Type Parameters:
O- is the type of the given object.- Parameters:
object-- Returns:
- the given object.
-
getStringRepresentationOf
-
getTrue
public static boolean getTrue()- Returns:
- true.
-
getTypeOf
-
getZero
public static double getZero()- Returns:
- 0.0.
-
takeObjectAndDoNothing
-
throwException
public static void throwException()- Throws:
GeneralException
-