攻城狮

攻城狮

JUST DO IT !

    • free web hit counter
    • 主页|Home
    • 分类|Category
    • 简介|About

日期处理

12345// String -> DateSimpleDateFormat.parse(String);// Date -> StringSimpleDateFormat.format(date); |Letter |Description |Examp

2016-08-30

Main()如何启动的?

12345678910public class HelloWorld { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method

2016-08-30

Memory Leaks

什么是内存泄露?一些对象不再被应用程序使用了,但是GC却不能回收它们,因为还有引用指向它们。 为啥会发生?当生命周期长的对象(假设叫A)持有一个生命周期短的对象(假设叫B)引用,B没有用时却不能被及时销毁。 如何避免? 注意集合类的使用:HashMap, ArrayList等。当

2016-08-29

HashTable vs HashMap vs TreeMap

||HashMap | HashTable | TreeMap||——|——|——|——||顺序 |no | no | yes ||null(k-v) | yes-yes | no-no |

2016-08-29

怎样初始化得到一不可变map?

初始化一个不可变map,我们常常的做法是用修饰符“static final”;如下代码所示,然而事实是初始化过后,我们人然可以继续操作该map,比如:Test.map.put(3,”Three”);所以,这样的方法并没有真正的达到我们的要求。123456789//code 1 p

2016-08-29

questions of Java Strings

Can we use string for switch statement?Yes to version 7. From JDK 7, we can use string as switch condition. Before version 6, we can not use

2016-08-28

Longest Palindromic Substring(LeetCode)

Question:Longest Palindromic SubstringGiven a string S, find the longest palindromic substring(最长回文子串)in S. You may assume that the maximu

2016-08-24

Longest Substring Without Repeating Characters(LeetCode)

Question:Longest Substring Without Repeating CharactersGiven a string, find the length of the longest substring without repeating characte

2016-08-22

String to Integer(LeetCode)

Question:String to IntegerImplement atoi to convert a string to an integer. Hint: Carefully consider all possible input cases. If you want

2016-08-22

Reverse Integer(LeetCode)

Question:Reverse IntegerReverse digits of an integer. Example1: x = 123, return 321 Example2: x = -123, return -321 SourceCode:s1123456789

2016-08-22
Prev123456Next

标签云

7788 DataBase DesignPattern JAVA JS LeetCode Mybatis NoSQL OO OS Spring UML XML hexo linux 思想聚焦 排序

友情链接

  • stackoverflow
  • tutorialspoint
  • importNew
  • HashNode
  • HowToDoInJava
  • CSDN
  • 推酷
  • 码农圈
  • 蓝之青
  • 全栈社区
  • 开发者头条
  • 美团点评技术
RSS 订阅

未来已经来临,只是尚未流行!
Don’t worry if it doesn’t work right. If everything did, you’d be out of a job.

Powered by hexo and Theme by Jacman © 2016 Emerson