/** * @return Return <code>true</code> if this hash map contains no assigned keys. */ public boolean isEmpty() { return map.isEmpty(); }
@Override public boolean isEmpty() { return map.isEmpty(); }
/** * Ensure this container can hold at least the * given number of keys (entries) without resizing its buffers. * * @param expectedElements The total number of keys, inclusive. */ @Override public void ensureCapacity(int expectedElements) { if (expectedElements > resizeAt || keys == null) { final KType[] prevKeys = (KType[]) this.keys; final VType[] prevValues = (VType[]) this.values; allocateBuffers(minBufferSize(expectedElements, loadFactor)); if (prevKeys != null && !isEmpty()) { rehash(prevKeys, prevValues); } } }
@Override public boolean isEmpty() { return map.isEmpty(); }
@Override public boolean isEmpty() { return map.isEmpty(); }
/** * @return Return <code>true</code> if this hash map contains no assigned keys. */ public boolean isEmpty() { return map.isEmpty(); }
/** * @return Return <code>true</code> if this hash map contains no assigned keys. */ public boolean isEmpty() { return map.isEmpty(); }
/** * @return Return <code>true</code> if this hash map contains no assigned keys. */ public boolean isEmpty() { return map.isEmpty(); }
@Override public boolean isEmpty() { return map.isEmpty(); }
/** * @return Return <code>true</code> if this hash map contains no assigned keys. */ public boolean isEmpty() { return map.isEmpty(); }
/** * @return Return <code>true</code> if this hash map contains no assigned keys. */ public boolean isEmpty() { return map.isEmpty(); }
@Override public boolean isEmpty() { return map.isEmpty(); }
@Override public final synchronized boolean isContextEmpty() { return context == null || context.isEmpty(); }
@Override public boolean isEmpty() { return map.isEmpty(); }
/** * Ensure this container can hold at least the * given number of keys (entries) without resizing its buffers. * * @param expectedElements The total number of keys, inclusive. */ @Override public void ensureCapacity(int expectedElements) { if (expectedElements > resizeAt || keys == null) { final KType[] prevKeys = (KType[]) this.keys; final VType[] prevValues = (VType[]) this.values; allocateBuffers(minBufferSize(expectedElements, loadFactor)); if (prevKeys != null && !isEmpty()) { rehash(prevKeys, prevValues); } } }