public class UserSet extends Object
This "collection" will work properly with shadowed users, mixed case usernames and the different hashcodes of ApplicationUser and Directory Users.
Constructor and Description |
---|
UserSet(Collection<ApplicationUser> users) |
Modifier and Type | Method and Description |
---|---|
void |
add(ApplicationUser user) |
boolean |
contains(ApplicationUser user) |
Set<ApplicationUser> |
toSet() |
Collection<ApplicationUser> |
values() |
public UserSet(Collection<ApplicationUser> users)
public boolean contains(ApplicationUser user)
public void add(ApplicationUser user)
public Collection<ApplicationUser> values()
public Set<ApplicationUser> toSet()
Copyright © 2002-2018 Atlassian. All Rights Reserved.