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 |
|---|---|
ThreadInfoSet |
add(ThreadInfo ti) |
boolean |
contains(ThreadInfo ti) |
Memento<ThreadInfoSet> |
getMemento() |
boolean |
hasMultipleLiveThreads() |
boolean |
hasMultipleRunnableThreads() |
boolean |
isShared(ThreadInfo ti,
ElementInfo ei) |
ThreadInfoSet |
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.
|
java.lang.String |
toString() |
add, contains, removeclear, clone, equals, hashCode, intIterator, isEmpty, sizefinalize, getClass, notify, notifyAll, wait, wait, waitsizeprotected VM vm
public TidSet(ThreadInfo ti)
public ThreadInfoSet add(ThreadInfo ti)
add in interface ThreadInfoSetpublic ThreadInfoSet remove(ThreadInfo ti)
remove in interface ThreadInfoSetpublic boolean contains(ThreadInfo ti)
contains in interface ThreadInfoSetpublic boolean isShared(ThreadInfo ti, ElementInfo ei)
isShared in interface ThreadInfoSetpublic boolean hasMultipleLiveThreads()
hasMultipleLiveThreads in interface ThreadInfoSetpublic boolean hasMultipleRunnableThreads()
hasMultipleRunnableThreads in interface ThreadInfoSetpublic java.lang.String toString()
toString in class ArrayIntSetpublic Memento<ThreadInfoSet> getMemento()
getMemento in interface ThreadInfoSetpublic ThreadInfoSet restore(ThreadInfoSet inSitu)
Mementorestore in interface Memento<ThreadInfoSet>