public class WeatherInfoImpl extends Object implements WeatherInfo
Constructor and Description |
---|
WeatherInfoImpl(WeatherInfoCi weatherInfo)
Initializes a new instance of the
WeatherInfoImpl class |
Modifier and Type | Method and Description |
---|---|
String |
getPitch()
Returns the pitch weather
|
Integer |
getTemperature()
Returns the temperature in degrees Celsius
|
String |
getWeatherConditions()
Returns the summary of the weather conditions
|
String |
getWind()
Returns the wind conditions
|
String |
getWindAdvantage()
Returns the wind advantage information
|
String |
toString()
Returns a
String describing the current WeatherInfo instance |
public WeatherInfoImpl(WeatherInfoCi weatherInfo)
WeatherInfoImpl
classweatherInfo
- - a WeatherInfoCi
used to build the instancepublic String getPitch()
getPitch
in interface WeatherInfo
public Integer getTemperature()
getTemperature
in interface WeatherInfo
public String getWeatherConditions()
getWeatherConditions
in interface WeatherInfo
public String getWind()
getWind
in interface WeatherInfo
public String getWindAdvantage()
getWindAdvantage
in interface WeatherInfo
public String toString()
String
describing the current WeatherInfo
instancetoString
in class Object
String
describing the current WeatherInfo
instanceCopyright © 2016–2025. All rights reserved.