public class


extends Object
   ↳ com.atlassian.jira.user.UserSet

Class Overview

Keeps a unique set of Users based on the username only.

This "collection" will work properly with shadowed users, mixed case usernames and the different hashcodes of ApplicationUser and Directory Users.


Public Constructors
UserSet(Collection<User> users)
Public Methods
void add(User user)
boolean contains(User user)
Set<User> toSet()
Collection<User> values()
Inherited Methods
From class java.lang.Object

Public Constructors

public UserSet (Collection<User> users)

Public Methods

public void add (User user)

public boolean contains (User user)

public Set<User> toSet ()

public Collection<User> values ()