public static void ourInterruptMethod() { for (int i = 0; i < threads.size(); i++) { threads.get(i).interrupt(); } }