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

io.imunity.scim.user.PersistentId Maven / Gradle / Ivy

There is a newer version: 4.0.3
Show newest version
/*
 * Copyright (c) 2021 Bixbit - Krzysztof Benedyczak. All rights reserved.
 * See LICENCE.txt file for licensing information.
 */

package io.imunity.scim.user;

import java.util.Objects;

class PersistentId
{
	final String id;

	PersistentId(String id)
	{
		this.id = id;
	}

	@Override
	public boolean equals(Object o)
	{
		if (this == o)
			return true;
		if (o == null || getClass() != o.getClass())
			return false;
		PersistentId that = (PersistentId) o;
		return Objects.equals(id, that.id);
	}

	@Override
	public int hashCode()
	{
		return Objects.hash(id);
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy