/**
* 书本:《Thinking In Java》
* 功能:关于class对象引用的各种关于class的方法
* 文件:ToyTest.java
* 时间:2015年4月12日19:21:32
* 作者:cutter_point
*/
package Lesson14TypeInformation.toys;
import static net.mindview.util.Print.*;...
分类:
编程语言 时间:
2015-05-17 09:23:48
阅读次数:
122
/**
* 书本:《Thinking In Java》
* 功能:为了对pet进行计数,我们做一个能跟踪各种不同类型的Pet的数量的工具,用map。这里使用动态instanceof()
* 我们可以使用Class.isAssignableFrom(),创建一个不局限于Pet的计数通用工具
* 文件:PetCount3.java
* 时间:2015年4月14日09:56:41
* 作者:cutt...
分类:
编程语言 时间:
2015-05-17 09:23:23
阅读次数:
127
问题描述:
[cpp] view
plaincopyprint?
class Stu //声明基类
{
public:
Stu(int n, string nam ); //基类构造函数
void display( ); //成员函数,输出基类数据成员
protected: ...
分类:
其他好文 时间:
2015-05-17 09:23:01
阅读次数:
125
public class Solution { public int[] plusOne(int[] digits) { int carry = 1; for (int i = digits.length -1; i >= 0; i--) { ...
分类:
其他好文 时间:
2015-05-17 09:16:59
阅读次数:
106
需求: 某电影院目前正在上映贺岁大片,共有100张票,而它有3个售票窗口售票,请设计一个程序模拟该电影院售票。两种方式实现A:继承Thread类 B:实现Runnable接1.首先我们利用方式A去实现: 1 package cn.itcast_06; 2 3 public class SellTi....
分类:
移动开发 时间:
2015-05-17 09:16:25
阅读次数:
160
public class Solution { public int removeDuplicates(int[] nums) { if (nums == null || nums.length == 0) { return 0; } ...
分类:
其他好文 时间:
2015-05-17 09:16:02
阅读次数:
134
public class Solution { public int removeElement(int[] nums, int val) { if (nums == null || nums.length == 0) { return 0; ...
分类:
其他好文 时间:
2015-05-17 09:14:17
阅读次数:
133
public class Solution { public void rotate(int[] nums, int k) { int n = nums.length; k = k % n; int[] res = new int[n]; ...
分类:
其他好文 时间:
2015-05-17 08:11:35
阅读次数:
94
本栏目(机器学习)下机器学习基石专题是个人对Coursera公开课机器学习基石(2014)的学习心得与笔记。所有内容均来自Coursera公开课Machine Learning Foundations中Hsuan-Tien Lin林轩田老师的讲解。(https://class.coursera.org/ntumlone-002/lecture)
第15讲-------Validation
...
分类:
其他好文 时间:
2015-05-17 07:08:21
阅读次数:
188
本栏目(机器学习)下机器学习技法专题是个人对Coursera公开课机器学习技法(2015)的学习心得与笔记。所有内容均来自Coursera公开课Machine Learning Techniques中Hsuan-Tien Lin林轩田老师的讲解。(https://class.coursera.org/ntumltwo-001/lecture)
第1讲-------Linear Support...
分类:
系统相关 时间:
2015-05-17 07:07:03
阅读次数:
622