Search:

Type: Posts; User: Sean4u

Search: Search took 0.10 seconds.

  1. Re: Help with ArrayList ( Adding certain elements together)

    I think I've seen it happen, so maybe there is. I might even (unbeknownst to me) have the power to do it myself, though I tend to be better at theory than implementation. :D

    Your loop-of-loops...
  2. Re: Help with ArrayList ( Adding certain elements together)

    That's a different problem, so I'd say you should have a new thread. Why aren't you using BigInteger for your problem?
  3. Re: Help with ArrayList ( Adding certain elements together)

    strLine = br.readLine()
    You're reading Strings from the file. If you want to store / manipulate numbers, you should be converting each String you read from your input to a number. If the numbers are...
  4. Re: Help with ArrayList ( Adding certain elements together)

    The only sure way is to use Object.hashCode(), but perhaps you're not asking the right question.

    It depends on what the Object is. If the Object is a java.lang.Integer, then there's a handy method...
Results 1 to 4 of 4