Sunday, December 19, 2004

Mustang: 2 new methods in String class.

Two new helper methods are added to String class. The changes are described in bug#6189137.

1. boolean isEmpty() { return length() == 0; }
2. boolean contains(String s) { return indexOf(s) >= 0; }

1 comment:

Anonymous said...

Want to register better domains with better keywords? Want to host the sites better as well? Check out first post!