title: How can I find out the size of a java.util.List if the actual size is greater than the Integer.MAX_VALUE?
body: <p>As I understood <code>java.util.List</code> does not have size restrictions. As I understand, the size() method:</p>
  
  <blockquote>
    <p>Returns the number of elements in this list. If this list contains
    more than Integer.MAX_VALUE elements, returns Integer.MAX_VALUE.</p>
  </blockquote>
  
  <p>Therefore I have following question:</p>
  
  <p>If my <code>List</code> has a size that is larger than the <code>Integer.MAX_VALUE</code>, is there a way to determine the exact size?</p>