结论:枚举类型是引用类型,不属于原始数据类型,它的每个具体值都引用一个特定的对象。相同的值则引用同一个对象。可以使用“==”和equals()方法直接比对枚举变量的值,换句话说,对于枚举类型的变量,“==”和equals()方法执行的结果是等价的。 二、TestDouble.java测试浮点数 结论 ...
分类:
编程语言 时间:
2016-10-06 15:02:12
阅读次数:
196
本文参考http://www.prglab.com/cms/pages/c-tutorial/advanced-data/pointers.php http://blog.csdn.net/ameyume/article/details/8220832 1.函数指针 函数指针是一个指针,其指向的是一 ...
分类:
编程语言 时间:
2016-10-04 11:53:40
阅读次数:
223
本文参考http://www.prglab.com/cms/pages/c-tutorial/advanced-data/pointers.php 1.存储其它变量地址的变量(如下面例子中的address),我们称之为指针(pointer)。 2.地址操作符/去引用操作符 在变量名标识符前面添加的与 ...
分类:
编程语言 时间:
2016-10-03 17:04:41
阅读次数:
131
In this tutorial we are going to learn how we can can configure redirects in the angular 2 router configuration. We are also going to see again anothe ...
分类:
其他好文 时间:
2016-10-03 00:08:08
阅读次数:
170
In this tutorial we are going to learn how we can can configure redirects in the angular 2 router configuration. We are also going to see again anothe ...
分类:
其他好文 时间:
2016-10-03 00:03:31
阅读次数:
157
全栈增长工程师实战 http://growth-in-action.phodal.com/ django-rest-framework tutorial https://github.com/tomchristie/django-rest-framework/blob/bb56ca46ed6c07d ...
分类:
其他好文 时间:
2016-10-01 22:12:12
阅读次数:
129
居然使用 TyptScript... 先贴手册地址:http://www.typescriptlang.org/docs/tutorial.html。 先要接受一个诡异的写法: 首先支持了 private、public 类的对象名在前:loadingView 类的类型名在后:LoadingUI(在J ...
分类:
其他好文 时间:
2016-10-01 22:05:47
阅读次数:
747
In this tutorial we are going to learn how we can to configure an can activate route guard in the Angular 2 router. We are going to implement the conc ...
分类:
其他好文 时间:
2016-09-30 21:34:52
阅读次数:
699
In this tutorial we are going to learn how we can to configure an exit guard in the Angular 2 Router. We are going to learn how to use a CanDeactivate ...
分类:
其他好文 时间:
2016-09-30 21:15:19
阅读次数:
218
In this tutorial we are going to learn how we can accidentally creating memory leaks in our application while using the Angular 2 router. We are going ...
分类:
其他好文 时间:
2016-09-29 02:09:49
阅读次数:
185