soot.jimple.spark.ondemand.pautil
Class SootUtil.FieldAccessMap

java.lang.Object
  extended by soot.jimple.spark.ondemand.genericutil.ArraySetMultiMap<SparkField,Pair<FieldRefNode,LocalVarNode>>
      extended by soot.jimple.spark.ondemand.pautil.SootUtil.FieldAccessMap
All Implemented Interfaces:
MultiMap<SparkField,Pair<FieldRefNode,LocalVarNode>>
Enclosing class:
SootUtil

public static final class SootUtil.FieldAccessMap
extends ArraySetMultiMap<SparkField,Pair<FieldRefNode,LocalVarNode>>


Field Summary
protected  boolean create
           
protected  Map<K,Set<V>> map
           
 
Fields inherited from class soot.jimple.spark.ondemand.genericutil.ArraySetMultiMap
EMPTY
 
Constructor Summary
SootUtil.FieldAccessMap()
           
 
Method Summary
 void clear()
           
 boolean containsKey(K key)
           
 boolean isEmpty()
           
 Set<K> keySet()
           
 boolean put(K key, V val)
           
 boolean putAll(K key, Collection<? extends V> vals)
           
 boolean remove(K key, V val)
           
 Set<V> removeAll(K key)
           
 int size()
           
 String toString()
           
 
Methods inherited from class soot.jimple.spark.ondemand.genericutil.ArraySetMultiMap
createSet, emptySet, get
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

map

protected final Map<K,Set<V>> map

create

protected final boolean create
Constructor Detail

SootUtil.FieldAccessMap

public SootUtil.FieldAccessMap()
Method Detail

put

public boolean put(K key,
                   V val)
Specified by:
put in interface MultiMap<K,V>

remove

public boolean remove(K key,
                      V val)
Specified by:
remove in interface MultiMap<K,V>

removeAll

public Set<V> removeAll(K key)
Specified by:
removeAll in interface MultiMap<K,V>

keySet

public Set<K> keySet()
Specified by:
keySet in interface MultiMap<K,V>

containsKey

public boolean containsKey(K key)
Specified by:
containsKey in interface MultiMap<K,V>

size

public int size()
Specified by:
size in interface MultiMap<K,V>

toString

public String toString()
Specified by:
toString in interface MultiMap<K,V>
Overrides:
toString in class Object

putAll

public boolean putAll(K key,
                      Collection<? extends V> vals)
Specified by:
putAll in interface MultiMap<K,V>

clear

public void clear()
Specified by:
clear in interface MultiMap<K,V>

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface MultiMap<K,V>