Class CPUTimer.CPUTimerFactory.ThreadIdentifier

  • Enclosing class:
    CPUTimer.CPUTimerFactory

    protected class CPUTimer.CPUTimerFactory.ThreadIdentifier
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.String id  
      protected java.lang.Thread theThread  
    • Constructor Summary

      Constructors 
      Constructor Description
      ThreadIdentifier​(java.lang.String id)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      int hashCode()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • theThread

        protected java.lang.Thread theThread
      • id

        protected java.lang.String id
    • Constructor Detail

      • ThreadIdentifier

        public ThreadIdentifier​(java.lang.String id)
        Parameters:
        id - a unique Identifier, may be null
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
        Parameters:
        obj -
        Returns:
        See Also:
        Object.equals(java.lang.Object)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
        Returns:
        See Also:
        Object.hashCode()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
        Returns:
        See Also:
        Object.toString()