环境: 借此机会顺便提一下 Maven Project 的创建,会了的朋友或还不想了解 Maven 的朋友,可以略过创建过程。 创建一个 Maven Project:New --> Other --> Maven Project 在弹出的对话框里,如果你想修改你项目的存放路径你可以改一下,其他的默认 ...
分类:
Web程序 时间:
2016-12-28 11:45:35
阅读次数:
313
COMPUTER ORGANIZATION AND ARCHITECTURE DESIGNING FOR PERFORMANCE NINTH EDITION Like sign magnitude, twos complement representation uses the most signi ...
分类:
其他好文 时间:
2016-12-28 02:05:54
阅读次数:
194
Scala 访问修饰符基本和Java的一样,分别有:private,protected,public。 如果没有指定访问修饰符符,默认情况下,Scala对象的访问级别都是 public。 Scala 中的 private 限定符,比 Java 更严格,在嵌套类情况下,外层类甚至不能访问被嵌套类的私有... ...
分类:
其他好文 时间:
2016-12-27 20:25:46
阅读次数:
136
枚举 枚举 设置底层类型和显式值隐式成员编号 位标志 Flags特性使用位标志的示例 关于枚举的补充 枚举 枚举 枚举是由程序员定义的类型与类或结构一样。 与结构一样,枚举是值类型,因此直接存储它们的数据,而不是分开存储成引用和数据 枚举只有一种类型的成员:命名的整数值常量 例:枚举示例 每个枚举类 ...
John has n tasks to do. Unfortunately, the tasks are not independent and the execution of one task is only possible if other tasks have already been e ...
分类:
编程语言 时间:
2016-12-27 00:59:30
阅读次数:
214
1、打开eclipse,help--> Eclipse MarketPlace...,搜索输入“subclipse”,点击安装,一路按向导安装; 2、安装成功后,在Window --> Show View --> Other...-->SVN-->SVN资源库;将svn资源库视图添加到主面板; 3、 ...
分类:
系统相关 时间:
2016-12-27 00:01:06
阅读次数:
325
Array 1. 数组定义:有序列,可容纳任意元素, 下标由0开始 1 array = [1, 'Bob', 4.33, 'another string'] 2 puts array.first #=>1 3 p array.last #=>another string 4 p array[2] # ...
分类:
其他好文 时间:
2016-12-26 21:31:59
阅读次数:
339
什么是命名空间?从广义上来说,命名空间是一种封装事物的方法。在很多地方都可以见到这种抽象概念。例如,在操作系统中目录用来将相关文件分组,对于目录中的文件来说,它就扮演了命名空间的角色。具体举个例子,文件 foo.txt 可以同时在目录/home/greg 和 /home/other 中存在,但在同一 ...
分类:
Web程序 时间:
2016-12-25 18:16:58
阅读次数:
231
2016年12月24日 星期六 --出埃及记 Exodus 21:19the one who struck the blow will not be held responsible if the other gets up and walks around outside with his sta ...
分类:
其他好文 时间:
2016-12-25 13:46:37
阅读次数:
228
2016年12月23日 星期五 --出埃及记 Exodus 21:18"If men quarrel and one hits the other with a stone or with his fist and he does not die but is confined to bed,人若彼 ...
分类:
其他好文 时间:
2016-12-25 13:32:10
阅读次数:
182