Class HomeAway<T>

  • Type Parameters:
    T - Specifies the type of the home and away values
    All Implemented Interfaces:
    Serializable

    public class HomeAway<T>
    extends Object
    implements Serializable
    Home and away tuple (e.g. counters, stats).
    See Also:
    Serialized Form
    • Constructor Detail

      • HomeAway

        public HomeAway​(T home,
                        T away)
        Initializes a new instance of the HomeAway class.
        Parameters:
        home - The result of the home team
        away - The result of the away team
      • HomeAway

        protected HomeAway()
        For Serializable
    • Method Detail

      • getAway

        public T getAway()
        Gets the result of the away team
        Returns:
        The result of the away team
      • getHome

        public T getHome()
        Gets the result of the home team
        Returns:
        the result of the home team