示例#1
0
文件: Tvshow.java 项目: Gasp92/Mizuu
 public Season getSeason(int season) {
   for (Season s : mSeasons) if (s.getSeason() == season) return s;
   return new Season();
 }
示例#2
0
文件: Tvshow.java 项目: Gasp92/Mizuu
 public boolean hasSeason(int season) {
   for (Season s : mSeasons) if (s.getSeason() == season) return true;
   return false;
 }