Java Pair maven library
Oct 25, 2023
To use Java Pairs (see API and Baeldung article), you need to install the following maven depencency
https://mvnrepository.com/artifact/org.openjfx/javafx-controls
e.g.
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-controls</artifactId>
<version>22-ea+11</version>
</dependency>
then import via
import javafx.util.Pair;
...
Thanks for reading !
What to do next:
- Clap if useful
- Buy me a coffee
- Follow me for more
- Read my other articles below or from my profile
- Keep in touch on LinkedIn