Timeline for Checking "instanceof" rather than value using a switch statement
Current License: CC BY-SA 3.0
22 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Feb 3, 2023 at 15:20 | comment | added | David Geary | 'Pattern Matching for switch' Is currently in preview for Java - see openjdk.org/jeps/433 and baeldung.com/java-switch-pattern-matching Hopefully it will be fully available in Java 21 (Sept 2023) | |
| Oct 27, 2022 at 9:40 | answer | added | gnasher729 | timeline score: 0 | |
| Jul 4, 2019 at 10:12 | comment | added | Juh_ | man, coming back to java after using scala... I miss the kind of feature like the match-case :( | |
| Jun 14, 2018 at 19:23 | history | protected | gnat | ||
| Jun 14, 2018 at 19:01 | answer | added | ameet | timeline score: 0 | |
| Apr 12, 2017 at 7:31 | history | edited | CommunityBot | replaced http://programmers.stackexchange.com/ with https://softwareengineering.stackexchange.com/ | |
| Feb 3, 2015 at 2:46 | history | tweeted | twitter.com/#!/StackProgrammer/status/562441846316875776 | ||
| Feb 2, 2015 at 20:17 | vote | accept | Cameron Fredman | ||
| Feb 2, 2015 at 19:06 | comment | added | Aquarius Power | I think this is a good workaround. | |
| Feb 2, 2015 at 13:08 | answer | added | Ognyan | timeline score: 7 | |
| Feb 21, 2013 at 0:36 | history | edited | Cameron Fredman | CC BY-SA 3.0 | fixed a grammatical error |
| Feb 20, 2013 at 20:26 | comment | added | Tulains Córdova | Whatever you intend to do before each break violates the LSP. | |
| Feb 20, 2013 at 18:45 | history | edited | gnat | CC BY-SA 3.0 | link to referenced answer |
| Feb 20, 2013 at 10:12 | history | edited | Cameron Fredman | CC BY-SA 3.0 | Added further detail and reflection in light of the comments. |
| Feb 20, 2013 at 10:10 | answer | added | wrm | timeline score: 2 | |
| Feb 20, 2013 at 10:07 | vote | accept | Cameron Fredman | ||
| Feb 2, 2015 at 20:17 | |||||
| Feb 20, 2013 at 10:07 | history | edited | Cameron Fredman | CC BY-SA 3.0 | Added further detail and reflection in light of the comments. |
| Feb 20, 2013 at 9:35 | answer | added | Stephen C | timeline score: 19 | |
| Feb 20, 2013 at 9:05 | review | First posts | |||
| Feb 20, 2013 at 9:11 | |||||
| Feb 20, 2013 at 9:04 | history | edited | Cameron Fredman | CC BY-SA 3.0 | added explanation of the need for this. |
| Feb 20, 2013 at 8:53 | answer | added | Kilian Foth | timeline score: 6 | |
| Feb 20, 2013 at 8:46 | history | asked | Cameron Fredman | CC BY-SA 3.0 |