Class FreshBeanHolder<E,​O>

  • All Implemented Interfaces:
    java.util.function.Function<E,​O>

    public class FreshBeanHolder<E,​O>
    extends java.lang.Object
    implements java.util.function.Function<E,​O>
    • Constructor Summary

      Constructors 
      Constructor Description
      FreshBeanHolder​(java.util.function.Function<E,​O> function)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      O apply​(E e)
      Apply.
      void doFresh​(E e)
      Fresh.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.function.Function

        andThen, compose
    • Constructor Detail

      • FreshBeanHolder

        public FreshBeanHolder​(java.util.function.Function<E,​O> function)
    • Method Detail

      • apply

        public O apply​(E e)
        Apply.
        Specified by:
        apply in interface java.util.function.Function<E,​O>
        Parameters:
        e - e
        Returns:
        O o
      • doFresh

        public void doFresh​(E e)
        Fresh.
        Parameters:
        e - e