public class TidSet extends UnsortedArrayIntSet implements ThreadInfoSet, Memento<ThreadInfoSet>
| Modifier and Type | Field and Description |
|---|---|
protected VM |
vm |
elements, size| Constructor and Description |
|---|
TidSet(ThreadInfo ti) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(ThreadInfo ti) |
boolean |
contains(ThreadInfo ti) |
Memento<ThreadInfoSet> |
getMemento() |
boolean |
hasMultipleLiveThreads() |
boolean |
hasMultipleRunnableThreads() |
boolean |
remove(ThreadInfo ti) |
ThreadInfoSet |
restore(ThreadInfoSet inSitu)
note that there is no guarantee the restored object will be the same that
is (optionally) passed in.
|
String |
toString() |
add, contains, removeclear, clone, equals, hashCode, intIterator, isEmpty, sizefinalize, getClass, notify, notifyAll, wait, wait, waitsizeprotected VM vm
public TidSet(ThreadInfo ti)
public boolean add(ThreadInfo ti)
add in interface ThreadInfoSetpublic boolean remove(ThreadInfo ti)
remove in interface ThreadInfoSetpublic boolean contains(ThreadInfo ti)
contains in interface ThreadInfoSetpublic boolean hasMultipleLiveThreads()
hasMultipleLiveThreads in interface ThreadInfoSetpublic boolean hasMultipleRunnableThreads()
hasMultipleRunnableThreads in interface ThreadInfoSetpublic String toString()
toString in class ArrayIntSetpublic Memento<ThreadInfoSet> getMemento()
getMemento in interface ThreadInfoSetpublic ThreadInfoSet restore(ThreadInfoSet inSitu)
Mementorestore in interface Memento<ThreadInfoSet>