public abstract class P5<A,B,C,D,E>
extends java.lang.Object
Constructor and Description |
---|
P5() |
Modifier and Type | Method and Description |
---|---|
static <A,B,C,D,E> |
__1()
Returns a function that returns the first element of a product.
|
static <A,B,C,D,E> |
__2()
Returns a function that returns the second element of a product.
|
static <A,B,C,D,E> |
__3()
Returns a function that returns the third element of a product.
|
static <A,B,C,D,E> |
__4()
Returns a function that returns the fourth element of a product.
|
static <A,B,C,D,E> |
__5()
Returns a function that returns the fifth element of a product.
|
P1<A> |
_1_()
Returns the 1-product projection over the first element.
|
abstract A |
_1()
Access the first element of the product.
|
P1<B> |
_2_()
Returns the 1-product projection over the second element.
|
abstract B |
_2()
Access the second element of the product.
|
P1<C> |
_3_()
Returns the 1-product projection over the third element.
|
abstract C |
_3()
Access the third element of the product.
|
P1<D> |
_4_()
Returns the 1-product projection over the fourth element.
|
abstract D |
_4()
Access the fourth element of the product.
|
P1<E> |
_5_()
Returns the 1-product projection over the fifth element.
|
abstract E |
_5()
Access the fifth element of the product.
|
<F> P6<A,B,C,D,E,F> |
append(F el)
|
<F,G> P7<A,B,C,D,E,F,G> |
append(P2<F,G> el)
|
<F,G,H> P8<A,B,C,D,E,F,G,H> |
append(P3<F,G,H> el)
|
boolean |
equals(java.lang.Object other) |
int |
hashCode() |
<X> P5<X,B,C,D,E> |
map1(F<A,X> f)
Map the first element of the product.
|
<X> P5<A,X,C,D,E> |
map2(F<B,X> f)
Map the second element of the product.
|
<X> P5<A,B,X,D,E> |
map3(F<C,X> f)
Map the third element of the product.
|
<X> P5<A,B,C,X,E> |
map4(F<D,X> f)
Map the fourth element of the product.
|
<X> P5<A,B,C,D,X> |
map5(F<E,X> f)
Map the fifth element of the product.
|
P5<A,B,C,D,E> |
memo()
Provides a memoising P5 that remembers its values.
|
java.lang.String |
toString() |
public abstract A _1()
public abstract B _2()
public abstract C _3()
public abstract D _4()
public abstract E _5()
public final <X> P5<X,B,C,D,E> map1(F<A,X> f)
f
- The function to map with.public final <X> P5<A,X,C,D,E> map2(F<B,X> f)
f
- The function to map with.public final <X> P5<A,B,X,D,E> map3(F<C,X> f)
f
- The function to map with.public final <X> P5<A,B,C,X,E> map4(F<D,X> f)
f
- The function to map with.public final <X> P5<A,B,C,D,X> map5(F<E,X> f)
f
- The function to map with.public final P1<A> _1_()
public final P1<B> _2_()
public final P1<C> _3_()
public final P1<D> _4_()
public final P1<E> _5_()
public final P5<A,B,C,D,E> memo()
public static <A,B,C,D,E> F<P5<A,B,C,D,E>,A> __1()
public static <A,B,C,D,E> F<P5<A,B,C,D,E>,B> __2()
public static <A,B,C,D,E> F<P5<A,B,C,D,E>,C> __3()
public static <A,B,C,D,E> F<P5<A,B,C,D,E>,D> __4()
public static <A,B,C,D,E> F<P5<A,B,C,D,E>,E> __5()
public final java.lang.String toString()
toString
in class java.lang.Object
public final boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public final int hashCode()
hashCode
in class java.lang.Object