com.softicar.platform.common.container.pair.IComparablePair Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of platform-common Show documentation
Show all versions of platform-common Show documentation
The SoftiCAR Platform is a lightweight, Java-based library to create interactive business web applications.
package com.softicar.platform.common.container.pair;
/**
* An extension of {@link IPair} with {@link Comparable}.
*
* In contrast to {@link IPair}, this interface requires the elements to be
* comparable.
*
* @author Oliver Richers
*/
public interface IComparablePair, B extends Comparable> extends IPair, Comparable> {
/**
* Compares this pair to the other pair, lexicographically.
*/
@Override
int compareTo(IComparablePair other);
}