类 PropertiesConfigAdapter<T>

    • 方法详细资料

      • get

        protected final <V> V get​(Function<T,​V> getter,
                                  Supplier<V> fallback)
        Get the value from the properties or use a fallback from the defaults.
        类型参数:
        V - the value type
        参数:
        getter - the getter for the properties
        fallback - the fallback method, usually super interface method reference
        返回:
        the property or fallback value