
com.github.chaosfirebolt.converter.api.initialization.InitializationData Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of roman-numeral-converter Show documentation
Show all versions of roman-numeral-converter Show documentation
Library for converting roman numerals to arabic and vice versa.
package com.github.chaosfirebolt.converter.api.initialization;
/**
* Represents a source used to fill the cache with data before usage.
*
* @param type of the data used to fill the cache
*/
public sealed interface InitializationData permits BaseInitializationData {
/**
* Gets the initialization source.
*
* @return the source
*/
T getData();
/**
* Used to perform cleanup actions on the data returned from {@link #getData()}, if necessary.
*/
void cleanup();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy