com.atlassian.crowd.model.user
Class Users

java.lang.Object
  extended by com.atlassian.crowd.model.user.Users

public final class Users
extends Object

Utility class for User

Since:
v2.7

Field Summary
static com.google.common.base.Function<User,String> NAME_FUNCTION
          A function that projects the user name
 
Method Summary
static Iterable<String> namesOf(Iterable<? extends User> users)
          Transforms users into their names.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME_FUNCTION

public static final com.google.common.base.Function<User,String> NAME_FUNCTION
A function that projects the user name

Method Detail

namesOf

public static Iterable<String> namesOf(Iterable<? extends User> users)
Transforms users into their names.

Parameters:
users - some users
Returns:
their names


Copyright © 2014 Atlassian. All Rights Reserved.