Class DataProviderUtil


  • public class DataProviderUtil
    extends Object
    • Constructor Detail

      • DataProviderUtil

        public DataProviderUtil()
    • Method Detail

      • convertIfNotNull

        public static <S,​T> T convertIfNotNull​(S source,
                                                     Function<S,​T> converter)
      • convertIfNotNull

        public static <S,​T> T convertIfNotNull​(S source,
                                                     Function<S,​T> converter,
                                                     Supplier<T> nullValueSupplier)
      • createItemLabelGenerator

        public static <T> com.vaadin.flow.component.ItemLabelGenerator<T> createItemLabelGenerator​(Function<T,​String> converter)