public static <T> T any(List<T> from) {
		return from.get(random.nextInt(from.size()));
	}
Get the any element from list.


<code>
import static net.ngrinder.util.GrinderUtil.*
...
def values = [1,2,3,4,5]
def selected = any(values)
</code>

@param from list
@param <T>  element type
@return any element in the list
@since 3.2.3
ngrinder-runtime/src/main/java/net/grinder/util/GrinderUtils.java