Package proguard.analysis.cpa.defaults
Class DefaultReachedSet
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractSet<E>
-
- java.util.HashSet<E>
-
- java.util.LinkedHashSet<AbstractState>
-
- proguard.analysis.cpa.defaults.DefaultReachedSet
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.lang.Iterable<AbstractState>
,java.util.Collection<AbstractState>
,java.util.Set<AbstractState>
,ReachedSet
public final class DefaultReachedSet extends java.util.LinkedHashSet<AbstractState> implements ReachedSet
This is aLinkedHashSet
-based implementation of theReachedSet
.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DefaultReachedSet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Collection<AbstractState>
asCollection()
Returns a collection representation of itself.java.util.Collection<AbstractState>
getReached(AbstractState abstractState)
Returns a collection of abstract states mergeable with theabstractState
.boolean
remove(AbstractState state)
Removes an abstract state.-
Methods inherited from class java.util.HashSet
add, clear, clone, contains, isEmpty, iterator, remove, size
-
Methods inherited from class java.util.AbstractCollection
addAll, containsAll, retainAll, toArray, toArray, toString
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface proguard.analysis.cpa.interfaces.ReachedSet
add, addAll, removeAll
-
-
-
-
Method Detail
-
remove
public boolean remove(AbstractState state)
Description copied from interface:ReachedSet
Removes an abstract state.- Specified by:
remove
in interfaceReachedSet
-
asCollection
public java.util.Collection<AbstractState> asCollection()
Description copied from interface:ReachedSet
Returns a collection representation of itself.- Specified by:
asCollection
in interfaceReachedSet
-
getReached
public java.util.Collection<AbstractState> getReached(AbstractState abstractState)
Description copied from interface:ReachedSet
Returns a collection of abstract states mergeable with theabstractState
.- Specified by:
getReached
in interfaceReachedSet
-
-