com.atlassian.aws.ec2
Class SpotPrices.Price
java.lang.Object
com.atlassian.aws.ec2.SpotPrices.Price
- All Implemented Interfaces:
- Comparable<SpotPrices.Price>
- Enclosing class:
- SpotPrices
public static final class SpotPrices.Price
- extends Object
- implements Comparable<SpotPrices.Price>
SpotPrices.Price
public SpotPrices.Price(double spotPrice,
Date timestamp)
getTimestamp
public Date getTimestamp()
getSpotPrice
public double getSpotPrice()
toString
public String toString()
- Overrides:
toString in class Object
compareTo
public int compareTo(@NotNull
SpotPrices.Price o)
- Specified by:
compareTo in interface Comparable<SpotPrices.Price>
equals
public boolean equals(Object o)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
Copyright © 2015 Atlassian. All rights reserved.