org.robokind.api.common.types
Class Voltage

java.lang.Object
  extended by org.robokind.api.common.types.Voltage
All Implemented Interfaces:
Comparable

public class Voltage
extends Object
implements Comparable

Author:
Matthew Stevenson

Constructor Summary
Voltage(double volts)
           
 
Method Summary
 Object clone()
           
 int compareTo(Object o)
           
 boolean equals(Object obj)
           
 double getVolts()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Voltage

public Voltage(double volts)
Method Detail

getVolts

public final double getVolts()

compareTo

public int compareTo(Object o)
Specified by:
compareTo in interface Comparable

clone

public Object clone()
Overrides:
clone in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2011-2013. All Rights Reserved.