com.h3c.util.type

## Class ThreadId

- java.lang.Object
- - com.h3c.util.type.AbstractValueType<Long>
  - - com.h3c.util.type.ThreadId

- All Implemented Interfaces:
    Serializable

      public final class ThreadId
      extends AbstractValueType<Long>

  Thread id.
  See Also:
    Serialized Form

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static ThreadId` | `valueOfCurrentThread()` Constructs a thread id form the current thread.

    - ### Methods inherited from class com.h3c.util.type.AbstractValueType

      `equals, getValue, hashCode, toString`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### Method Detail

    - #### valueOfCurrentThread

          public static ThreadId valueOfCurrentThread()

      Constructs a thread id form the current thread.
      Returns:
        a thread id.

Copyright © 2014. All Rights Reserved.