protected static class EvaluationConditionalFormatRule.ValueAndFormat extends java.lang.Object implements java.lang.Comparable<EvaluationConditionalFormatRule.ValueAndFormat>
Constructor and Description |
---|
ValueAndFormat(java.lang.Double value,
java.lang.String format,
java.text.DecimalFormat df) |
ValueAndFormat(java.lang.String value,
java.lang.String format) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(EvaluationConditionalFormatRule.ValueAndFormat o)
Note: this class has a natural ordering that is inconsistent with equals.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getString() |
java.lang.Double |
getValue() |
int |
hashCode() |
boolean |
isNumber() |
java.lang.String |
toString() |
public ValueAndFormat(java.lang.Double value, java.lang.String format, java.text.DecimalFormat df)
public ValueAndFormat(java.lang.String value, java.lang.String format)
public boolean isNumber()
public java.lang.Double getValue()
public java.lang.String getString()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int compareTo(EvaluationConditionalFormatRule.ValueAndFormat o)
compareTo
in interface java.lang.Comparable<EvaluationConditionalFormatRule.ValueAndFormat>
o
- public int hashCode()
hashCode
in class java.lang.Object
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.