Class SeasonLO

java.lang.Object
be.gaudry.model.file.mediacleaner.SeasonLO
All Implemented Interfaces:
Comparable<SeasonLO>

public class SeasonLO extends Object implements Comparable<SeasonLO>
Author:
Steph GAUDRY
  • Constructor Details

    • SeasonLO

      public SeasonLO(int seasonNumber, int episodesCount)
  • Method Details

    • getSeasonNumber

      public int getSeasonNumber()
      Returns:
      the number of the season
    • getEpisodesCount

      public int getEpisodesCount()
      Returns:
      the number of episodes in the season
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • compareTo

      public int compareTo(SeasonLO o)
      Specified by:
      compareTo in interface Comparable<SeasonLO>