io.github.serpro69.kfaker.provider.unique.UniqueDataProvider.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kotlin-faker Show documentation
Show all versions of kotlin-faker Show documentation
https://github.com/serpro69/kotlin-faker
package io.github.serpro69.kfaker.provider.unique
abstract class UniqueDataProvider {
// internal abstract val config: UniqueProviderConfiguration
/**
* Disables "unique generation" for all providers that were configured to return unique values.
*/
abstract fun disableAll()
/**
* Clears the already returned (used) unique values so that they can again be returned.
*/
abstract fun clearAll()
}