Class Thread

java.lang.Object
com.oracle.truffle.tools.dap.types.JSONBase
com.oracle.truffle.tools.dap.types.Thread

public class Thread extends JSONBase
A Thread.
  • Method Details

    • getId

      public int getId()
      Unique identifier for the thread.
    • setId

      public Thread setId(int id)
    • getName

      public String getName()
      A name of the thread.
    • setName

      public Thread setName(String name)
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • create

      public static Thread create(Integer id, String name)