Class EventIdentifier
java.lang.Object
com.sportradar.livedata.sdk.feed.common.entities.EventIdentifier
- All Implemented Interfaces:
- Serializable
Uniquely identifies an event.
- See Also:
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleanequals(EventIdentifier other) Determines whether passedEventIdentifieris equal to the current onebooleanlongGets event idinthashCode()static EventIdentifierid(long id) Build an EventIdentifier from idtoString()
- 
Field Details- 
eventIdprotected final long eventId
 
- 
- 
Constructor Details- 
EventIdentifierprotected EventIdentifier(long eventId) 
 
- 
- 
Method Details- 
equalsDetermines whether passedEventIdentifieris equal to the current one- Parameters:
- other- The- EventIdentifierto be compared to the current one
- Returns:
- True if passed EventIdentifieris equal to the current one, otherwise false.
 
- 
getEventIdpublic long getEventId()Gets event id- Returns:
- event id
 
- 
hashCodepublic int hashCode()
- 
equals
- 
toString
- 
idBuild an EventIdentifier from id- Parameters:
- id- - id of an event
- Returns:
- an EventIdentifier
 
 
-