org.kohsuke.youdebug
Class ThreadList
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractSet<com.sun.jdi.ThreadReference>
org.kohsuke.youdebug.ThreadList
- All Implemented Interfaces:
- Iterable<com.sun.jdi.ThreadReference>, Collection<com.sun.jdi.ThreadReference>, Set<com.sun.jdi.ThreadReference>
public class ThreadList
- extends AbstractSet<com.sun.jdi.ThreadReference>
Maintains a list of ThreadReference
s that are in the target VM.
- Author:
- Kohsuke Kawaguchi
size
public int size()
- Specified by:
size
in interface Collection<com.sun.jdi.ThreadReference>
- Specified by:
size
in interface Set<com.sun.jdi.ThreadReference>
- Specified by:
size
in class AbstractCollection<com.sun.jdi.ThreadReference>
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interface Collection<com.sun.jdi.ThreadReference>
- Specified by:
isEmpty
in interface Set<com.sun.jdi.ThreadReference>
- Overrides:
isEmpty
in class AbstractCollection<com.sun.jdi.ThreadReference>
iterator
public Iterator<com.sun.jdi.ThreadReference> iterator()
- Specified by:
iterator
in interface Iterable<com.sun.jdi.ThreadReference>
- Specified by:
iterator
in interface Collection<com.sun.jdi.ThreadReference>
- Specified by:
iterator
in interface Set<com.sun.jdi.ThreadReference>
- Specified by:
iterator
in class AbstractCollection<com.sun.jdi.ThreadReference>
byName
public com.sun.jdi.ThreadReference byName(String name)
- Gets a thread by its
Thread.getName()
.
getAt
public com.sun.jdi.ThreadReference getAt(String name)
threads[name]
for Groovy
Copyright © 2013. All rights reserved.