Commit Graph

116 Commits

Author SHA1 Message Date
Tristan B. Velloza Kildaire 25a3bc4d73 Notes
- Added scanned in notes
2023-10-21 13:09:53 +02:00
Tristan B. Velloza Kildaire cbb3e45c6e Exam day
- Wish me luck
2023-10-13 09:54:42 +02:00
Tristan B. Velloza Kildaire 033faac85c More Streams
- Added unrelated things
2023-10-12 13:12:26 +02:00
Tristan B. Velloza Kildaire da3b919140 Even More OOP
- Added
2023-10-12 13:12:18 +02:00
Tristan B. Velloza Kildaire 9b64b6869a Modules
- Playing with `opens` and `open` modules
- Added a service interface, implementation and client usage example
2023-10-12 08:48:32 +02:00
Tristan B. Velloza Kildaire dfd6f3af05 Flow
- Bumped

Basics

- Bumped
2023-10-12 08:47:32 +02:00
Tristan B. Velloza Kildaire 93df7201bb DB
- Updated DB file
2023-10-12 08:47:12 +02:00
Tristan B. Velloza Kildaire 69cd2fadd6 Modules
- Practiced using modules
- This means using `export`, `requires` and `requires transitive`
- Also how to compile-in the `module-info.java`, make a `jar` file and re-use it later
2023-10-04 10:16:12 +02:00
Tristan B. Velloza Kildaire 24f9448c8a Modules
- Bgein
2023-10-01 13:45:06 +02:00
Tristan B. Velloza Kildaire a4a05733e6 MoreConcurrency
- Updated
2023-10-01 13:44:12 +02:00
Tristan B. Velloza Kildaire 2c2f6a4acf Misc
- Added usage of `AtomicInteger`
2023-10-01 13:43:45 +02:00
Tristan B. Velloza Kildaire 95b08d21ca MoreCollections
- Added example for the static `Comparator` class's comparators
2023-09-28 18:09:41 +02:00
Tristan B. Velloza Kildaire 3fcdf685e3 MoreCollections
- Fixed typo
2023-09-28 16:53:05 +02:00
Tristan B. Velloza Kildaire cf7ba35e73 MoreCollections
- Added comment
2023-09-28 16:49:11 +02:00
Tristan B. Velloza Kildaire d6205d2047 MoreCollections
- Added information about reversing
2023-09-28 16:48:04 +02:00
Tristan B. Velloza Kildaire b47a39f7ac MoreCollections
- Showd that whilst the `ArrayList` type HAS a `srt(...)` methdo, the `List` interface doesn't
- The `Cllections` class DOES however have sorting methods that can opertae on `List`-based types
2023-09-28 16:38:37 +02:00
Tristan B. Velloza Kildaire e4bb4a1058 MoreCollections
- For new work to practice
2023-09-28 16:26:30 +02:00
Tristan B. Velloza Kildaire b909ddb6a4 MoreStreams
- Added example of `flatMap()`
2023-09-26 14:04:42 +02:00
Tristan B. Velloza Kildaire c628813d30 MoreStreams
- Added examples of using `anyMatch(Predicate<T>)`, `allMatch(Predicate<T>)` and `T findFirst()`
2023-09-26 13:47:47 +02:00
Tristan B. Velloza Kildaire 33b5e3bc56 MoreStreams
- Revised reduction
- Explored what `Optional<T>`'s are and how to use them
	- This includes using `isPresent()`, `get()` (which throws an exception if `isPresent()` is `false`) and `orElse(T)`
