Code example for Vector

Methods: elementAtsize

0
   *         that matches the constraints. 
   */ 
  public Source getAssociatedStylesheet()
  { 
 
    int sz = m_stylesheets.size();
 
    if (sz > 0)
    { 
      Source source = (Source) m_stylesheets.elementAt(sz-1);
      return source;      
    } 
    else 
      return null; 
  } 
 
  /** 
   * Handle the xml-stylesheet processing instruction. 
   * 
   * @param target The processing instruction target. 
Stop searching for code, let great code find you!  Add Codota to your java IDE