类 AbstractWaitlist<StateT extends AbstractState<StateT>>
- java.lang.Object
-
- proguard.analysis.cpa.defaults.AbstractWaitlist<StateT>
-
- 类型参数:
StateT- The states contained in the waitlist.
- 所有已实现的接口:
Waitlist<StateT>
- 直接已知子类:
BreadthFirstWaitlist,DepthFirstWaitlist
public abstract class AbstractWaitlist<StateT extends AbstractState<StateT>> extends java.lang.Object implements Waitlist<StateT>
-
-
构造器概要
构造器 构造器 说明 AbstractWaitlist()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidadd(StateT abstractState)Adds an abstract state.voidaddAll(java.util.Collection<? extends StateT> abstractStates)Adds multiple abstract states.voidclear()Empties the waitlist.booleancontains(StateT abstractState)Checks whether the abstract state is present.booleanisEmpty()Checks whether the waitlist is empty.booleanremove(StateT abstractState)Removes an abstract state.voidremoveAll(java.util.Collection<? extends StateT> abstractStates)Removes multiple abstract states.intsize()Returns the size of the waitlist.
-
-
-
字段详细资料
-
waitlist
protected final java.util.Collection<StateT extends AbstractState<StateT>> waitlist
-
-
方法详细资料
-
add
public void add(StateT abstractState)
从接口复制的说明:WaitlistAdds an abstract state.- 指定者:
add在接口中Waitlist<StateT extends AbstractState<StateT>>
-
addAll
public void addAll(java.util.Collection<? extends StateT> abstractStates)
从接口复制的说明:WaitlistAdds multiple abstract states.- 指定者:
addAll在接口中Waitlist<StateT extends AbstractState<StateT>>
-
clear
public void clear()
从接口复制的说明:WaitlistEmpties the waitlist.- 指定者:
clear在接口中Waitlist<StateT extends AbstractState<StateT>>
-
contains
public boolean contains(StateT abstractState)
从接口复制的说明:WaitlistChecks whether the abstract state is present.- 指定者:
contains在接口中Waitlist<StateT extends AbstractState<StateT>>
-
isEmpty
public boolean isEmpty()
从接口复制的说明:WaitlistChecks whether the waitlist is empty.- 指定者:
isEmpty在接口中Waitlist<StateT extends AbstractState<StateT>>
-
remove
public boolean remove(StateT abstractState)
从接口复制的说明:WaitlistRemoves an abstract state.- 指定者:
remove在接口中Waitlist<StateT extends AbstractState<StateT>>
-
removeAll
public void removeAll(java.util.Collection<? extends StateT> abstractStates)
从接口复制的说明:WaitlistRemoves multiple abstract states.- 指定者:
removeAll在接口中Waitlist<StateT extends AbstractState<StateT>>
-
-