10 2018 档案

java单例 方式对比 防止序列化/反射攻击 volatile防止指令重排优化
摘要:https://blog.csdn.net/u014672511/article/details/79774847 https://www.cnblogs.com/345214483-qq/p/6472158.html https://www.cnblogs.com/lthIU/p/6240066. 阅读全文

posted @ 2018-10-24 15:30 CreatorKou 阅读(169) 评论(0) 推荐(0)

java httprequest编码/解码
摘要:http://jiapumin.iteye.com/blog/1006144 在Java中,String的getBytes()方法是得到一个操作系统默认的编码格式的字节数组。这个表示在不通OS下,返回的东西不一样! String.getBytes(String decode)方法会根据指定的deco 阅读全文

posted @ 2018-10-24 09:57 CreatorKou 阅读(843) 评论(0) 推荐(0)

c struct pointer cast and object oriented
摘要:https://stackoverflow.com/questions/3766229/casting-one-struct-pointer-to-another-c Casting one struct pointer to another - C Ask Question Casting one 阅读全文

posted @ 2018-10-24 00:24 CreatorKou 阅读(236) 评论(0) 推荐(0)

c struct pointer cast and "object oriented"
摘要:https://stackoverflow.com/questions/3766229/casting-one-struct-pointer-to-another-c Casting one struct pointer to another - C Ask Question Casting one 阅读全文

posted @ 2018-10-24 00:23 CreatorKou 阅读(207) 评论(0) 推荐(0)

java线程的生命周期(状态:new start wait sleep stop yield)
摘要:JAVA基础知识之多线程——线程的生命周期(状态) 线程有五个状态,分别是新建(New)、就绪(Runnable)、运行(Running)、阻塞(Blocked)和死亡(Dead)。 新建和就绪 程序使用new会新建一个线程,new出的对象跟普通对象一样,JVM会为其分配内存,初始化成员变量等,此时 阅读全文

posted @ 2018-10-22 14:44 CreatorKou 阅读(444) 评论(0) 推荐(0)

java 线程interupt stop(dep)
摘要:https://blog.csdn.net/zbw18297786698/article/details/53432879/ 1、Java中API自带的stop()方法,来终止线程 查阅JDK,不难发现Thread提供了一个stop()方法,但是stop()方法是一个被废弃的方法。为什么stop() 阅读全文

posted @ 2018-10-22 14:33 CreatorKou 阅读(307) 评论(0) 推荐(0)

java condition await signal signalall对比wait notify notifyall
摘要:http://www.cnblogs.com/dolphin0520/p/3920385.html Java并发编程:线程间协作的两种方式:wait、notify、notifyAll和Condition 在前面我们将了很多关于同步的问题,然而在现实中,需要线程之间的协作。比如说最经典的生产者-消费者 阅读全文

posted @ 2018-10-22 11:55 CreatorKou 阅读(2169) 评论(0) 推荐(0)

java lock相对于synchronized的优势
摘要:https://www.cnblogs.com/dolphin0520/p/3923167.html 阅读全文

posted @ 2018-10-22 11:30 CreatorKou 阅读(184) 评论(0) 推荐(0)

java synchronized内置锁/对象锁/类锁
摘要:java 内置锁 : 每个 java对象 都可以用做一个实现同步的锁,这些锁成为内置锁。线程进入同步代码块或方法的时候会自动获得该锁,在退出同步代码块或方法时会释放该锁。获得内置锁的唯一途径就是进入这个锁的保护的同步代码块或方法。java 内置锁是一个互斥锁,这就是意味着最多只有一个线程能够获得该锁 阅读全文

posted @ 2018-10-22 10:11 CreatorKou 阅读(256) 评论(0) 推荐(0)

javaee学习资源1021
只有注册用户登录后才能阅读该文。

posted @ 2018-10-21 21:41 CreatorKou 阅读(4) 评论(0) 推荐(0)

navicate10破解版 in win
摘要:http://youzfx.cn/resource/1 阅读全文

posted @ 2018-10-21 19:28 CreatorKou 阅读(305) 评论(0) 推荐(0)

mysql5.7.23免安装配置说明in win7
摘要:1.官网下载mysql-5.7.23-winx64.zip, 不是installer; 2.解压缩,配置环境变量->bin/ 3.解压的目录下新建my.ini,以下内容: [mysqld] basedir=D:\Program Files\mysql-5.7\ datadir=D:\Program 阅读全文

posted @ 2018-10-21 16:36 CreatorKou 阅读(479) 评论(0) 推荐(0)

ubuntu安装intellij IDEA ultimate破解
摘要:1.下载ideaIU-2018.2.5.tar.gz https://www.jetbrains.com/idea/download/download-thanks.html?platform=linux 2.解压 tar -xzvf ideaxxxx.tar.gz 安装选择 evaluate fr 阅读全文

posted @ 2018-10-17 11:17 CreatorKou 阅读(3284) 评论(0) 推荐(0)

java1015 leetcode1 twosum approach2 Map-doc generic PESC type argument/(? extends | super %bounded) parameterized type
摘要:leetcode1 twosum approach2: https://leetcode.com/problems/two-sum/solution/# Map-doc->hashmap: https://docs.oracle.com/javase/8/docs/api/java/util/Has 阅读全文

posted @ 2018-10-15 21:49 CreatorKou 阅读(124) 评论(0) 推荐(0)

笔试题学习(dp,重叠子问题,卡特兰数,手电过桥,最长公共子序列)
摘要:卡特兰数:https://blog.csdn.net/doc_sgl/article/details/8880468 dp,重叠子问题:https://www.cnblogs.com/hapjin/p/5572483.html 美团2016校招笔试题:https://zhuanlan.zhihu.c 阅读全文

posted @ 2018-10-10 11:31 CreatorKou 阅读(172) 评论(0) 推荐(0)

导航