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

org.solovyev.common.SameEqualizer Maven / Gradle / Ivy

There is a newer version: 1.0.7
Show newest version
/*
 * Copyright (c) 2009-2011. Created by serso aka se.solovyev.
 * For more information, please, contact [email protected]
 * or visit http://se.solovyev.org
 */

package org.solovyev.common;


import org.jetbrains.annotations.Nullable;
import org.solovyev.common.equals.Equalizer;

/**
 * User: serso
 * Date: 12/17/11
 * Time: 11:11 PM
 */
public enum SameEqualizer implements Equalizer {

	instance;

	private SameEqualizer() {
	}

	@Override
	public boolean equals(@Nullable Object first, @Nullable Object second) {
		return first == second;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy