oncurrent.TimeUnit-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>invokeAny</h4>
<pre>public&nbsp;&lt;T&gt;&nbsp;T&nbsp;invokeAny(@NonNull
                       java.util.Collection&lt;? extends java.util.concurrent.Callable&lt;T&gt;&gt;&nbsp;tasks,
                       long&nbsp;timeout,
                       @NonNull
                       java.util.concurrent.TimeUnit&nbsp;unit)
                throws java.lang.InterruptedException,
                       java.util.concurrent.Ex