2019.4.34
public class book {
public static ConcurrentHashMap<String, Long> map = new ConcurrentHashMap<>();
private static final Pattern IMG_PATTERN = Pattern.compile(".");
private ExecutorService executor = Executors.newCachedThreadPool();
private URL urlToProcess;
public static void main(String[] args) throws InterruptedException, ExecutionException, IOException {
Scanner input = new Scanner(System.in);
EventQueue.invokeLater(() ->
{
var frame = new ClassLoaderFrame();
frame.setTitle("ClassLoaderTest");
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.setVisible(true);
});
}
}