001package com.nimbusds.common.id; 002 003 004/** 005 * Represents a user identifier (UID). 006 */ 007public final class UID extends BaseIdentifier { 008 009 010 /** 011 * Creates a new user identifier (UID) with the specified value. 012 * 013 * @param value The user identifier (UID) value. Must not be 014 * {@code null}. 015 */ 016 public UID(final String value) { 017 018 super(value); 019 } 020 021 022 @Override 023 public boolean equals(final Object object) { 024 025 return object instanceof UID && this.toString().equals(object.toString()); 026 } 027}