Interface KeyResolver<T>

All Known Implementing Classes:
ManifestMerger2.SelectorResolver

public interface KeyResolver<T>
Facility to identify an element from its key.
  • Method Summary

    Modifier and Type
    Method
    Description
     
    Returns an element identified with the passed key.
  • Method Details

    • resolve

      @Nullable T resolve(String key)
      Returns an element identified with the passed key.
      Parameters:
      key - key to resolve.
      Returns:
      the element identified by the passed key or null if there is no key of that name.
    • getKeys

      Iterable<String> getKeys()