RFR: 8372203: Piecewise linear easing function [v4]
Michael Strauß
mstrauss at openjdk.org
Tue Nov 25 19:09:19 UTC 2025
On Tue, 25 Nov 2025 16:14:50 GMT, Andy Goryachev <angorya at openjdk.org> wrote:
>> I've changed the wording here to give us more flexibility in terms of how we implement this in the future. While we are returning a new instance each time, we don't need to: all our currently implemented interpolators are stateless and safe to share, even across threads.
>
> is this something worth mentioning in the javadoc, at least for the linear interpolator?
I think usually only the stronger guarantee is mentioned explicitly (that it is a _new_ instance).
-------------
PR Review Comment: https://git.openjdk.org/jfx/pull/1977#discussion_r2561103677
More information about the openjfx-dev
mailing list