public static class HList.HCons<T1,T2 extends HList<T2>> extends java.lang.Object implements Deconstruct.Deconstruct2<T1,HList<T2>>, HList<HList.HCons<T1,T2>>
Deconstruct.Deconstruct1<T1>, Deconstruct.Deconstruct2<T1,T2>, Deconstruct.Deconstruct3<T1,T2,T3>, Deconstruct.Deconstruct4<T1,T2,T3,T4>, Deconstruct.Deconstruct5<T1,T2,T3,T4,T5>
HList.HCons<T1,T2 extends HList<T2>>, HList.HNil
Constructor and Description |
---|
HCons() |
Modifier and Type | Method and Description |
---|---|
<R> R |
fold(java.util.function.Function<? super HList<HList.HCons<T1,T2>>,? extends R> fn1,
java.util.function.Supplier<? extends R> s) |
<TB> HList.HCons<TB,HList.HCons<T1,T2>> |
prepend(TB value) |
Tuple2<T1,HList<T2>> |
unapply() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
fold
public <R> R fold(java.util.function.Function<? super HList<HList.HCons<T1,T2>>,? extends R> fn1, java.util.function.Supplier<? extends R> s)
public <TB> HList.HCons<TB,HList.HCons<T1,T2>> prepend(TB value)