Class PitcherCi
java.lang.Object
com.sportradar.unifiedodds.sdk.internal.caching.ci.PitcherCi
A pitcher representation used by caching components
-
Method Summary
Modifier and TypeMethodDescriptionbooleanDetermines whether the specified object is equal to the current objectexport()Returns the indication if the pitcher is home or awaygetHand()Returns which hand the pitcher usesgetId()Returns theUrnof the represented sport entitygetName()Returns the name of the pitcherinthashCode()Serves as the default hash functionvoidMerges the information from the providedSapiPitcherinto the current instance
-
Method Details
-
merge
Merges the information from the providedSapiPitcherinto the current instance- Parameters:
pitcher- -SapiPitchercontaining information about the pitcherlocale- -Localespecifying the language of the pitcher
-
getName
Returns the name of the pitcher- Returns:
- - the name of the pitcher
-
getCompetitor
Returns the indication if the pitcher is home or away- Returns:
- - the indication if the pitcher is home or away
-
getHand
Returns which hand the pitcher uses- Returns:
- - which hand the pitcher uses
-
export
-
getId
Returns theUrnof the represented sport entity- Returns:
- - the
Urnof the represented sport entity
-
equals
Determines whether the specified object is equal to the current object -
hashCode
public int hashCode()Serves as the default hash function
-