public static int indexOf(FacetFieldList list, String facetName, int startIndex) {
   int j = startIndex;
   for (; j < list.size() && !list.get(j).getName().equals(facetName); j++) ;
   if (j >= list.size()) return -1;
   return j;
 }
 public int indexOf(String facetName, int startIndex) {
   return FacetFieldList.indexOf(this, facetName, startIndex);
 }
 public static FacetFieldObject get(FacetFieldList list, String facetName) {
   int index = indexOf(list, facetName);
   if (index == -1) return null;
   return list.get(index);
 }
 public int indexOf(String facetName) {
   return FacetFieldList.indexOf(this, facetName);
 }
 public FacetFieldObject get(String facetName) {
   return FacetFieldList.get(this, facetName);
 }