public override bool AddAll(PrimitiveLongIterator values) { bool changed = false; while (values.HasNext()) { changed |= HopScotchHashingAlgorithm.Put(Table, _monitor, DEFAULT_HASHING, values.Next(), _valueMarker, this) == null; } return(changed); }
public override long Put(long key, long value) { return(Unpack(HopScotchHashingAlgorithm.Put(Table, _monitor, DEFAULT_HASHING, key, Pack(value), this))); }
public override bool Add(long value) { return(HopScotchHashingAlgorithm.Put(Table, _monitor, DEFAULT_HASHING, value, _valueMarker, this) == null); }
public override VALUE Put(int key, VALUE value) { return(HopScotchHashingAlgorithm.Put(Table, _monitor, DEFAULT_HASHING, key, value, this)); }