code: static final Entry getEntry (final String key, final Collection<Entry> entries) {
          for (Entry e : entries)
              if (e.matchKey(key)) return e;
          return null;
      }
docs: Returns the first {@link Entry} in the specified {@link Collection} for which {@link Entry#matchKey(String)}
  returns <code>true</code>.
  
  @param key the key String identifying the {@link Entry}
  @param entries a {@link Collection} of {@link Entry} objects.
  @return a matching {@link Entry} or null, if no such {@link Entry} exists