@Override public int size() { return Containers.sizeAsInt(sizeAsLong()); }
@Override public int size() { return Containers.sizeAsInt(sizeAsLong()); }
@Override public boolean test(byte a, long b) { return map.containsEntry(a, b); } });
@Override public void accept(double key, long value) { map.justPut(key, value); } });
@Override public void accept(long key, double value) { map.justPut(key, value); } });
@Override public boolean test(long a, int b) { return map.containsEntry(a, b); } });
@Override public void accept(K key, int value) { map.justPut(key, value); } });
@Override public void accept(short key, short value) { map.justPut(key, value); } });
@Override public boolean test(double a, byte b) { return map.containsEntry(a, b); } });
@Override public void accept(double key, byte value) { map.justPut(key, value); } });
@Override public void accept(K key, V value) { map.justPut(key, value); } });
@Override public void accept(long key, V value) { map.justPut(key, value); } });
@Override public void accept(K key, short value) { map.justPut(key, value); } });
@Override public boolean test(char a, double b) { return map.containsEntry(a, b); } });
@Override public void accept(long key, long value) { map.justPut(key, value); } });
@Override public void accept(short key, V value) { map.justPut(key, value); } });
@Override public boolean test(char a, char b) { return map.containsEntry(a, b); } });
@Override public boolean test(/* raw */byte a, /* raw */short b) { return map.containsEntry(a, b); } });
/** * Computes hash table capacity for the given size and max load of this config. * * @param size size of the hash table to compute capacity for * @return if the given size is non-negative, returns the least long capacity * such that size / capacity < {@code config().getMaxLoad()}. * If size is negative or there is no such long capacity, result is undefined. */ public long minCapacity(long size) { return maxLoadInverse.scaleUpper(size); }
@Override public int size() { return Containers.sizeAsInt(sizeAsLong()); }