code: public void setNodeData(byte[] nodeData)
      {
          this.nodeData = (nodeData != null) ? Arrays.copyOf(nodeData, nodeData.length) : null;
      }
docs: Set the data to put for the node created by this semaphore. This must be called prior to calling one
  of the acquire() methods.
  
  @param nodeData node data