title: Is it possible to find out if a value exists twice in an arraylist?
body: <p>I have an integer arraylist.. </p>
  
  <pre><code>ArrayList &lt;Integer&gt; portList = new ArrayList();
  </code></pre>
  
  <p>I need to check if a specific integer has already been entered twice. Is this possible in Java? </p>