public class PercentPair extends Object implements Serializable
Describes the percentile and percentile value.
| Constructor and Description |
|---|
PercentPair() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Double |
getPercent()
The percentile.
|
Double |
getValue()
The value of the percentile.
|
int |
hashCode() |
void |
setPercent(Double percent)
The percentile.
|
void |
setValue(Double value)
The value of the percentile.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
PercentPair |
withPercent(Double percent)
The percentile.
|
PercentPair |
withValue(Double value)
The value of the percentile.
|
public Double getPercent()
The percentile.
Constraints:
Range: 0 - 100
The percentile.
public void setPercent(Double percent)
The percentile.
Constraints:
Range: 0 - 100
percent - The percentile.
public PercentPair withPercent(Double percent)
The percentile.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 0 - 100
percent - The percentile.
public Double getValue()
The value of the percentile.
The value of the percentile.
public void setValue(Double value)
The value of the percentile.
value - The value of the percentile.
public PercentPair withValue(Double value)
The value of the percentile.
Returns a reference to this object so that method calls can be chained together.
value - The value of the percentile.
public String toString()
toString in class ObjectObject.toString()Copyright © 2020. All rights reserved.