net.aksingh.owmjapis
Class AbstractWeather.Clouds

java.lang.Object
  extended by net.aksingh.owmjapis.AbstractWeather.Clouds
Direct Known Subclasses:
CurrentWeather.Clouds, HourlyForecast.Forecast.Clouds
Enclosing class:
AbstractWeather

public abstract static class AbstractWeather.Clouds
extends java.lang.Object

Provides default behaviours for Cloud

Since:
2.5.0.1
Version:
2013/12/23
Author:
Ashutosh Kumar Singh

Method Summary
 float getPercentageOfClouds()
           
 boolean hasPercentageOfClouds()
          Tells if percentage of clouds is available or not.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

hasPercentageOfClouds

public boolean hasPercentageOfClouds()
Tells if percentage of clouds is available or not.

Returns:
true if data available, otherwise false

getPercentageOfClouds

public float getPercentageOfClouds()
Returns:
Percentage of all clouds if available, otherwise Float.NaN.