2023-09-26 13:19:54 +02:00
Tristan B. Velloza Kildaire 834e27a2c1 MoreStreams
- Practice using `distinct()` on a parallel stream
2023-09-26 12:48:03 +02:00
Tristan B. Velloza Kildaire bca65ddc0c MoreStreams
- Added explanation
2023-09-26 12:41:44 +02:00
Tristan B. Velloza Kildaire 6b1bcde01f MoreStreams
- Added comment
2023-09-26 12:39:28 +02:00
Tristan B. Velloza Kildaire e2c239a7f3 MoreStreams
- Weekend practicing of Streams
2023-09-26 12:38:16 +02:00
Tristan B. Velloza Kildaire f60f559580 Overloading
- Added example of boxed choices
2023-09-24 17:48:19 +02:00
Tristan B. Velloza Kildaire f42b41e610 Overloading
- Added some notes on the fatc that concrete BUT promotable formal paramneters with fixed arities are
PREFERRED
- over that of the exact type match but with var-args (probably because of the less expensive widening compared to array allocation required)
2023-09-24 17:41:25 +02:00
Tristan B. Velloza Kildaire 0d9682ba19 Serialization
- Added an example of a `transient` field in a `Serializable` class
2023-09-24 17:00:15 +02:00
Tristan B. Velloza Kildaire 7f704f83d0 Overloading
- Added varargs matching example
2023-09-24 15:38:29 +02:00
Tristan B. Velloza Kildaire f128176eb3 Overloading
- Added examples to show how matching of overloaded methods may work
- when promotional types are involved
2023-09-24 15:37:20 +02:00
Tristan B. Velloza Kildaire c2d21c54c0 More OOP
- Just practiced some more object-orientation things
- Relating to `sealed`, `non-sealed` and `final` for classes AND interfaces
2023-09-24 15:14:28 +02:00
Tristan B. Velloza Kildaire 867176ba94 Databases
- Practice the concurrency types, result set types and scroll types
- Added information on `Statement`'s `executeUpdate(String sql)` method's return value
2023-09-24 13:33:08 +02:00
Tristan B. Velloza Kildaire e5d2992023 Flow
- Added an example of the compile-time checked switch block expression type
2023-09-21 12:36:09 +02:00
Tristan B. Velloza Kildaire 9476bc4b09 Flow
- Added old-style switch expressions with multiple statements
2023-09-21 12:30:37 +02:00
Tristan B. Velloza Kildaire 81af1bc831 Flow
- Added an example of a switch expression
2023-09-21 12:24:54 +02:00
Tristan B. Velloza Kildaire 3209a6baa6 Flow
- Added basic switch statement turorial
- Added example of default case usage
2023-09-21 12:15:23 +02:00
Tristan B. Velloza Kildaire 691078f716 EnumTests
- Yes, you CAN override the `toString()` of an enum
2023-09-21 11:35:49 +02:00
Tristan B. Velloza Kildaire 2749ae09de Operators
- Completed another case from the exam
- It makes sense
2023-09-20 17:56:54 +02:00
Tristan B. Velloza Kildaire 2c05882c3a Operators
- I am correct in decoding the bitwise operations, added information about it
2023-09-20 17:09:54 +02:00
Tristan B. Velloza Kildaire 7c8becec3b Operators
- Added work on post and pre-increment and an easy way to remember them
- Begun work on next problem
2023-09-20 17:05:21 +02:00
Tristan B. Velloza Kildaire 7e5320d360 IO
- Added example from the Java OCP exam
2023-09-20 16:56:31 +02:00
Tristan B. Velloza Kildaire 8de71e4c8c Enums
- Added information about the `valueOf(String)` operator

Records

- Added information about the different types of record constructors available
2023-09-20 16:55:55 +02:00
Tristan B. Velloza Kildaire 49a81d95c3 Localization
- Pattern can be set for `MessagePattern` during construction
2023-09-19 10:23:11 +02:00
Tristan B. Velloza Kildaire f57ec012f2 Basics
- Bumped

Flow

- Bumped
2023-09-18 14:31:00 +02:00
Tristan B. Velloza Kildaire cb329785e0 Logging
- Typo fix
2023-09-18 14:30:39 +02:00
Tristan B. Velloza Kildaire 11bfb373a7 DB
- Updated database file
2023-09-18 14:30:21 +02:00
Tristan B. Velloza Kildaire 49ec81830d Serialization
- Added note on how-to test serialID
2023-09-18 13:26:23 +02:00
Tristan B. Velloza Kildaire ddde6e399a IO
- Finished
2023-09-17 13:52:47 +02:00
Tristan B. Velloza Kildaire 580af3543a Concurrency2
- Updated
2023-09-17 13:39:04 +02:00
Tristan B. Velloza Kildaire cc4b84354f Concurrency
- Updated
2023-09-17 12:33:01 +02:00
Tristan B. Velloza Kildaire af336201a5 Streams
- Updated information
2023-09-17 12:32:45 +02:00