Package de.scravy.bedrock.hlist
Class HList<This extends HList<This>>
java.lang.Object
de.scravy.bedrock.hlist.HList<This>
- All Implemented Interfaces:
Container<Object>,ExtendedIterable<Object>,HasLengthAtLeast,Comparable<This>,Iterable<Object>
public abstract class HList<This extends HList<This>> extends Object implements Container<Object>, Comparable<This>
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceHList.ForEachWithIndexPredicateNested classes/interfaces inherited from interface de.scravy.bedrock.ExtendedIterable
ExtendedIterable.ForEachWithIndexConsumer<T> -
Constructor Summary
Constructors Constructor Description HList() -
Method Summary
Modifier and Type Method Description static <E, L extends HList<L>>
C<E,L>cons(E head, L tail)static HListdynamic(Iterable<?> keys)static Nilempty()abstract <T> Tfoldl(BiFunction<T,Object,T> f, T init)abstract <T> Tfoldr(BiFunction<Object,T,T> f, T init)static <E> C<E,Nil>hlist(E e)static <E, F> C<E,C<F,Nil>>hlist(E e, F f)static <E, F, G> C<E,C<F,C<G,Nil>>>hlist(E e, F f, G g)static <E, F, G, H> C<E,C<F,C<G,C<H,Nil>>>>hlist(E e, F f, G g, H h)static <E, F, G, H, I>
C<E,C<F,C<G,C<H,C<I,Nil>>>>>hlist(E e, F f, G g, H h, I i)static <E, F, G, H, I, J>
C<E,C<F,C<G,C<H,C<I,C<J,Nil>>>>>>hlist(E e, F f, G g, H h, I i, J j)static <E, F, G, H, I, J, K>
C<E,C<F,C<G,C<H,C<I,C<J,C<K,Nil>>>>>>>hlist(E e, F f, G g, H h, I i, J j, K k)static <E, F, G, H, I, J, K, L>
C<E,C<F,C<G,C<H,C<I,C<J,C<K,C<L,Nil>>>>>>>>hlist(E e, F f, G g, H h, I i, J j, K k, L l)static <E, F, G, H, I, J, K, L, M>
C<E,C<F,C<G,C<H,C<I,C<J,C<K,C<L,C<M,Nil>>>>>>>>>hlist(E e, F f, G g, H h, I i, J j, K k, L l, M m)static <E, F, G, H, I, J, K, L, M, N>
C<E,C<F,C<G,C<H,C<I,C<J,C<K,C<L,C<M,C<N,Nil>>>>>>>>>>hlist(E e, F f, G g, H h, I i, J j, K k, L l, M m, N n)static <E, F, G, H, I, J, K, L, M, N, O>
C<E,C<F,C<G,C<H,C<I,C<J,C<K,C<L,C<M,C<N,C<O,Nil>>>>>>>>>>>hlist(E e, F f, G g, H h, I i, J j, K k, L l, M m, N n, O o)Thismask(HList.ForEachWithIndexPredicate predicate)static Nilnil()abstract intsize()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait