title: How to write a function with linkedhashmap parameter
body: <p>Sorry i'm new to linkedhashmap, i have no idea how to apply for this. Appreciated for any help. </p>
  
  <h2>JSP file</h2>
  
  <pre><code>&lt;%
      LinkedHashMap htItem    = (LinkedHashMap) session.getAttribute("RiskItem");
      Vector Record           = new Vector();
             Record           = common.record(htItem); // i want to bring htrisk to record.java
  %&gt;
  </code></pre>
  
  <h2>Record Java file</h2>
  
  <pre><code>public Vector record(htItem) // how should i write in my parameter? 
  {
      //data
  }
  </code></pre>