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
class RectangleAndPayload<T> extends Object implements Serializable
Container for a Rectangle and a payload.
-
-
Constructor Summary
Constructors Constructor Description RectangleAndPayload(Rectangle rectangle, T payload)
Construct a new RectangleAndPayload object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
T
getPayload()
Retrieve the payload.Rectangle
getRectangle()
Retrieve the bounding rectangle.int
hashCode()
String
toString()
-