Ryan Rampersad
Opinions, Thoughts and Ideas - PHP, Java and Javascript
  • Home
  • About
  • Contact
Browse: Home / message

message

java.util.Scanner [delimiters=\p{java Whitespace}+]

By Ryan on November 28, 2009

My computer science teacher encountered this strange string while working with another student one day after class. The assignment was using Scanner and stepping through a string by delimiter. java.util.Scanner[delimiters=\p{javaWhitespace}+][position=0][match valid=false][need input=false][ source closed = false ][skipped=false][group separator=\,][decimal separator=\.][positive prefix=][negative prefix=\Q-\E][positive suffix=][negative suffix=][NaN string=\Q?\E][infinity string=\Q∞\E] Doesn’t that looks like a scary mess? Actually, it’s not [...]

Posted in Java | Tagged Error, Java, message, scanner | Leave a response

Recent Posts

  • Update Ubuntu via Terminal
  • How to install libmysqlclient15off on Ubuntu 10.04
  • The Great iPhone Price
  • My Top 5 AP Computer Science Tips
  • Ubuntu Username/Password On Live CD

Tags

(fluff)Grabber ap Apple array beta blog blogs Browser Browsers CakePHP chrome CSS Design Error exam facebook Firefox fluff friends fluff grabber free Google html ib iGoogle internet explorer Java Javascript linux Microsoft model Mootools music PHP plurk review School SEO solution string Tips ubuntu update Windows windows 7 Wordpress

Search

Meta

  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org
QC: