一、基础知识: 1、JVM、JRE和JDK的区别: JVM(Java Virtual Machine):java虚拟机,用于保证java的跨平台的特性。 java语言是跨平台,jvm不是跨平台的。 JRE(Java Runtime Environment):java的运行环境,包括jvm+java的 ...
分类:
编程语言 时间:
2019-04-10 17:51:04
阅读次数:
155
Given a linked list, return the node where the cycle begins. If there is no cycle, return null. Note: Do not modify the linked list. Follow up:Can you ...
分类:
其他好文 时间:
2019-04-09 16:55:57
阅读次数:
173
我们使用的电脑用的时间长了,会越来越卡,很大的原因是因为在安装时默认安装在C盘,C盘是运行盘,C盘东西多了,显然电脑就会卡 一个好习惯就是平时在安装软件时,自己手动设置安装路径 还有一个办法,就是清理一次C盘,但是C盘很多都是不能删除的,要是一些系统的运行文件不小心删除了,可能会导致你的计算机无法正 ...
分类:
其他好文 时间:
2019-04-07 12:42:09
阅读次数:
139
1. 原始题目 Given a linked list, return the node where the cycle begins. If there is no cycle, return null. To represent a cycle in the given linked list, ...
分类:
其他好文 时间:
2019-04-06 12:34:36
阅读次数:
111
"原文链接 Netty中ByteBuf的引用计数线程安全的实现原理 " ByteBuf 实现了ReferenceCounted 接口,实现了引用计数接口,该接口的retain(int) 方法为了保证线程安全使用了自旋锁来确保操作安全,那么选择了比较重要的实现类 来查看这一特性. 在JDK 1.5 之 ...
分类:
编程语言 时间:
2019-04-05 23:53:36
阅读次数:
386
本文浅谈下对Tomcat和Servlet总体的理解,初学时有用过一段时间,但当时疲于应对如何xml配置和使用,对他们的理解就像是一个黑匣子。现在回顾一下帮助自己加深网络的理解。开始还是先推荐我看的文章和书。 以下都是IBM Developer上的文章,该网站上还是有很多优质文章。 https://w ...
分类:
其他好文 时间:
2019-04-01 13:00:39
阅读次数:
192
写一个 setter 方法用于完成 @property (nonatomic, retain) NSString *name 写一个 setter 方法用于完成 @property (nonatomic, copy) NSString *name 答: // retain - (void)setNa ...
分类:
其他好文 时间:
2019-03-29 17:39:19
阅读次数:
291
一.修改快捷键方法: 点击 File –> Settings(Ctrl+Alt+S), –> 打开设置对话框, 在左侧的导航框中点击 KeyMap, 然后选择Main menu –> Code –> Completion. 接着需要做两件事 1.移除原来的Cycle Expand Word 的 Al ...
分类:
其他好文 时间:
2019-03-28 21:51:44
阅读次数:
187
Write a program to find the node at which the intersection of two singly linked lists begins. For example, the following two linked lists: begin to in ...
分类:
其他好文 时间:
2019-03-28 09:51:14
阅读次数:
118
微服务在当下引起广泛关注,成为文章、博客、社交媒体讨论和大会演讲的热点;在 Gartner 的 “Hype Cycle” 上排名也非常靠前。与此同时,在软件社区也有人质疑微服务并非新事物。反对者认为微服务只是 SOA (Service Oriented Architecture)的二度包装。然而,无 ...
分类:
其他好文 时间:
2019-03-26 16:39:29
阅读次数:
198