141142143144145146147148149150151
} // If band re-ordering not needed on basis of bank indices // then check ordering of band offsets. if(!reorderBands) { indexMap.clear(); if(bandIndexMap == null) { bandIndexMap = new int[numBands]; }
193194195196197198199200201202203
public void clear() { if (fast) { synchronized (this) { TreeMap temp = (TreeMap) map.clone(); temp.clear(); map = temp; } } else { synchronized (map) { map.clear();
196197198199200201202203204205206
195196197198199200201202203204205
245246247248249250251252253254255
private void clear(Lock lock, SoftReference reference) { lock.lock(); try { TreeMap pool = getPool(reference); if (pool != null) pool.clear(); } finally { lock.unlock(); } }
169170171172173174175176177178179