Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2018 03:39 AM
I supposed could do
return gr.hasNext();
instead of
if(gr.next()) {
return true;
} else {
return false
}
a little more efficient in coding