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;
}
}
点击查看更多内容
47人点赞
评论
共同学习,写下你的评论
评论加载中...
作者其他优质文章
正在加载中
感谢您的支持,我会继续努力的~
扫码打赏,你说多少就多少
赞赏金额会直接到老师账户
支付方式
打开微信扫一扫,即可进行扫码打赏哦