文章标题

来源:互联网 发布:杭州大数据公司 编辑:程序博客网 时间:2024/05/21 19:26

测试博客内容:

public class OneDayWeatherInf {     //这是一个变量       String location;       String date;         String week;         String tempertureOfDay;         String tempertureNow;         String wind;         String weather;          String picture;         int pmTwoPointFive;     public OneDayWeatherInf(){         location = "";         date = "";         week = "";         tempertureOfDay = "";         tempertureNow = "";         wind = "";         weather = "";         picture = "undefined";         pmTwoPointFive = 0;     }     public String getLocation() {         return location;     }     public void setLocation(String location) {         this.location = location;     }     public String getDate() {         return date;     }     public void setDate(String date) {         this.date = date;     }     public String getWeek() {         return week;     }     public void setWeek(String week) {         this.week = week;     }     public String getTempertureOfDay() {         return tempertureOfDay;     }     public void setTempertureOfDay(String tempertureOfDay) {         this.tempertureOfDay = tempertureOfDay;     }     public String getTempertureNow() {         return tempertureNow;     }     public void setTempertureNow(String tempertureNow) {         this.tempertureNow = tempertureNow;     }     public String getWind() {         return wind;     }     public void setWind(String wind) {         this.wind = wind;     }     public String getWeather() {         return weather;     }     public void setWeather(String weather) {         this.weather = weather;     }     public String getPicture() {         return picture;     }     public void setPicture(String picture) {         this.picture = picture;     }     public int getPmTwoPointFive() {         return pmTwoPointFive;     }     public void setPmTwoPointFive(int pmTwoPointFive) {         this.pmTwoPointFive = pmTwoPointFive;     }     public String toString(){         return location+"   "+date+"   "+week+" tempertureOfDay:  "+tempertureOfDay+" tempertureNow:  "+tempertureNow+"   "+wind+"   "+weather+"   "+picture+"   "+pmTwoPointFive;     }     }
0 0
原创粉丝点击