public    interface Icolor{

       int apply(int x,int y);
} public enum color implements Icolor{ plus("+"){ public int apply(int x,int y){ return x+y;}
},
min("-"){ public int apply(int x,int y){ return x-y;}
} ; private final String num;
color(String num){
this.num=num;
} } //调用 color.plus.apply(100, 1)

最新文章

  1. jquery “做页面滚动到某屏时改变状态标题” 所用知识点记录
  2. lintcode-【中等】恢复IP地址
  3. ASM:《X86汇编语言-从实模式到保护模式》第13章:保护模式下内核的加载,程序的动态加载和执行
  4. nginx解析php请求为404
  5. hdu 1115 Lifting the Stone
  6. 转移部分博客到CSDN之中
  7. 【转】java中静态代码块的用法 static用法详解
  8. linux 版本家族
  9. ER 和 数据库关系模式
  10. c++中的const参数,const变量,const指针,const对象,以及const成员函数
  11. Mysql ODBC 5.1 Driver免安装脚本
  12. [Unity]C#中 将XML和实体类之间进行相互转换的工具类
  13. 移动Web开发小结
  14. ZooKeeper 初体验
  15. es6初级之解构----之一
  16. pta l2-13(红色警报)
  17. java.lang.IllegalArgumentException: Minimum column number is 0
  18. 桶排序——PowerShell版
  19. 爬虫之cookiejar模块
  20. Ruby环境搭建

热门文章

  1. 解决IIS无法访问远程映射目录
  2. pat 团体天梯赛 L2-007. 家庭房产
  3. php中Mail_mimeDecode无法读取foxmail等eml文件正文问题
  4. FTP上传文件服务器python实现
  5. java 仓库maven
  6. Codeforces 898 C.Phone Numbers-STL(map+set+vector)
  7. TopCoder SRM 682 Div1 Problem 450 SuccessfulMerger (环套树 + 分类讨论)
  8. ui设计的好网站(转载)
  9. ARM, X86和MIPS
  10. Vue中this.$router.push参数获取