public class PointsConfig
extends java.lang.Object
PointValues
queries.PointValues
,
NumberFormat
Constructor and Description |
---|
PointsConfig(java.text.NumberFormat format,
java.lang.Class<? extends java.lang.Number> type)
Constructs a
PointsConfig object. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.text.NumberFormat |
getNumberFormat()
Returns the
NumberFormat used to parse a String to
Number |
java.lang.Class<? extends java.lang.Number> |
getType()
Returns the numeric type used to index the numeric values
|
int |
hashCode() |
void |
setNumberFormat(java.text.NumberFormat format)
Sets the
NumberFormat used to parse a String to
Number |
void |
setType(java.lang.Class<? extends java.lang.Number> type)
Sets the numeric type used to index the numeric values
|
public PointsConfig(java.text.NumberFormat format, java.lang.Class<? extends java.lang.Number> type)
PointsConfig
object.format
- the NumberFormat
used to parse a String
to
Number
type
- the numeric type used to index the numeric valuessetNumberFormat(NumberFormat)
public java.text.NumberFormat getNumberFormat()
NumberFormat
used to parse a String
to
Number
NumberFormat
used to parse a String
to
Number
public java.lang.Class<? extends java.lang.Number> getType()
public void setType(java.lang.Class<? extends java.lang.Number> type)
type
- the numeric type used to index the numeric valuespublic void setNumberFormat(java.text.NumberFormat format)
NumberFormat
used to parse a String
to
Number
format
- the NumberFormat
used to parse a String
to
Number
, must not be null
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2000–2019 The Apache Software Foundation. All rights reserved.