Ejemplo n.º 1
0
 @Override
 public void put(long key, Object value) {
   if (ENABLED) {
     DummyInstancePlayerList.replace(this.manager, value);
   }
   super.put(key, value);
 }
Ejemplo n.º 2
0
 public DummyInstanceMap(LongHashMap<Object> oldMap, DummyPlayerManager playerManager) {
   this.manager = playerManager;
   for (Object value : oldMap.getValues()) {
     DummyInstancePlayerList.replace(this.manager, value);
   }
   LongHashMapRef.entriesField.transfer(oldMap.getHandle(), this);
 }