Package openGql.grammar
Class GeneralLogarithmFunction
- java.lang.Object
-
- openGql.grammar.GeneralLogarithmFunction
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<GeneralLogarithmFunction>
public class GeneralLogarithmFunction extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<GeneralLogarithmFunction>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description NumericValueExpressionargumentstatic NameARGUMENTName of theopenGql.grammar.GeneralLogarithmFunction.argumentfield.NumericValueExpressionbasestatic NameBASEName of theopenGql.grammar.GeneralLogarithmFunction.basefield.static NameTYPE_Name of theopenGql.grammar.GeneralLogarithmFunctiontype.
-
Constructor Summary
Constructors Constructor Description GeneralLogarithmFunction(NumericValueExpression base, NumericValueExpression argument)Constructs an immutableGeneralLogarithmFunction.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(GeneralLogarithmFunction other)booleanequals(java.lang.Object other)inthashCode()GeneralLogarithmFunctionwithArgument(NumericValueExpression argument)Returns a copy of thisGeneralLogarithmFunctionwithargumentreplaced.GeneralLogarithmFunctionwithBase(NumericValueExpression base)Returns a copy of thisGeneralLogarithmFunctionwithbasereplaced.
-
-
-
Field Detail
-
TYPE_
public static final Name TYPE_
Name of theopenGql.grammar.GeneralLogarithmFunctiontype.
-
BASE
public static final Name BASE
Name of theopenGql.grammar.GeneralLogarithmFunction.basefield.
-
ARGUMENT
public static final Name ARGUMENT
Name of theopenGql.grammar.GeneralLogarithmFunction.argumentfield.
-
base
public final NumericValueExpression base
-
argument
public final NumericValueExpression argument
-
-
Constructor Detail
-
GeneralLogarithmFunction
public GeneralLogarithmFunction(NumericValueExpression base, NumericValueExpression argument)
Constructs an immutableGeneralLogarithmFunction.
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
compareTo
public int compareTo(GeneralLogarithmFunction other)
- Specified by:
compareToin interfacejava.lang.Comparable<GeneralLogarithmFunction>
-
withBase
public GeneralLogarithmFunction withBase(NumericValueExpression base)
Returns a copy of thisGeneralLogarithmFunctionwithbasereplaced.
-
withArgument
public GeneralLogarithmFunction withArgument(NumericValueExpression argument)
Returns a copy of thisGeneralLogarithmFunctionwithargumentreplaced.
-
-