org.apache.poi.ss.formula
Class EvaluationConditionalFormatRule.ValueAndFormat
java.lang.Object
org.apache.poi.ss.formula.EvaluationConditionalFormatRule.ValueAndFormat
- All Implemented Interfaces:
- java.lang.Comparable<EvaluationConditionalFormatRule.ValueAndFormat>
- Enclosing class:
- EvaluationConditionalFormatRule
protected static class EvaluationConditionalFormatRule.ValueAndFormat
- extends java.lang.Object
- implements java.lang.Comparable<EvaluationConditionalFormatRule.ValueAndFormat>
Note: this class has a natural ordering that is inconsistent with equals.
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
EvaluationConditionalFormatRule.ValueAndFormat
public EvaluationConditionalFormatRule.ValueAndFormat(java.lang.Double value,
java.lang.String format)
EvaluationConditionalFormatRule.ValueAndFormat
public EvaluationConditionalFormatRule.ValueAndFormat(java.lang.String value,
java.lang.String format)
isNumber
public boolean isNumber()
getValue
public java.lang.Double getValue()
getString
public java.lang.String getString()
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
compareTo
public int compareTo(EvaluationConditionalFormatRule.ValueAndFormat o)
- Note: this class has a natural ordering that is inconsistent with equals.
- Specified by:
compareTo
in interface java.lang.Comparable<EvaluationConditionalFormatRule.ValueAndFormat>
- Parameters:
o
-
- Returns:
- value comparison
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object