Class Point
-
- All Implemented Interfaces:
-
it.unibo.alchemist.model.Deployment
,java.lang.Iterable
public final class Point<P extends Position<out P>> implements Deployment<P>
A single node in a single point.
-
-
Constructor Summary
Constructors Constructor Description Point(Environment<out Object, P> environment, double x, double y)
-
Method Summary
-
Methods inherited from class it.unibo.alchemist.model.Deployment
getAssociatedLinkingRule, iterator
-
Methods inherited from class java.lang.Iterable
forEach, iterator, spliterator
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
Point
Point(Environment<out Object, P> environment, double x, double y)
- Parameters:
environment
- The Environmentx
- x coordinatey
- y coordinate
-
-
Method Detail
-
stream
Stream<P> stream()
- Returns:
a Stream over the positions of this Deployment
-
-
-
-