Skip to content

Instantly share code, notes, and snippets.

View accidentlywoo's full-sized avatar
😃
smile steady love

accidently accidentlywoo

😃
smile steady love
View GitHub Profile
@accidentlywoo
accidentlywoo / Stream.java
Last active March 17, 2021 00:42
week4-Work-Stream
package ..?
import java.util.Arrays;
import java.util.List;
public class StreamTest2 {
class Member{
private String name;
private int penaltyCount;
private String nickName;
public class ThreadTest implements Runnable{
public ThreadTest(){ }
public void run(){
System.out.println(Thread.currentThread().getName()+" : Thread Start.");
for (int i = 0; i < 10; i++){
try {
Thread.sleep(1000);
System.out.println(i+1+"초");
}catch (Exception e){
e.printStackTrace();