Page 2 of 2 FirstFirst 12
Results 21 to 22 of 22
  1. #21
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Voorschoten, the Netherlands
    Blog Entries
    Rep Power


    Quote Originally Posted by neonz View Post
    Hope someone will take a look and help comment to see if everything work fine.
    Thanks, been a few days already and no one commented or reply.

    Thanks for all comment and reply.
    If your code works everything is fine; what more do you want if you can't find a clear and obvious way to 'optimize' it? If your code scans the String or input just once and can decide whether or not your String or input is valid after it has scanned it all, theoretically your code is optimal.

    kind regards,

    Build a wall around Donald Trump; I'll pay for it.

  2. #22
    neonz is offline Member
    Join Date
    Feb 2011
    Rep Power

Page 2 of 2 FirstFirst 12

Similar Threads

  1. check string inside string
    By alacn in forum New To Java
    Replies: 8
    Last Post: 07-07-2010, 12:52 PM
  2. Replies: 1
    Last Post: 04-30-2010, 03:21 PM
  3. Check method
    By XMarkoX in forum New To Java
    Replies: 5
    Last Post: 11-24-2009, 01:54 PM
  4. flipping memory cards if they are not matched...
    By yanipao in forum New To Java
    Replies: 8
    Last Post: 10-18-2009, 02:25 AM
  5. check command method please
    By dirtycash in forum New To Java
    Replies: 1
    Last Post: 12-06-2007, 10:35 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