Home > Software design >  How do I import UnionFind<T> to IntelliJ? (Java)
How do I import UnionFind<T> to IntelliJ? (Java)

Time:10-23

I want to import this

window pops up. I don't know what Maven is, and I am scared to alter anything whn I don't know how it works.

CodePudding user response:

Try to import the dependency in your pom.xml file

<dependency>
    <groupId>org.jgrapht</groupId>
    <artifactId>jgrapht-core</artifactId>
    <version>1.5.1</version>
</dependency>

Maven Repository

UnionFind class is in this dependency.

  • Related