17. Computing mathematical absolute value for int/long and result overflow Mathematical absolute value is notated by placing the value between…

18. Computing the quotient of the arguments and result overflow Let’s start with two simple computations as follows: -4/-1 =…

30. Filling a long array with pseudo-random numbers When we think to fill up a large array with data, we…

UTF-8 UTF-8 is an encoding scheme for Unicode that represent every code point on 1, 2, 3, or 4 bytes.…

Unicode In a nutshell, Unicode (https://unicode-table.com/en/) is a universal encoding standard capable to encode/decode every possible character in the world…

In ASCII encoding, the letter A is 65, the letter B is 66, and so on. In Java, we can…

Linking Adding links in code can be done via the @link tag. The common arguments are substring="…" and target="…". For…

36. Returning an identity string So, what's an identity string? An identity string is a string built from an object…

38. Invoking default methods from Proxy instances Starting with JDK 8, we can define default methods in interfaces (covered in…

39. Converting between bytes and hex-encoded strings Converting bytes to hexadecimal (and vice-versa) is a common operation in applications that…