Class P4<A,B,C,D>
java.lang.Object
fj.P4<A,B,C,D>
A product-4.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription__1()Returns a function that returns the first element of a product.__2()Returns a function that returns the second element of a product.__3()Returns a function that returns the third element of a product.__4()Returns a function that returns the fourth element of a product.abstract A_1()Access the first element of the product._1_()Returns the 1-product projection over the first element.abstract B_2()Access the second element of the product._2_()Returns the 1-product projection over the second element.abstract C_3()Access the third element of the product._3_()Returns the 1-product projection over the third element.abstract D_4()Access the fourth element of the product._4_()Returns the 1-product projection over the fourth element.append(E el) final booleanfinal inthashCode()Map the first element of the product.Map the second element of the product.Map the third element of the product.Map the fourth element of the product.memo()Provides a memoising P4 that remembers its values.final StringtoString()
-
Constructor Details
-
P4
public P4()
-
-
Method Details
-
_1
Access the first element of the product.- Returns:
- The first element of the product.
-
_2
Access the second element of the product.- Returns:
- The second element of the product.
-
_3
Access the third element of the product.- Returns:
- The third element of the product.
-
_4
Access the fourth element of the product.- Returns:
- The fourth element of the product.
-
map1
-
map2
-
map3
-
map4
-
_1_
-
_2_
-
_3_
-
_4_
-
append
-
append
-
append
-
append
-
memo
-
__1
-
__2
-
__3
-
__4
-
toString
-
equals
-
hashCode
-