Package org.djutils.quadtree
Class RectangleAndPayload<T>
java.lang.Object
org.djutils.quadtree.RectangleAndPayload<T>
- Type Parameters:
T
- Object; the payload
- All Implemented Interfaces:
Serializable
Container for a Rectangle and a payload.
-
Constructor Summary
ConstructorDescriptionRectangleAndPayload
(Rectangle rectangle, T payload) Construct a new RectangleAndPayload object. -
Method Summary
-
Constructor Details
-
RectangleAndPayload
Construct a new RectangleAndPayload object.- Parameters:
rectangle
- Rectangle; the bounding rectangle of the payloadpayload
- T; the payload
-
-
Method Details