Interface GeneratorLending<T>

Type Parameters:
T -
All Superinterfaces:
Generator<T>
All Known Implementing Classes:
GeneratorLendingFromConverter, GeneratorLendingImpl

public interface GeneratorLending<T> extends Generator<T>
Generator which allows giving ids back for re-use. Implementations may or may not validate whether given back items have actually previously been generated by this generator.
Author:
raven
  • Method Details

    • giveBack

      boolean giveBack(T item)