All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.softicar.platform.common.container.pair.ComparablePairFactory Maven / Gradle / Ivy

Go to download

The SoftiCAR Platform is a lightweight, Java-based library to create interactive business web applications.

There is a newer version: 50.0.0
Show newest version
package com.softicar.platform.common.container.pair;

/**
 * Provides static factory methods for {@link ComparablePair}.
 * 
 * @author Oliver Richers
 */
public abstract class ComparablePairFactory {

	/**
	 * Creates a new {@link ComparablePair} with the specified elements.
	 */
	public static , B extends Comparable> ComparablePair create(A first, B second) {

		return new ComparablePair<>(first, second);
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy