32 lines
723 B
Java
32 lines
723 B
Java
package com.tenwa.reckon.util;
|
|
|
|
import java.util.HashMap;
|
|
import java.util.Map;
|
|
import java.util.Set;
|
|
|
|
public class MainTest {
|
|
public static void main(String[] args) {
|
|
/*Map<Integer, Boolean> switches = new HashMap<Integer, Boolean>();
|
|
for(int i = 1 ; i<=100 ; i++){
|
|
switches.put(i, true);
|
|
}
|
|
Set<Integer> keys = switches.keySet();
|
|
for(int i = 1 ; i<= 100 ;i++){
|
|
for(Integer key : keys){
|
|
if(key % i == 0){
|
|
switches.put(key, !switches.get(key));
|
|
}
|
|
}
|
|
}
|
|
for(int i = 1 ;i <= 100 ; i++){
|
|
if(!switches.get(i)){
|
|
System.out.println("±àºÅΪ"+i+"µÄ¿ª¹Ø×´Ì¬Îª¹Ø");
|
|
}
|
|
}*/
|
|
String fileName = "zhangc.xlsx";
|
|
System.out.println(fileName.substring(fileName.lastIndexOf(".")+1));
|
|
}
|
|
|
|
|
|
}
|