Class SpecificPositions
-
- All Implemented Interfaces:
-
it.unibo.alchemist.model.Deployment
,kotlin.collections.Iterable
,kotlin.collections.MutableIterable
public final class SpecificPositions implements Deployment<Position<?>>
Given an environment and a list of list of numbers, it creates a list of the right position type for the environment.
-
-
Constructor Summary
Constructors Constructor Description SpecificPositions(Environment<?, ?> environment, Iterable<Number> positions)
-
Method Summary
-
Methods inherited from class it.unibo.alchemist.model.Deployment
getAssociatedLinkingRule, iterator
-
Methods inherited from class kotlin.collections.Iterable
forEach, spliterator
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
SpecificPositions
SpecificPositions(Environment<?, ?> environment, Iterable<Number> positions)
-
-
Method Detail
-
stream
Stream<Position<?>> stream()
- Returns:
a Stream over the positions of this Deployment
-
-
-
-