Package proguard.analysis.cpa.interfaces
Interface Waitlist<StateT extends AbstractState<StateT>>
- Type Parameters:
StateT- The states contained in the waitlist.
- All Known Implementing Classes:
AbstractWaitlist,BreadthFirstWaitlist,DepthFirstWaitlist
public interface Waitlist<StateT extends AbstractState<StateT>>
-
Method Summary
Modifier and TypeMethodDescriptionvoidAdds an abstract state.voidaddAll(Collection<? extends StateT> abstractStates) Adds multiple abstract states.voidclear()Empties the waitlist.booleanChecks whether the abstract state is present.booleanisEmpty()Checks whether the waitlist is empty.pop()Remove the next abstract state and return it.booleanRemoves an abstract state.voidremoveAll(Collection<? extends StateT> abstractStates) Removes multiple abstract states.intsize()Returns the size of the waitlist.
-
Method Details
-
add
Adds an abstract state. -
addAll
Adds multiple abstract states. -
clear
void clear()Empties the waitlist. -
contains
Checks whether the abstract state is present. -
isEmpty
boolean isEmpty()Checks whether the waitlist is empty. -
pop
StateT pop()Remove the next abstract state and return it. -
remove
Removes an abstract state. -
removeAll
Removes multiple abstract states. -
size
int size()Returns the size of the waitlist.
-