T
- Specifies the type of the home and away valuespublic class HomeAway<T> extends Object implements Serializable
Constructor and Description |
---|
HomeAway(T home,
T away)
Initializes a new instance of the
HomeAway class. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
T |
getAway()
Gets the result of the away team
|
T |
getHome()
Gets the result of the home team
|
int |
hashCode() |
String |
toString()
Constructs and returns a string representation of the current
HomeAway instnace. |
Copyright © 2013–2023. All rights reserved.