com.atlassian.crowd.search.query
Class QueryUtils
java.lang.Object
com.atlassian.crowd.search.query.QueryUtils
public class QueryUtils
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QueryUtils
public QueryUtils()
checkAssignableFrom
public static <U> Class<U> checkAssignableFrom(Class<U> givenType,
Class<?>... types)
- Check whether
givenType
is assignable from any of the types
- Type Parameters:
U
- the type of givenType
- Parameters:
givenType
- the type to checktypes
- the possible types givenType
should be assignable from.
- Returns:
givenType
if it is assignable from any of the types.
- Throws:
IllegalArgumentException
- if givenType
is not assignable to any of the types.
Copyright © 2013 Atlassian. All Rights Reserved.