import java.util.HashMap;
public class Resume {
public static final String NAME = "White鱼";
public static final String CSDN_URL = "http://blog.csdn.net/soul_code";
public static final HashMap<String,Skills> skillList = new HashMap<String,Skills>();
public static abstract class Skills {
public abstract boolean study();
public Skills work(){
while (true) {
if(study()){
break;
}
}
return this;
}
}
static{
skillList.put("Java", new Skills() {
@Override
public boolean study() {
return true;
}
});
skillList.put("Android", new Skills() {
@Override
public boolean study() {
return true;
}
});
skillList.put("Web", new Skills() {
@Override
public boolean study() {
return true;
}
});
skillList.put("Js/Css/Html", new Skills() {
@Override
public boolean study() {
return true;
}
});
skillList.put("微信", new Skills() {
@Override
public boolean study() {
return true;
}
});
}
public Skills work(String skill) {
Skills skills = skillList.get(skill);
if(skills == null){
skills = skillList.put(skill, new Skills() {
@Override
public boolean study() {
for (int day = 0; day < 15 ; day++) {
// TODO study
}
return true;
}
});
}
return skills;
}
}
如何用Java代码写一封简历
最新推荐文章于 2024-09-26 20:07:18 发布