Class ThreadGroup
- java.lang.Object
-
- org.openjdk.jmc.flightrecorder.internal.parser.v0.factories.ThreadGroup
-
- All Implemented Interfaces:
java.lang.Comparable<ThreadGroup>,IMCThreadGroup
final class ThreadGroup extends java.lang.Object implements IMCThreadGroup, java.lang.Comparable<ThreadGroup>
A thread group.
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Stringm_name
-
Constructor Summary
Constructors Constructor Description ThreadGroup(java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(ThreadGroup o)booleanequals(java.lang.Object obj)java.lang.StringgetName()Returns the name of the thread group.IMCThreadGroupgetParent()Returns the parent of this thread group.inthashCode()java.lang.StringtoString()
-
-
-
Method Detail
-
getName
public java.lang.String getName()
Description copied from interface:IMCThreadGroupReturns the name of the thread group.- Specified by:
getNamein interfaceIMCThreadGroup- Returns:
- the name of the thread group, or
nullif the information is not available
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
getParent
public IMCThreadGroup getParent()
Description copied from interface:IMCThreadGroupReturns the parent of this thread group.- Specified by:
getParentin interfaceIMCThreadGroup- Returns:
- the parent of this thread group, or
nullif the group has no parent
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
compareTo
public int compareTo(ThreadGroup o)
- Specified by:
compareToin interfacejava.lang.Comparable<ThreadGroup>
-
-