Package it.unibo.alchemist.model
Interface Deployment
-
- All Implemented Interfaces:
-
java.lang.Iterable
@FunctionalInterface() public interface Deployment<P extends Position<out P>> implements Iterable<T>
-
-
Method Summary
Modifier and Type Method Description abstract Stream<P>
stream()
Iterator<P>
iterator()
<T> LinkingRule<T, P>
getAssociatedLinkingRule()
Optional LinkingRule associated to the deployment. -
-
Method Detail
-
stream
abstract Stream<P> stream()
- Returns:
a Stream over the positions of this Deployment
-
getAssociatedLinkingRule
@Nullable() <T> LinkingRule<T, P> getAssociatedLinkingRule()
Optional LinkingRule associated to the deployment.
- Returns:
null if the deployment has no associated LinkingRule, and an instance of the LinkingRule otherwise
-
-
-
-