How to make ArrayList of hashset in java?
<p>I want to make <strong>ArrayList of HashSet</strong> and use it.<br><br></p>

<h3>**My Problem:**</h3>

<p>I will get an Integer N as an user input.<br>
I have to make a hashset and put some values in it.<br>
Then add it to ArrayList and above step is to be done N times.<br>
After it I have to check whether a element is present in the first/second/third/... or Nth hashset in ArrayList.<br></p>

<p>To check value in which hashset is also given by user.
<br>
I dont have to convert my ArrayList to hashset either I have to make ArrayList to hashset.</p>