com.atlassian.aws.ec2
Class SpotPrices.Price

java.lang.Object
  extended by 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>


Constructor Summary
SpotPrices.Price(double spotPrice, Date timestamp)
           
 
Method Summary
 int compareTo(SpotPrices.Price o)
           
 boolean equals(Object o)
           
 double getSpotPrice()
           
 Date getTimestamp()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SpotPrices.Price

public SpotPrices.Price(double spotPrice,
                        Date timestamp)
Method Detail

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.