BITS BITS EVERYWHERE

This commit is contained in:
cyberpwn
2021-09-23 10:44:56 -04:00
parent 5ed59d0282
commit 1628652264
28 changed files with 899 additions and 159 deletions

View File

@@ -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>