Class ConcurrentPlayerMap<TValue>

java.lang.Object
java.util.AbstractMap<org.bukkit.entity.Player,TValue>
com.comphenix.protocol.concurrency.ConcurrentPlayerMap<TValue>
All Implemented Interfaces:
ConcurrentMap<org.bukkit.entity.Player,TValue>, Map<org.bukkit.entity.Player,TValue>

public class ConcurrentPlayerMap<TValue> extends AbstractMap<org.bukkit.entity.Player,TValue> implements ConcurrentMap<org.bukkit.entity.Player,TValue>
Represents a concurrent player map.

This map may use player addresses as keys.

  • Constructor Details

    • ConcurrentPlayerMap

      public ConcurrentPlayerMap(com.google.common.base.Function<org.bukkit.entity.Player,Object> method)
      Construct a new concurrent player map using the given custom key method.
      Parameters:
      method - - custom key method.
  • Method Details