- 博客(11)
- 收藏
- 关注
转载 Class and object initializationpart-3
Page 3 of 4int second = 1 + first; can legally refer to first because first's declaration precedes second's declaration. However, it is illegal for int forwardReference = first; to refer to fi
2016-05-19 12:02:47 429
转载 Class and object initialization-part2
Page 2 of 4After studying ClassInitializationDemo4's source code, you might wonder how useful class block initializers are. After all, you could easily move all code from ClassInitializationDemo4'
2016-05-19 11:56:46 573
转载 Class and object initialization-part1
This article marks a milestone in Java 101's exploration of client-side Java, as well as the one year anniversary of the series. Jeff begins moving away from simpler Java language concepts toward more
2016-05-19 11:54:40 669
原创 Java字符串编码与解码
Java.nio.包用Charset类统一对字符集进行转换。字符集建立了两个Unicode码元序列与使用本地字符编码方式的字节序列之间的映射。可以通过调用静态的forName方法来获得一个Charset,只需要向这个方法传递一个官方字符集名字或它的别名:Charset cset=Charset.forName("UTF-8");当本地编码方式模式不能表示所有的Unicode字符,如果某个字符不能表
2016-05-16 16:40:24 977
转载 Java Performance Tips
Every little things add up. The overall performance of an application depends on the individual performance of its components. Here we list some of the Java programming tips to help your application
2016-05-08 21:20:41 581
转载 HashMap how to work
There are four things we should know about before going into internals of how HashMap works -HashMap works on the principal of hashing.Map.Entry interface - This interface gives a map entry (key-v
2016-05-03 15:13:59 321
转载 How HashMap works in java
Most common interview questions are “How HashMap works in java”, “How get and put method of HashMap work internally”. Here I am trying to explain internal functionality with an easy example. Rather th
2016-05-03 14:54:44 441
转载 Part 4 The Principles of Java Application Performance Tuning
This is the fifth article in the series of "Become a Java GC Expert". In the first issue Understanding Java Garbage Collection we have learned about the processes for different GC algorithms, about
2016-05-02 14:52:20 605
转载 Part 3 How to Tune Java Garbage Collection
This is the third article in the series of "Become a Java GC Expert". In the first issue Understanding Java Garbage Collection we have learned about the processes for different GC algorithms, about
2016-05-02 14:46:05 646
转载 Part 2 How to Monitor Java Garbage Collection
This is the second article in the series of "Become a Java GC Expert". In the first issue Understanding Java Garbage Collection we have learned about the processes for different GC algorithms, about
2016-05-02 14:27:33 658
转载 Part 1 Understanding Java Garbage Collection
What are the benefits of knowing how garbage collection (GC) works in Java? Satisfying the intellectual curiosity as a software engineer would be a valid cause, but also, understanding how GC works
2016-05-02 14:11:29 466
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人