Class P2s.P2_<A,​B>

  • Enclosing class:
    P2s

    private static final class P2s.P2_<A,​B>
    extends P2<A,​B>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private A _1  
      private B _2  
    • Constructor Summary

      Constructors 
      Constructor Description
      P2_​(A _1, B _2)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      int hashCode()  
      (package private) <R> R match​(java.util.function.BiFunction<A,​B,​R> P2)  
      java.lang.String toString()  
      • Methods inherited from class org.derive4j.processor.P2

        _1, _2, p2
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • _1

        private final A _1
      • _2

        private final B _2
    • Constructor Detail

      • P2_

        P2_​(A _1,
            B _2)
    • Method Detail

      • match

        <R> R match​(java.util.function.BiFunction<A,​B,​R> P2)
        Specified by:
        match in class P2<A,​B>
      • equals

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

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

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