亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來(lái)到蟲(chóng)蟲(chóng)下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲(chóng)蟲(chóng)下載站

?? vpffeaturecache.java

?? openmap java寫(xiě)的開(kāi)源數(shù)字地圖程序. 用applet實(shí)現(xiàn),可以像google map 那樣放大縮小地圖.
?? JAVA
字號(hào):
// **********************************************************************// // <copyright>// //  BBN Technologies//  10 Moulton Street//  Cambridge, MA 02138//  (617) 873-8000// //  Copyright (C) BBNT Solutions LLC. All rights reserved.// // </copyright>// **********************************************************************// // $Source: /cvs/distapps/openmap/src/openmap/com/bbn/openmap/layer/vpf/VPFFeatureCache.java,v $// $RCSfile: VPFFeatureCache.java,v $// $Revision: 1.2.2.2 $// $Date: 2004/10/14 18:27:22 $// $Author: dietrick $// // **********************************************************************package com.bbn.openmap.layer.vpf;import com.bbn.openmap.layer.util.cacheHandler.CacheHandler;import com.bbn.openmap.layer.util.cacheHandler.CacheObject;import com.bbn.openmap.omGraphics.OMGraphic;import com.bbn.openmap.omGraphics.OMGraphicList;import com.bbn.openmap.util.Debug;/** * The VPFFeatureCache is an extended CacheHandler that caches * OMGraphicLists representing a specific feature contained in a * CoverageTile. It's used by the VPFCachedFeatureGraphicWarehouse, * which in turn is used by the LibraryBean as a central warehouse. */public class VPFFeatureCache extends CacheHandler {    /**     * Create a VPFFeatureCache of the default maximum size.     */    public VPFFeatureCache() {        super();    }    /**     * Create a VPFFeatureCache of the specified maximum size.     */    public VPFFeatureCache(int maxSize) {        super(maxSize);    }    /**     * Adds an OMGraphic to a list, signified by the feature type and     * the table. The PrimitiveTable provides an identifying tile     * path.     *      * @param omg OMGraphic to add     * @param featureType the feature code of the OMGraphic     * @param pt the PrimitiveTable containing the path to the     *        CoverageTile.     */    protected synchronized void addToCachedList(OMGraphic omg,                                                String featureType,                                                PrimitiveTable pt, String type) {        String key = createTableCacheKey(featureType, pt.getTileDirectory()                .getPath());        FeatureCacheGraphicList omgl = (FeatureCacheGraphicList) get(key);        omgl.add(omg);    }    /**     * Create an identifying key from the feature type and tile path.     */    public static String createTableCacheKey(String featureType, String tilePath) {        return featureType + "-" + tilePath;    }    /**     * Returns true if the features from a tile (as described by the     * key) existed and was added to the warehouse graphics list.     * Returns false if the list needs to be created and the contents     * read in from data files. In both cases the OMGraphicList for     * the tile/feature is loaded into the cache, the return value is     * a signal to the caller that the list must be populated or not.     *      * @param featureType the feature type code.     * @param tilePath the relative path to the tile file.     * @param requestor the OMGraphicList used to contain cached     *        lists. The cached list will for the featureType/path     *        code will be added to this list, regardless of whether     *        it's been populated or not. The requestor list will be     *        returned when the warehouse is asked for the graphics     *        list.     * @return true if the list has already been loaded and the caller     *         doesn't need to read the data files to create list     *         contents.     */    public synchronized boolean loadCachedGraphicList(String featureType,                                                      String tilePath,                                                      OMGraphicList requestor) {        String key = createTableCacheKey(featureType, tilePath);        boolean exists = (searchCache(key) != null);        // Will retrieve the old list if it exists, create a new one        // if it doesn't.        FeatureCacheGraphicList fcgl = (FeatureCacheGraphicList) get(key,                VPFUtil.getTypeForFeatureCode(featureType));        if (fcgl.getFeatureName() == null) {            fcgl.setFeatureName(featureType);        }        requestor.add(fcgl);        // Might want to set the current attributes for the existing        // contents of the list in case they were changed by the user.        return exists;    }    /**     * Query that the CoverageTable makes to decide whether to read     * the file contents or to used the cached version.     *      * @param currentFeature the feature type     * @param currentTile the tile directory     * @param requestor the OMGraphicList to add the cached list to.     *        If the CoverageTable reads the data files, the     *        OMGraphics created from the files will be added to the     *        list added to the requestor.     * @return true if the CoverageTable needs to read the data files.     */    public synchronized boolean needToFetchTileContents(                                                        String currentFeature,                                                        TileDirectory currentTile,                                                        OMGraphicList requestor) {        if (loadCachedGraphicList(currentFeature,                currentTile.getPath(),                requestor)) {            if (Debug.debugging("vpf.cache")) {                Debug.output("VPFFeatureCache: Loaded Cached List: "                        + createTableCacheKey(currentFeature,                                currentTile.getPath()));            }            return false;        }        return true;    }    /**     * Additional get method that will call a load() method that takes     * into account the featureType. The regular get() method will not     * be used, unless something else calls it, which is not advised.     *      * @param key the created key for cached list, see     *        createTableCacheKey     * @param featureType the kind of feature, VPFUtil.Area,     *        VPFUtil.Edge, VPFUtil.Point or VPFUtil.Text.     */    public Object get(String key, String featureType) {        CacheObject ret = searchCache(key);        if (ret != null)            return ret.obj;        ret = load(key, featureType);        if (ret == null)            return null;        replaceLeastUsed(ret);        return ret.obj;    }    /**     * CacheHandler method to load the new OMGraphicLists     * (FeatureCacheGraphicLists). Shouldn't be used because the     * FeatureCacheGraphicList type will be unknown. This method is     * only defined to implement the CacheHandler abstract method.     */    public CacheObject load(String key) {        return load(key, null);    }    /**     * CacheHandler method to load the new OMGraphicLists     * (FeatureCacheGraphicLists).     */    public CacheObject load(String key, String featureType) {        if (key != null) {            return new VPFListCacheObject(key, FeatureCacheGraphicList.createForType(featureType));        }        return null;    }    /**     * CacheObject used by VPFFeatureCache.     */    public static class VPFListCacheObject extends CacheObject {        /**         * Construct a VPFListCacheObject, just calls superclass         * constructor         *          * @param id passed to superclass         * @param obj passed to superclass         */        public VPFListCacheObject(String id, OMGraphicList obj) {            super(id, obj);        }        /**         */        public void finalize() {            ((OMGraphicList) obj).clear();        }    }}

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久99精品久久久久久动态图| 亚洲一区二区三区三| 欧美一二三区精品| 欧美亚洲国产一卡| 91免费版在线| 国产精品1区2区3区在线观看| 日韩vs国产vs欧美| 亚洲高清免费观看| 一区二区三区在线高清| 国产精品久久久久久久久久久免费看| 精品免费视频一区二区| 日韩一级精品视频在线观看| 欧美伊人精品成人久久综合97 | 国产亚洲1区2区3区| 2019国产精品| 国产日韩欧美麻豆| 中文字幕视频一区二区三区久| 亚洲欧洲av一区二区三区久久| 一区二区三区中文字幕| 丝袜美腿亚洲色图| 久久精品久久久精品美女| 国产在线一区观看| jlzzjlzz国产精品久久| 色94色欧美sute亚洲13| 在线播放亚洲一区| 久久久美女艺术照精彩视频福利播放| 国产精品国产三级国产a| 亚洲精品成人天堂一二三| 亚洲123区在线观看| 久久99最新地址| 成人精品一区二区三区中文字幕| 91浏览器入口在线观看| 日本道精品一区二区三区| 91麻豆精品国产自产在线 | 欧美一级夜夜爽| 久久久久国产精品厨房| 日韩理论片网站| 亚洲成人中文在线| 国产乱码精品一区二区三区五月婷 | 日日噜噜夜夜狠狠视频欧美人| 韩国午夜理伦三级不卡影院| 大尺度一区二区| 欧美美女bb生活片| 亚洲国产精品成人久久综合一区| 一区二区三区在线免费观看| 美美哒免费高清在线观看视频一区二区 | 经典三级在线一区| 99久久伊人精品| 91精品国产麻豆国产自产在线| 欧美激情综合五月色丁香小说| 亚洲制服丝袜av| 国产成人精品亚洲日本在线桃色| 欧美日韩综合不卡| 国产日韩欧美在线一区| 首页国产丝袜综合| www.亚洲国产| 精品入口麻豆88视频| 一二三区精品福利视频| 国产精品1区2区3区在线观看| 欧美日本在线看| 亚洲欧洲一区二区三区| 久久99久久99精品免视看婷婷| 色婷婷综合五月| 亚洲福利视频一区二区| 国产成人亚洲综合a∨婷婷图片 | 久久夜色精品一区| 肉肉av福利一精品导航| 99久久综合色| 久久久影视传媒| 视频在线在亚洲| 一本一道久久a久久精品| 久久久99久久| 久国产精品韩国三级视频| 在线观看视频91| 中文字幕一区二区三区av| 国内精品久久久久影院色| 欧美欧美午夜aⅴ在线观看| 中文字幕在线一区二区三区| 国产精品一区二区三区四区| 日韩一区二区三区四区五区六区| 亚洲一区二区免费视频| 99久久精品国产毛片| 久久久久亚洲蜜桃| 人人狠狠综合久久亚洲| 欧美日本不卡视频| 亚洲一区二区三区不卡国产欧美| www.在线欧美| 国产精品天干天干在观线| 久久精品久久精品| 91精品国产综合久久蜜臀 | 国产aⅴ综合色| 26uuu亚洲| 国产一区二区三区在线观看精品| 日韩欧美一级特黄在线播放| 亚洲国产aⅴ成人精品无吗| 日本高清不卡在线观看| 亚洲欧美视频一区| 91免费视频网| 亚洲精品免费在线观看| 一道本成人在线| 伊人夜夜躁av伊人久久| 色综合天天综合在线视频| 一区在线观看免费| 97久久超碰精品国产| 亚洲欧美日韩电影| 91成人免费电影| 亚洲超丰满肉感bbw| 欧美日韩夫妻久久| 日韩**一区毛片| 精品免费国产一区二区三区四区| 久久99蜜桃精品| 久久精品一二三| 成人精品视频一区二区三区尤物| 国产精品嫩草99a| 日本高清不卡aⅴ免费网站| 亚洲第一久久影院| 欧美一区日本一区韩国一区| 日本一不卡视频| 2014亚洲片线观看视频免费| 国产精品一线二线三线精华| 中文字幕日本乱码精品影院| 99在线热播精品免费| 亚洲影视在线观看| 欧美一级日韩一级| 国内精品免费**视频| 中文字幕欧美激情| 色又黄又爽网站www久久| 午夜视频久久久久久| 欧美一级国产精品| 国产东北露脸精品视频| 亚洲特黄一级片| 欧美高清视频不卡网| 国模少妇一区二区三区| 中文字幕av不卡| 在线亚洲+欧美+日本专区| 日本成人在线一区| 久久综合狠狠综合久久综合88| 成人av在线一区二区三区| 亚洲一区av在线| 精品日韩一区二区| 94色蜜桃网一区二区三区| 丝袜美腿亚洲一区| 国产女同性恋一区二区| 色哟哟一区二区在线观看| 麻豆精品久久精品色综合| 中文字幕精品综合| 欧美亚男人的天堂| 久久国产尿小便嘘嘘尿| 亚洲天堂免费在线观看视频| 欧美一级一区二区| 不卡在线观看av| 亚洲一卡二卡三卡四卡无卡久久| 久久先锋影音av鲁色资源网| 欧洲精品在线观看| 国产精品一级片在线观看| 伊人婷婷欧美激情| 亚洲精品视频在线看| 欧美一级在线免费| 99精品在线免费| 久久av资源网| 亚洲福利一区二区三区| 国产欧美一区二区精品性| 91.xcao| 91天堂素人约啪| 狠狠色丁香久久婷婷综合_中 | 久久精品国产亚洲aⅴ| 亚洲视频图片小说| 2021国产精品久久精品| 欧美亚洲图片小说| 成人97人人超碰人人99| 美女mm1313爽爽久久久蜜臀| 亚洲一区二区三区免费视频| 日本一区二区三区国色天香 | 色婷婷av一区二区三区gif| 国产一区欧美日韩| 性欧美疯狂xxxxbbbb| 国产精品久久久99| 久久美女高清视频| 日韩欧美一区电影| 欧美天堂亚洲电影院在线播放| 成人精品免费网站| 国产精品一区二区三区四区| 免费一区二区视频| 五月婷婷综合网| 亚洲综合色丁香婷婷六月图片| 国产精品视频第一区| 国产亚洲精品bt天堂精选| 欧美一级黄色录像| 69久久夜色精品国产69蝌蚪网| 色呦呦国产精品| 99精品欧美一区二区三区小说 | 99精品视频一区二区| 丰满亚洲少妇av| 国产一区二区三区四区在线观看| 免费观看在线色综合| 亚洲成人1区2区| 亚洲a一区二区| 日精品一区二区| 午夜久久久久久电影| 亚洲亚洲精品在线观看|