Class GetSet<T,​P>


  • public class GetSet<T,​P>
    extends Object
    • Method Detail

      • create

        public static <T,​P> GetSet<T,​P> create​(T object,
                                                           Function<T,​P> propertyExtractor,
                                                           BiConsumer<T,​P> propertyWriter)
      • set

        public void set​(P value)
      • get

        public P get()