Base64 & Hex (Usage example: decode Base64 string and convert it into Hex) |
|
|
|
|
|
TreeMap and TreeSet
(Java TreeMap Is used to implement Map interface and NavigableMap along with the AbstractMap Class. Java TreeSet class implements the Set interface that uses a tree for storage.) |
|
|
|
|
|
CodePoints API (This API falls into two categories: methods that convert between char and code point values and methods that verify the validity of or map code points.) |
|
|
|
|
|
BigInteger & BigDecimal (You can use BigDecimal for high-precision arithmetic. You also can use it for calculations requiring control over scale and rounding off behavior. One such example is calculations involving financial transactions. BigInteger is used when integers involved are larger than the limit of long type. It is widely used in security and cryptography applications.) |
|
|
|
|
|
Memory-optimized collections for primitives (Trove as a reference) |
|
|
|
|
|
Multimap and Multiset
(A Multimap can store more than one value against a key. Both the keys and the values are stored in a collection, and considered to be alternates for Maps. System can use a Multiset to keep track of how many times each action occurred.) |
|
|
|
|
|
PriorityQueue (A priority queue is a special type of queue wherein all the elements are ordered as per their natural ordering or based on a custom Comparator supplied at the time of creation. So when you remove an element from the priority queue, the least element according to the specified ordering is removed first.) |
|
|
|
|
|
Crypto primitives (Secure hashes like SHA, block ciphers) |
|
|
|
|
|
String tokenizing (String tokenization is a process where a string is broken into several parts, each part is called a token. It works better for mixed-type cases) |
|
|
|
|
|
String Formatting API (An API to support printf-like formatting of an arbitrary objects, including but not limited to numbers rounding, fixed precision floating point representation, padding, and date time support) |
|
|
|
|
|
UUID type (A UUID is a class that represents an immutable Universally Unique Identifier. A UUID represents a 128-bit long value that is unique to all practical purposes. It is used to identify information in the computer system.) |
|
|
|
|
|
|
Testing framework |
|
|
|
|
|