| java.lang.Object org.archive.util.AbstractLongFPSet org.archive.util.fingerprint.MemLongFPSet
All known Subclasses: org.archive.util.fingerprint.LongFPSetCache,
Field Summary | |
protected byte[] | slots | protected long[] | values |
Constructor Summary | |
public | MemLongFPSet() | public | MemLongFPSet(int capacityPowerOfTwo, float loadFactor) Parameters: capacityPowerOfTwo - The capacity as the exponent of a power of 2.e.g if the capacity is 4 this means 2^^4 entries. Parameters: loadFactor - The load factor as a fraction. |
slots | protected byte[] slots(Code) | | |
values | protected long[] values(Code) | | |
MemLongFPSet | public MemLongFPSet()(Code) | | |
MemLongFPSet | public MemLongFPSet(int capacityPowerOfTwo, float loadFactor)(Code) | | Parameters: capacityPowerOfTwo - The capacity as the exponent of a power of 2.e.g if the capacity is 4 this means 2^^4 entries. Parameters: loadFactor - The load factor as a fraction. This gives the amountof free space to keep in the Set. |
clearAt | protected void clearAt(long index)(Code) | | |
getAt | protected long getAt(long i)(Code) | | |
getSlotState | protected int getSlotState(long i)(Code) | | |
makeSpace | protected void makeSpace()(Code) | | |
quickContains | public boolean quickContains(long fp)(Code) | | |
relocate | protected void relocate(long val, long oldIndex, long newIndex)(Code) | | |
setAt | protected void setAt(long i, long val)(Code) | | |
|
|