title: Java set and contains
body: <p>I read the statement:</p>
  
  <p>HashSet offers constant time performance for the basic operations (add, remove, contains and size).</p>
  
  <p>Is 'contains' true here?
  While shortlisting the bucket is a contant-time performance - isnt finding the elements within the bucket a o(n) operation?</p>
  
  <p>Do I misunderstand something?</p>