/FileExtraction/Java_unseen/Wind-Development_WindSpigot/WindSpigot-Server/src/main/java/ga/windpvp/windspigot/commons/ConcurrentIntHashMap.java
package ga.windpvp.windspigot.commons;

import net.minecraft.server.IntHashMap;

import static ga.windpvp.windspigot.async.AsyncUtil.runSynchronized;

public class ConcurrentIntHashMap<V> extends IntHashMap<V> {
	
	public V get(int var1) {
		return runSynchronized(this, () -> super.get(var1));
	}

	public boolean b(int var1) {
		return runSynchronized(this, () -> super.b(var1));
	}

	public void a(int var1, V var2) {
		runSynchronized(this, () -> super.a(var1, var2));
	}

	public V d(int var1) {
		return runSynchronized(this, () -> super.d(var1));
	}

	public void c() {
		runSynchronized(this, super::c);
	}
}
