| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
package org.locationtech.jts.index.strtree; |
| 14 |
|
| 15 |
import java.io.Serializable; |
| 16 |
|
| 17 |
/** |
| 18 |
* Boundable wrapper for a non-Boundable spatial object. Used internally by |
| 19 |
* AbstractSTRtree. |
| 20 |
* |
| 21 |
* @version 1.7 |
| 22 |
*/ |
| 23 |
public class ItemBoundable implements Boundable, Serializable { |
| 24 |
private Object bounds; |
| 25 |
private Object item; |
| 26 |
|
| 27 |
public ItemBoundable(Object bounds, Object item) { |
| 28 |
this.bounds = bounds; |
| 29 |
this.item = item; |
| 30 |
} |
| 31 |
|
| 32 |
public Object getBounds() { |
| 33 |
return bounds; |
| 34 |
} |
| 35 |
|
| 36 |
public Object getItem() { return item; } |
| 37 |
} |
| 38 |
|