Package org.archive.util.fingerprint

Examples of org.archive.util.fingerprint.MemLongFPSet


    private boolean received = false;
   
  protected void setUp() throws Exception {
    super.setUp();
        // 17 makes a MemLongFPSet of one meg of longs (64megs).
    this.filter = new FPUriUniqFilter(new MemLongFPSet(10, 0.75f));
    this.filter.setDestination(this);
    }
View Full Code Here


        } else if(MemUriUniqFilter.class.getName().endsWith(testClass)) {
            // mem hashset
            uniq = new MemUriUniqFilter();
        } else if (FPUriUniqFilter.class.getName().endsWith(testClass)) {
            // mem fp set (open-addressing) setup
            uniq = new FPUriUniqFilter(new MemLongFPSet(21,0.75f));
        }
        uniq.setDestination(this);
        return uniq;
    }
View Full Code Here

TOP

Related Classes of org.archive.util.fingerprint.MemLongFPSet

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.