UniqueId (Apache Tomcat 8.5.55 API Documentation)

org.apache.catalina.tribes

## Class UniqueId

- java.lang.Object
- - org.apache.catalina.tribes.UniqueId

- All Implemented Interfaces:
    Serializable

      public final class UniqueId
      extends Object
      implements Serializable

  Title: Represents a globally unique Id

  Company:

  Version:
    1.0
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `UniqueId()`
    `UniqueId(byte[] id)`
    `UniqueId(byte[] id, int offset, int length)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `equals(Object other)`
    `byte[]` | `getBytes()`
    `int` | `hashCode()`
    `String` | `toString()`

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

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

- - ### Constructor Detail

    - #### UniqueId

          public UniqueId()

    - #### UniqueId

          public UniqueId(byte[] id)

    - #### UniqueId

          public UniqueId(byte[] id,
                  int offset,
                  int length)

  - ### Method Detail

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `Object`

    - #### equals

          public boolean equals(Object other)

      Overrides:
        `equals` in class `Object`

    - #### getBytes

          public byte[] getBytes()

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.