nl.innovationinvestments.cheyenne.engine.variables
Class Variable
java.lang.Object
nl.innovationinvestments.cheyenne.engine.variables.Variable
- Direct Known Subclasses:
- Number, String
public abstract class Variable
- extends Object
Variables are immutable, so any calculations return a new instance.
Value is set through the constructor.
- Author:
- toeu
Variable
public Variable()
setValue
public void setValue(Object value)
- Value
getValue
public Object getValue()
compareTo
public abstract int compareTo(Object value)
- comparison
isSmallerThan
public boolean isSmallerThan(Object value)
equals
public boolean equals(Object value)
- Overrides:
equals in class Object
isLargerThan
public boolean isLargerThan(Object value)
isSmallerThanOrEqualsTo
public boolean isSmallerThanOrEqualsTo(Object value)
isLargerThanOrEqualsTo
public boolean isLargerThanOrEqualsTo(Object value)
Copyright © 2013 InnovationInvestments. All rights reserved.