Package 

Class TypeConvertingSupplier

  • All Implemented Interfaces:

    
    public final class TypeConvertingSupplier<OriginalType extends Object, NewType extends Object>
    extends ConfigValueSupplier<NewType>
                        

    Converts the type of the result of originalSupplier from OriginalType to NewType using the given converter function.

    Note that it makes no sense for this supplier to be deprecated as it doesn't actually retrieve a value itself, so we always pass noDeprecation.