Write the method that counts how many Future objects in the list are finished.
Callable and Future
How many tasks are finished
Report a typo
Write a program in Java 17
import java.util.*;
import java.util.concurrent.*;
class FutureUtils {
public static int howManyIsDone(List<Future> items) {
// write your code here
}
}
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.