Constructor and Description |
---|
B2Match(java.lang.String p1,
java.lang.String p2,
long startTime,
java.util.Collection<? extends IB2Event> events,
java.lang.String id,
java.lang.String league,
SportType sport,
java.util.Map<java.lang.String,java.lang.String> meta) |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<? extends IB2Event> |
events()
Retrieve collection of events
|
java.lang.String |
participantOne()
Retrieve the first participant
|
java.util.List<java.lang.String> |
participants()
Retrieve the first and second participant as a list
|
java.lang.String |
participantTwo()
Retrieve the second participant
|
getCountry, id, league, meta, sportType, startTime
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public java.lang.String participantOne()
participantOne
in interface IB2Match
public java.lang.String participantTwo()
participantTwo
in interface IB2Match
public java.util.List<java.lang.String> participants()
participants
in interface IBetMatch