We can construct our TreeSet with our own Comparator, however, we need to be careful that it conforms to the specific... Full Article
Javadoc specifies the details of our methods using special tags such as @param and @return. After Java 5, we did not ... Full Article
Reflection returns the modifiers of class elements as an unqualified int bitset. Unfortunately some of the bits have ... Full Article
JEP 254 replaced the char[] in our Strings with byte[]. How much memory does this save in our Strings? In this newsle... Full Article
BigInteger has clever algorithms for multiplying large numbers. Unfortunately multiply() is single-threaded. Until no... Full Article
JEP 290 introduced the ObjectInputFilter, which we can use to filter objects returned from an ObjectInputStream. We e... Full Article