Class WorkerId


  • public final class WorkerId
    extends Object
    Representation of worker id.
    • Constructor Detail

      • WorkerId

        public WorkerId​(int value)
        Creates a new WorkerId.
        Parameters:
        value - worker id value
    • Method Detail

      • value

        public int value()
        Returns the value of this worker id.
        Returns:
        value of this worker id
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object