java.lang.Object
care.smith.top.top_phenotypic_query.c2reasoner.functions.FunctionEntity
care.smith.top.top_phenotypic_query.c2reasoner.functions.comparison.Ne

public class Ne extends care.smith.top.top_phenotypic_query.c2reasoner.functions.FunctionEntity
The function Ne realizes the comparison operator '≠' (not equal) and returns 'true' if the two arguments are unequal, otherwise 'false'.
Arguments:
Arguments Arguments data types Return data type Example
<exp> <exp> <exp>: number boolean 6 ≠ 2
The function returns 'true'.
Author:
TOP group
  • Method Summary

    Modifier and Type
    Method
    Description
    care.smith.top.model.Expression
    calculate(List<care.smith.top.model.Expression> args, care.smith.top.top_phenotypic_query.c2reasoner.C2R c2r)
     
    static Ne
    get()
     
    static care.smith.top.model.Expression
    of(care.smith.top.model.Expression... args)
     
    static care.smith.top.model.Expression
    of(care.smith.top.model.Phenotype phe1, care.smith.top.model.Phenotype phe2)
     
    static care.smith.top.model.Expression
    of(care.smith.top.model.Phenotype phe, Number val)
     
    static care.smith.top.model.Expression
    of(care.smith.top.model.Phenotype phe, String val)
     
    static care.smith.top.model.Expression
    of(List<care.smith.top.model.Expression> args)
     

    Methods inherited from class care.smith.top.top_phenotypic_query.c2reasoner.functions.FunctionEntity

    getFunction, getFunctionId, getType, maxArgumentNumber, minArgumentNumber, toString, toStringValues

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • get

      public static Ne get()
    • of

      public static care.smith.top.model.Expression of(List<care.smith.top.model.Expression> args)
    • of

      public static care.smith.top.model.Expression of(care.smith.top.model.Expression... args)
    • of

      public static care.smith.top.model.Expression of(care.smith.top.model.Phenotype phe1, care.smith.top.model.Phenotype phe2)
    • of

      public static care.smith.top.model.Expression of(care.smith.top.model.Phenotype phe, String val)
    • of

      public static care.smith.top.model.Expression of(care.smith.top.model.Phenotype phe, Number val)
    • calculate

      public care.smith.top.model.Expression calculate(List<care.smith.top.model.Expression> args, care.smith.top.top_phenotypic_query.c2reasoner.C2R c2r)
      Specified by:
      calculate in class care.smith.top.top_phenotypic_query.c2reasoner.functions.FunctionEntity