texturecache.java
来自「world wind java sdk 源码」· Java 代码 · 共 41 行
JAVA
41 行
/*Copyright (C) 2001, 2006 United States Governmentas represented by the Administrator of theNational Aeronautics and Space Administration.All Rights Reserved.*/package gov.nasa.worldwind.cache;import com.sun.opengl.util.texture.Texture;/** * @author tag * @version $Id: TextureCache.java 6911 2008-10-03 19:35:45Z tgaskins $ */public interface TextureCache{ void put(Object key, Texture texture); Texture get(Object key); void remove(Object key); int getNumObjects(); long getCapacity(); long getUsedCapacity(); long getFreeCapacity(); boolean contains(Object key); void clear(); void setCapacity(long newCapacity); void setLowWater(long loWater); long getLowWater();}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?