@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DoubleRange extends Object implements Serializable, Cloneable
A range of double values.
| Constructor and Description |
|---|
DoubleRange() |
| Modifier and Type | Method and Description |
|---|---|
DoubleRange |
clone() |
boolean |
equals(Object obj) |
Double |
getFrom()
The minimum value in the range.
|
Double |
getTo()
The maximum value in the range.
|
int |
hashCode() |
void |
setFrom(Double from)
The minimum value in the range.
|
void |
setTo(Double to)
The maximum value in the range.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DoubleRange |
withFrom(Double from)
The minimum value in the range.
|
DoubleRange |
withTo(Double to)
The maximum value in the range.
|
public void setFrom(Double from)
The minimum value in the range.
from - The minimum value in the range.public Double getFrom()
The minimum value in the range.
public DoubleRange withFrom(Double from)
The minimum value in the range.
from - The minimum value in the range.public void setTo(Double to)
The maximum value in the range.
to - The maximum value in the range.public Double getTo()
The maximum value in the range.
public DoubleRange withTo(Double to)
The maximum value in the range.
to - The maximum value in the range.public String toString()
toString in class ObjectObject.toString()public DoubleRange clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.