Class PassThruFunction0<T>

  • All Implemented Interfaces:
    java.io.Serializable, java.util.function.Supplier<T>, Function0<T>

    public final class PassThruFunction0<T>
    extends java.lang.Object
    implements Function0<T>
    A passthru Function0 which returns the value specified.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private T result  
      private static long serialVersionUID  
    • Constructor Summary

      Constructors 
      Constructor Description
      PassThruFunction0​(T newResult)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      T value()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.eclipse.collections.api.block.function.Function0

        get
    • Field Detail

      • result

        private final T result
    • Constructor Detail

      • PassThruFunction0

        public PassThruFunction0​(T newResult)