Results 1 to 3 of 3
  1. #1
    hey
    hey is offline Member
    Join Date
    Dec 2007
    Posts
    21
    Rep Power
    0

    Default Create a VeryLong class that will store an integer of arbitrary length.

    Create a VeryLong class that will store an integer of arbitrary length.

    Is anyone has any ideas how to implement?

  2. #2
    spoon! is offline Member
    Join Date
    Dec 2007
    Posts
    12
    Rep Power
    0

    Default

    This already exists. java.math.BigInteger

    A simple naive implementation would be an ArrayList of Integers.

  3. #3
    hey
    hey is offline Member
    Join Date
    Dec 2007
    Posts
    21
    Rep Power
    0

    Default

    Quote Originally Posted by spoon! View Post
    This already exists. java.math.BigInteger

    A simple naive implementation would be an ArrayList of Integers.
    That was I thought)) Thank you.

Similar Threads

  1. Replies: 16
    Last Post: 05-08-2008, 10:45 PM
  2. Replies: 1
    Last Post: 04-09-2008, 03:15 AM
  3. VeryLong Integer.. help
    By hey in forum New To Java
    Replies: 4
    Last Post: 12-14-2007, 10:48 PM
  4. create a tree when a new class is created
    By osval in forum Advanced Java
    Replies: 1
    Last Post: 08-06-2007, 09:58 PM
  5. Help with method length
    By toby in forum New To Java
    Replies: 1
    Last Post: 07-25-2007, 09:29 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •