mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-04-14 11:46:08 +00:00
BITS BITS EVERYWHERE
This commit is contained in:
@@ -42,6 +42,19 @@ public class KMap<K, V> extends ConcurrentHashMap<K, V> {
|
||||
put(gMap);
|
||||
}
|
||||
|
||||
public K getKey(V value)
|
||||
{
|
||||
for(KeyPair<K,V> i : keypair())
|
||||
{
|
||||
if(i.getV().equals(value))
|
||||
{
|
||||
return i.getK();
|
||||
}
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Puts a value into a map-value-list based on the key such that if GMap<K,
|
||||
* GList<S>> where V is GList<S>
|
||||
|
||||
Reference in New Issue
Block a user