Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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.

Constructor Summary
`EvaluationConditionalFormatRule.ValueAndFormat(java.lang.Double value, java.lang.String format)`
`EvaluationConditionalFormatRule.ValueAndFormat(java.lang.String value, java.lang.String format)`

Method Summary
`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()`

Methods inherited from class java.lang.Object
`clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### 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)

Method Detail

### 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`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright 2017 The Apache Software Foundation or its licensors, as applicable.