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

org.hibernate.envers.tools.Pair Maven / Gradle / Ivy

There is a newer version: 7.0.0.Beta1
Show newest version
/*
 * Hibernate, Relational Persistence for Idiomatic Java
 *
 * License: GNU Lesser General Public License (LGPL), version 2.1 or later.
 * See the lgpl.txt file in the root directory or .
 */
package org.hibernate.envers.tools;

import org.hibernate.annotations.Remove;

/**
 * A pair of objects.
 *
 * @param 
 * @param 
 *
 * @author Adam Warski ([email protected])
 *
 * @deprecated (since 6.0), to be removed with no replacement.
 */
@Deprecated
@Remove
public class Pair extends org.hibernate.envers.internal.tools.Pair {
	private Pair(T1 obj1, T2 obj2) {
		super( obj1, obj2 );
	}

	public static  Pair make(T1 obj1, T2 obj2) {
		return new Pair<>( obj1, obj2 );
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy