小结主要讲述面向对象的优点,可扩展性高 示例代码如下: 我们往类中插入一个数据属性,只需在类中添加即可,对象不需做什么改动就可以访问,代码验证如下: 结果如下: ChinaChinaChina 证明都可以访问 插入一个函数属性,只需在类中添加即可,对象不需做什么改动就可以访问,代码验证如下: 结果如 ...
分类:
编程语言 时间:
2018-03-15 22:20:23
阅读次数:
233
这里有3个原因:1.所有的woker thread(工作线程; 辅助线程)都在运行其他的job2.scheduler(调度器)down了(关于这个down。我不太明确是shutdown了。。还是挂掉了。因此下文依旧用down。)3.任务被安排在过去的某一时刻启动(此可能为代码错误) 我的 我的解决方 ...
分类:
其他好文 时间:
2018-03-14 15:15:46
阅读次数:
419
Christopher Ategeka: How adoption worked for me 1. I experienced all the negative effects of poverty, from homelessness, eating out of trash piles, yo ...
分类:
其他好文 时间:
2018-03-11 17:20:32
阅读次数:
191
Say you have an array for which the ith element is the price of a given stock on day i. Design an algorithm to find the maximum profit. You may comple ...
分类:
其他好文 时间:
2018-03-09 10:37:05
阅读次数:
141
(因为写的真的是太好了,所以必须要转载) (因为写的真的是太好了,所以必须要转载) This is the first in a series of blog posts that details some of the inner workings of Kubernetes. If you ar ...
分类:
Web程序 时间:
2018-03-06 17:48:59
阅读次数:
226
Given an array nums, write a function to move all 0's to the end of it while maintaining the relative order of the non-zero elements. For example, giv ...
分类:
移动开发 时间:
2018-03-03 12:19:22
阅读次数:
176
Given a string, find the length of the longest substring without repeating characters. Examples: Given "abcabcbb", the answer is "abc", which the leng ...
分类:
其他好文 时间:
2018-03-03 12:18:35
阅读次数:
129
It is a powerful learning algoithm inspired by how the brain work. Example 1 - single neural network Given data ahout the size of houses on the real e ...
分类:
Web程序 时间:
2018-02-28 17:28:03
阅读次数:
214
前戏 获取gitlab中admin用户的private_token Groups API 获取某个组的详细 curl --header "PRIVATE-TOKEN: *********" http://192.168.10.7:8090/api/v4/groups/client #获取client ...
分类:
Windows程序 时间:
2018-02-28 12:51:29
阅读次数:
3806
Given a string, find the length of the longest substring without repeating characters. Examples: Given "abcabcbb", the answer is "abc", which the leng ...
分类:
其他好文 时间:
2018-02-19 17:27:37
阅读次数:
98