Uses of Interface
net.jrodolfo.java_evolution.java17.SealedClassesExamples.Shape
Packages that use SealedClassesExamples.Shape
-
Uses of SealedClassesExamples.Shape in net.jrodolfo.java_evolution.java17
Classes in net.jrodolfo.java_evolution.java17 that implement SealedClassesExamples.ShapeModifier and TypeClassDescriptionstatic final recordFinal permitted implementation.static final recordFinal permitted implementation.static classNon-sealed implementation, showing that a permitted subtype may reopen the hierarchy.Methods in net.jrodolfo.java_evolution.java17 with parameters of type SealedClassesExamples.ShapeModifier and TypeMethodDescriptiondoubleSealedClassesExamples.area(SealedClassesExamples.Shape shape) Calculates the area for a known sealed shape hierarchy.