aQute.libg.tuple.ComparablePair Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of org.bndtools.templating.gitrepo Show documentation
Show all versions of org.bndtools.templating.gitrepo Show documentation
org.bndtools.templating.gitrepo
package aQute.libg.tuple;
public class ComparablePair, B> extends Pair implements Comparable> {
private static final long serialVersionUID = 1L;
public ComparablePair(A first, B second) {
super(first, second);
}
@Override
public int compareTo(Pair o) {
return getFirst().compareTo(o.getFirst());
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy