mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 08:14:09 -08:00
Add setName method to Thread. (#608)
This commit is contained in:
parent
3571917a2f
commit
89f41b9a35
|
@ -116,6 +116,10 @@ public class TThread extends TObject implements TRunnable {
|
||||||
return name;
|
return name;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void setName(String name) {
|
||||||
|
this.name = name;
|
||||||
|
}
|
||||||
|
|
||||||
public final boolean isDaemon() {
|
public final boolean isDaemon() {
|
||||||
return daemon;
|
return daemon;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user