journee dev dictionnaire
This commit is contained in:
0
TP_DEV3.2/Dictionnaire/GestionCouleurs.java
Normal file
0
TP_DEV3.2/Dictionnaire/GestionCouleurs.java
Normal file
BIN
TP_DEV3.2/Dictionnaire/Traces.class
Normal file
BIN
TP_DEV3.2/Dictionnaire/Traces.class
Normal file
Binary file not shown.
38
TP_DEV3.2/Dictionnaire/Traces.java
Normal file
38
TP_DEV3.2/Dictionnaire/Traces.java
Normal file
@@ -0,0 +1,38 @@
|
||||
import java.util.*;
|
||||
import java.lang.*;
|
||||
|
||||
public class Traces {
|
||||
|
||||
|
||||
public static void main(String[] args){
|
||||
|
||||
|
||||
Map<Thread, StackTraceElement[]> traces = Thread.getAllStackTraces();
|
||||
|
||||
for(Thread t : traces.keySet()){
|
||||
System.out.println(t.getName()+":");
|
||||
StackTraceElement[] pile = traces.get(t);
|
||||
|
||||
for(StackTraceElement e : pile){
|
||||
|
||||
|
||||
System.out.println(""+e);
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
System.out.println();
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
752
TP_DEV3.2/Dictionnaire/rgb.txt
Normal file
752
TP_DEV3.2/Dictionnaire/rgb.txt
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user