public static final class ServerPing.Players extends Object
Constructor and Description |
---|
Players(int online,
int max,
List<ServerPing.SamplePlayer> sample)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int |
getMax() |
int |
getOnline() |
List<ServerPing.SamplePlayer> |
getSample() |
int |
hashCode() |
String |
toString() |
public Players(int online, int max, List<ServerPing.SamplePlayer> sample)
online
- the number of online playersmax
- the maximum number of playerssample
- a sample of players on the serverpublic int getOnline()
public int getMax()
public List<ServerPing.SamplePlayer> getSample()