io.github.ninobomba.commons.data.services.IUpdateService Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of t4m-commons Show documentation
Show all versions of t4m-commons Show documentation
Tools 4 Monkeys - Java Commons
The newest version!
package io.github.ninobomba.commons.data.services;
/**
* The IUpdateService interface provides a contract for implementing
* update functionality for a specific entity.
*
* @param The type of entity to be updated.
*/
public interface IUpdateService < T > {
/**
* Updates the specified entity.
*
* @param entity The entity to be updated. It should be of type T.
*/
void update ( T entity );
}