Search:

Type: Posts; User: Norm

Search: Search took 0.36 seconds.

  1. Replies
    3
    Views
    1,567

    Re: Question about ArrayList

    One way would be to wrap the ArrayList in a class and have an add() method that would look at the filesize of items being added and control the number allowed based on total filesize so far.
  2. Replies
    3
    Views
    1,567

    Re: Question about ArrayList

    How does a file's size relate to the capacity of an ArrayList? An ArrayList holds references to objects, not the full contents of an object.

    Are you asking how to limit the number of objects that...
Results 1 to 2 of 2