no.priv.garshol.duke
Class Bucket
java.lang.Object
no.priv.garshol.duke.Bucket
- All Implemented Interfaces:
- Comparable<Bucket>
public class Bucket
- extends Object
- implements Comparable<Bucket>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
nextfree
public int nextfree
records
public long[] records
Bucket
public Bucket()
add
public void add(long id)
compareTo
public int compareTo(Bucket other)
- Specified by:
compareTo
in interface Comparable<Bucket>
sort
public void sort()
getScore
public double getScore()
contains
public boolean contains(long record)
Copyright © 2013. All Rights Reserved.