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; }

No comments: