This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import joptsimple.ValueConverter; | |
import java.util.HashMap; | |
import java.util.Map; | |
import static org.springframework.core.GenericTypeResolver.resolveTypeArgument; | |
public class Pokus { | |
public static void main(String... args) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.*; | |
import java.util.concurrent.*; | |
import java.util.stream.*; | |
public class TrueStory { | |
private static final int SLEEP = 1; | |
private final int count = 10; | |
private final ExecutorService service = Executors.newFixedThreadPool(count); |
OlderNewer