解决问题-》有的放矢 1.spark 报错 Initial job has not accepted any resources; check your cluster UI to ensure that workers are registered and have sufficient reso ...
分类:
其他好文 时间:
2021-04-19 15:56:23
阅读次数:
0
| # java 集合面试 | | | | ## 一.各类集合框架的数据结构总结 | | | | ### 1.Collection接口下的集合 | | | | | | | | #### 1.1List接口 | | | | - Arraylist: Object[]数组 | | - Vector:Ob ...
分类:
编程语言 时间:
2021-04-19 15:39:19
阅读次数:
0
最近响应群里朋友完整开源之前那个博客系统,准备重构一番项目的代码,对数据库中的表决定都添加 create_by、update_by、create_time、update_time、del_flag 等字段。 当时添加表的时候没有设置默认值,现在要对二三十张表某个字段,如对 del_flag 设置默认 ...
分类:
数据库 时间:
2021-04-19 14:53:46
阅读次数:
0
public class MyInfo { public string Name { get; set; } public double Diff { get; set; } public string File { get; set; } } static void Main(string[] a ...
前端:"/xx?user="+JSON.stringify(rows) es5 后端 @RequestParam String user user = new String(user.getBytes("8859_1"),"utf8"); // 防止中文乱码 List<Map<String,Obje ...
分类:
其他好文 时间:
2021-04-19 14:33:34
阅读次数:
0
匿名函数 ::操作符 A static method (ClassName::methName) An instance method of a particular object (instanceRef::methName) A super method of a particular obje ...
分类:
编程语言 时间:
2021-04-16 12:22:24
阅读次数:
0
问题 let badge = [{id: 323, badge: 10},{id: 323, badge: 10},{id: 311, badge: 1},{id: 311, badge: 1},{id: 311, badge: 1},{id: 311, badge: 1},{id: 352, ba ...
分类:
编程语言 时间:
2021-04-16 11:50:48
阅读次数:
0
1:对synchronized的理解: 1.1 :假设t1和t2并发,开始执行时肯定有先有后 1.2:假设t1先执行,看到synchronized这个时候自动找“后面的共享对象”的对象锁,找到后并占有锁,然后执行后面同步代码块,在程序执行过程一直都是占有这把锁,直到同步代码块结束,锁才释放。 1.3 ...
分类:
其他好文 时间:
2021-04-15 12:38:55
阅读次数:
0
属性名表达式 用途:允许表达式作为属性名、方法名,表达式需要写在方括号里 说明: 注意:属性名表达式时一个对象时,会自动将对象转为字符串 例子: let obj = { [propKey]: true, ['a' + 'bc']: 123 }; let obj = { ['h' + 'ello']( ...
分类:
其他好文 时间:
2021-04-15 12:18:28
阅读次数:
0
You have a card deck of n cards, numbered from top to bottom, i. e. the top card has index 1and bottom card — index n. Each card has its color: the 𝑖 ...
分类:
其他好文 时间:
2021-04-15 12:03:00
阅读次数:
0