Class P2s.Lazy<A,B>

java.lang.Object
org.derive4j.processor.P2<A,B>
org.derive4j.processor.P2s.Lazy<A,B>
Enclosing class:
P2s

private static final class P2s.Lazy<A,B> extends P2<A,B>
  • Field Details

    • expression

      private volatile Supplier<P2<A,B>> expression
    • evaluation

      private P2<A,B> evaluation
  • Constructor Details

  • Method Details

    • _evaluate

      private P2<A,B> _evaluate()
    • match

      <R> R match(BiFunction<A,B,R> P2)
      Specified by:
      match in class P2<A,B>
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in class P2<A,B>
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in class P2<A,B>
    • toString

      public String toString()
      Specified by:
      toString in class P2<A,B>