-
Enhancement
-
Resolution: Not an Issue
-
P4
-
None
-
None
-
generic
-
generic
A DESCRIPTION OF THE PROBLEM :
Dear Java Developers.
Shortly, I would love to see something like custom operator behaviours in java, just like they are already in C#.
ex.:
public static Vector2 operator +(Vector2 a, Vector2 b)
=> new Vector2(a.x + b.x, a.y + b.y);
and so now you can do:
var res = new Vector2(1, 1) + new Vector2(4, 5);
That would make java development way more easier.
So thanks for everything and keep on doing great job!!!
Regards,
Andrzej
Dear Java Developers.
Shortly, I would love to see something like custom operator behaviours in java, just like they are already in C#.
ex.:
public static Vector2 operator +(Vector2 a, Vector2 b)
=> new Vector2(a.x + b.x, a.y + b.y);
and so now you can do:
var res = new Vector2(1, 1) + new Vector2(4, 5);
That would make java development way more easier.
So thanks for everything and keep on doing great job!!!
Regards,
Andrzej