⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 extentindex.java

📁 openmap java写的开源数字地图程序. 用applet实现,可以像google map 那样放大缩小地图.
💻 JAVA
字号:
/* *                     RESTRICTED RIGHTS LEGEND * *                        BBNT Solutions LLC *                        A Verizon Company *                        10 Moulton Street *                       Cambridge, MA 02138 *                         (617) 873-3000 * * Copyright BBNT Solutions LLC 2005 All Rights Reserved *  */package com.bbn.openmap.geo;import java.util.Iterator;/** * A Collection of Regions that supports indexed subsets. That is, in * addition to acting like a normal collection, it also allows getting * an iterator that will return a superset of all intersecting regions * that is a subset of the whole collection. *  * @author mthome@bbn.com */public interface ExtentIndex extends java.util.Collection {    /**     * report on the maximum horizontalRange supported by this index.     */    double indexHorizontalRange();        /**     * Add a extent to the index.     * @param region     * @return true if Region successfully added, false if not.     */    boolean addExtent(GeoExtent region);        /**     * Remove a region from the index.     * @param region     * @return true if the region was found and removed.     */    boolean removeExtent(GeoExtent region);        /**     * Resets the index to an empty state.      */    void clear();    /**     * return an iterator listing a subset of the whole collection     * that is a superset of the actual matches. A valid (but     * inefficient) implementation would return an iterator over the     * whole collection.     *      * Implementation should match anything that is likely to match -     * this will generally include, for instance, additional space     * around the actual segment to accommodate buffer zones around     * the segment.     */    Iterator iterator(GeoExtent extent);}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -