Autoplay
Autocomplete
Previous Lesson
Complete and Continue
Bits&Bytes
Chapter 1 - Introduction to Number Bases
1. Welcome: Course Origin, Expected Outcomes, Who it is for, Code Samples (4:32)
2. What are bits, bytes and nibbles? (2:54)
3. How many bytes does each primitive type use in Java? (6:10)
4. Converting between base 10 (decimal) and base 5 (9:55)
5. Converting between decimal and binary (2:59)
6. Converting between binary and octal (5:21)
7. Converting between binary and hexadecimal (5:35)
Chapter 2 - Bitwise Operators
8. Bitwise operators OR (|) and AND (&) (11:29)
9. Bitwise operator XOR (^) and COMPLEMENT (~) (6:06)
10. Shift left << (6:58)
11. Shift right, signed >> and unsigned >>> (11:15)
Chapter 3 - Exploring Bits Inside a Number
12. Writing a BitPrinter (18:25)
13. Exploring bits in integer values and why ~0 == -1 (8:24)
14. Masking individual bits inside a number (14:03)
Chapter 4 - 2's Complement and Floating Point Numbers
15. Why Math.abs(num) might be negative (9:02)
16. Exploring how floating point numbers work (17:14)
Chapter 5 - Hashing
17. Evolution of hash() in Java HashMap (15:16)
18. Minimizing bucket collisions in HashMap (11:32)
Chapter 6 - Practical Application of Bit Magic Inside the JDK
19. java.util.BitSet (example usage ArrayList.removeIf in Java 8) (14:47)
20. EnumSet vs bit masking (example usage Spliterator) (10:43)
21. Finding midpoint of two ints without overflowing (from Spliterators) (5:07)
22. Modifiers in Reflection (7:27)
Chapter 7 - Conclusion
23. Conclusion (2:19)
Teach online with
17. Evolution of hash() in Java HashMap
Lesson content locked
If you're already enrolled,
you'll need to login
.
Enroll in Course to Unlock