private int identityToBin(Identity identity, AttributesMap attributes) { return (int) (FastMath.abs(identity.computeHash(seed, hashAttributes ,attributes)) % Allocations.NUM_BINS); }
private int identityToBin(Identity identity, AttributesMap attributes) { return (int) (FastMath.abs(identity.computeHash(seed, hashAttributes ,attributes)) % Allocations.NUM_BINS); }