Interface PlayerSet
- All Superinterfaces:
Collection<org.bukkit.entity.Player>
,Iterable<org.bukkit.entity.Player>
,Set<org.bukkit.entity.Player>
Set of players
Instances of this interface are mutable, unless isServerPlayerSet()
returns true
, players
cannot be removed from a set containing all the server's players.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Tests if this set is simply a wrapper around the server's whole player listMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Method Details
-
isServerPlayerSet
boolean isServerPlayerSet()Tests if this set is simply a wrapper around the server's whole player list- Returns:
true
, if this set contains all online player,false
otherwise
-