Package net.glowstone.util.library
Class LibraryKey
java.lang.Object
net.glowstone.util.library.LibraryKey
- All Implemented Interfaces:
Comparable<LibraryKey>
Encapsulates the identifying pieces of a library in a Maven repository, its group ID and
artifact ID. Can be safely used as a key in a map or within a set.
-
Constructor Details
-
LibraryKey
-
-
Method Details
-
toString
-
compareTo
- Specified by:
compareTo
in interfaceComparable<LibraryKey>
-
equals
-
canEqual
-
hashCode
public int hashCode() -
getGroupId
The group ID of the library in a maven-style repo. Parts of the group ID must be separated by periods. -
getArtifactId
The artifact ID of the library in a maven-style repo.
-