code: public List getVariations(String imgName) {
  
          List ret = (List)m_variations.get(imgName);
          if (ret == null) {
              return new ArrayList();
          }
          Collections.sort(ret);
          return ret;
      }
docs: Returns the variations for the given image.<p>
  
  @param imgName the image name
  
  @return the variations for the given image