Klasse GlobalFunctionService

java.lang.Object
ch.nolix.core.programatom.function.GlobalFunctionService

public final class GlobalFunctionService extends Object
Of the GlobalFunctionService an instance cannot be created.
Version:
2017-01-01
Autor:
Silvan Wyss
  • Methodendetails

    • areEqual

      public static boolean areEqual(Object object1, Object object2)
      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

      public static int getHashCode(Object object)
      Parameter:
      object -
      Gibt zurück:
      the hash code of the given object.
    • getNull

      public static 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

      public static String getStringRepresentationOf(Object object)
      Parameter:
      object -
      Gibt zurück:
      the String representation of the given object.
    • getTrue

      public static boolean getTrue()
      Gibt zurück:
      true.
    • getTypeOf

      public static Class<?> getTypeOf(Object object)
      Parameter:
      object -
      Gibt zurück:
      the type of the given object.
    • getZero

      public static double getZero()
      Gibt zurück:
      0.0.
    • takeObjectAndDoNothing

      public static void takeObjectAndDoNothing(Object object)
      Does nothing.
      Parameter:
      object -
    • throwException

      public static void throwException()
      Löst aus:
      GeneralException