mirror of
https://github.com/Melledy/Nebula.git
synced 2025-12-14 21:34:52 +01:00
16 lines
396 B
Java
16 lines
396 B
Java
package emu.nebula.util;
|
|
|
|
import it.unimi.dsi.fastutil.objects.Object2IntOpenHashMap;
|
|
|
|
public class String2IntMap extends Object2IntOpenHashMap<String> {
|
|
private static final long serialVersionUID = -7301945177198000055L;
|
|
|
|
public int get(String key) {
|
|
return super.getInt(key);
|
|
}
|
|
|
|
public FastEntrySet<String> entries() {
|
|
return super.object2IntEntrySet();
|
|
}
|
|
}
|