Package org.broad.igv.util.collections

Examples of org.broad.igv.util.collections.LRUCache


    ResourceLocator rootLocator;
    Genome genome;

    public FeatureDirSource(ResourceLocator locator, Genome genome) throws IOException {
        this.genome = genome;
        featureCache = new LRUCache(3);
        rootLocator = locator;
        setRootDir(locator.getPath());

        fileMap = new Properties();
        InputStream propStream = ParsingUtils.openInputStreamGZ(locator);
View Full Code Here


    }


    public CachingMethylSource(MethylDataSource reader, int tileCount, int binSize) {
        this.reader = reader;
        this.cache = new LRUCache(tileCount);
        this.binSize = binSize;
    }
View Full Code Here

     * @return
     */
    protected abstract Iterator<Feature> queryRaw(String chr, int start, int end) throws IOException;

    public AbstractCacher(int binCount, int binSize) {
        this.cache = new LRUCache(binCount);
        this.binSize = binSize;
    }
View Full Code Here

TOP

Related Classes of org.broad.igv.util.collections.LRUCache

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.