/** * Returns the number of entries in this map. * * @return the number of entries in this map. */ @Override public int size() { return keySet().size(); }
/** * Returns the number of entries in this map. * * @return the number of entries in this map. */ @Override public int size() { return keySet().size(); }
/** * Returns {@code true} if this map contains no key-value mappings. * * @return {@code true} if this map contains no key-value mappings. */ @Override public boolean isEmpty() { return storage.isEmpty() || keySet().isEmpty(); }
/** * Returns {@code true} if this map contains no key-value mappings. * * @return {@code true} if this map contains no key-value mappings. */ @Override public boolean isEmpty() { return storage.isEmpty() || keySet().isEmpty(); }