Package it.unibo.alchemist.util
Object Anys
-
-
Method Summary
Modifier and Type Method Description final <E extends Any> Sequence<E>
unfold(E $self, Function1<E, Sequence<E>> extractor)
The opposite of fold. final <T extends Any, P extends Position<P>> P
toPosition(T $self, Environment<T, P> environment)
Tries to convert a concentration T into a valid position of type P descriptor. -
-
Method Detail
-
unfold
final <E extends Any> Sequence<E> unfold(E $self, Function1<E, Sequence<E>> extractor)
The opposite of fold.
-
toPosition
final <T extends Any, P extends Position<P>> P toPosition(T $self, Environment<T, P> environment)
Tries to convert a concentration T into a valid position of type P descriptor. Types are bound to the environment types.
-
-
-
-