Skip to content

Instantly share code, notes, and snippets.

View mikeyang01's full-sized avatar
🎶

Mike mikeyang01

🎶
  • Softbank
  • Tokyo
View GitHub Profile
public class LinkedList_deleteIndex {
public class LinkedList<E> {
private class Node{
public E e;
public Node next;
public Node(E e, Node next){
this.e = e;
this.next = next;
public class Test {
public static void main(String[] args) {
ExecutorService executor = Executors.newCachedThreadPool();
Task task = new Task();
Future<Integer> result = executor.submit(task);
executor.shutdown();
try {
Thread.sleep(1000);
} catch (InterruptedException e1) {