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<ApplicationUser> users)
Public Methods
void add(ApplicationUser user)
boolean contains(ApplicationUser user)
Set<ApplicationUser> toSet()
Collection<ApplicationUser> values()
Inherited Methods
From class java.lang.Object

Public Constructors

public UserSet (Collection<ApplicationUser> users)

Public Methods

public void add (ApplicationUser user)

public boolean contains (ApplicationUser user)

public Set<ApplicationUser> toSet ()

public Collection<ApplicationUser> values ()