|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.github.fedy2.weather.data.Units
public class Units
Units for various aspects of the forecast.
| Constructor Summary | |
|---|---|
Units()
|
|
Units(DegreeUnit temperature,
DistanceUnit distance,
PressureUnit pressure,
SpeedUnit speed)
|
|
| Method Summary | |
|---|---|
DistanceUnit |
getDistance()
Returns the distance unit. |
PressureUnit |
getPressure()
Returns the units of barometric pressure. |
SpeedUnit |
getSpeed()
Returns the units of speed. |
DegreeUnit |
getTemperature()
Returns the temperature unit. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Units()
public Units(DegreeUnit temperature,
DistanceUnit distance,
PressureUnit pressure,
SpeedUnit speed)
temperature - distance - pressure - speed - | Method Detail |
|---|
public DegreeUnit getTemperature()
public DistanceUnit getDistance()
public PressureUnit getPressure()
public SpeedUnit getSpeed()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||