(@NotNull Map<String, Object> args)
| 873 | } |
| 874 | |
| 875 | @NotNull |
| 876 | public static Vector deserialize(@NotNull Map<String, Object> args) { |
| 877 | double x = 0; |
| 878 | double y = 0; |
| 879 | double z = 0; |
| 880 | |
| 881 | if (args.containsKey("x")) { |
| 882 | x = (Double) args.get("x"); |
| 883 | } |
| 884 | if (args.containsKey("y")) { |
| 885 | y = (Double) args.get("y"); |
| 886 | } |
| 887 | if (args.containsKey("z")) { |
| 888 | z = (Double) args.get("z"); |
| 889 | } |
| 890 | |
| 891 | return new Vector(x, y, z); |
| 892 | } |
| 893 | } |
nothing calls this directly
no test coverage detected