The lower() method of the NavigableSet interface returns the greatest element that is strictly less than the element in the method parameter. However, if there is no such element in the set, this method returns a null value. The lower() method throws the ClassCastException if the specified element cannot be compared with the elements currently in the set. It throws the NullPointerException if the specified element is null and the given set does not permit null elements.
Download practice question and study guide for scjp-5-0 for exam. Pass SCJP 6.0 in first attampt.
Like this article? Share it with others
If you like this article, please leave a comment or subscribe this blog via RSS or via e-mail, Bookmark and share through your network. Click the AddThis button below. Thanks.
If you like this article, please leave a comment or subscribe this blog via RSS or via e-mail, Bookmark and share through your network. Click the AddThis button below. Thanks.