code: RegistryEntry getRegistryEntry(String pid) {
          if (pid == null) {
              return null;
          }
          return entryMap.get(pid);
      }
docs: get the registry entry, if any, for the supplied pid, which may be null
  
  @param pid pid of desired registry entry, or null
  @return entry for the pid, or null.