rspec/rules/S107/apex/struct-example.adoc
2023-08-10 16:54:47 +02:00

13 lines
210 B
Plaintext

[source,apex]
----
public class Point { // In geometry, Point is a logical structure to group data
Integer x;
Integer y;
Integer z;
}
void setCoordinates(Point p1, Point p2) {
// ...
}
----