$ javac  src/PatternSwitchDemo.java && java  PatternSwitchDemo     (21.0.12.1)
big circle | circle | square 2.0 | rect 2.0x3.0
null handled in the switch | large int | int | string of 4 | other
