io.annot8.common.implementations.stores.SaveCallback Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of annot8-common-implementations Show documentation
Show all versions of annot8-common-implementations Show documentation
Common functionality used by Annot8 implementations
/* Annot8 (annot8.io) - Licensed under Apache-2.0. */
package io.annot8.common.implementations.stores;
/**
* Call back to save an item
*
* @param the return type of save
* @param the item to save
*/
@FunctionalInterface
public interface SaveCallback {
/**
* Save the parameter.
*
* Should not return null (throw exception)
*/
R save(T item);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy