code: public static List <String[]> getAllStaticResolutions() {
      synchronized (hostToResolved) {
        Set <Entry <String, String>>entries = hostToResolved.entrySet();
        if (entries.size() == 0) {
          return null;
        }
        List <String[]> l = new ArrayList<String[]>(entries.size());
        for (Entry<String, String> e : entries) {
          l.add(new String[] {e.getKey(), e.getValue()});
        }
        return l;
      }
    }
docs: This is used to get all the resolutions that were added using
  {@link NetUtils#addStaticResolution(String, String)}. The return
  value is a List each element of which contains an array of String
  of the form String[0]=hostname, String[1]=resolved-hostname
  @return the list of resolutions