Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (R. Hendricks 112) int index = 0;
- (R. Hendricks 113) while(!element.equals(sortedList.get(index))
- (R. Hendricks 114) && sortedList.size() > ++index);
- (R. Hendricks 115) return index < sortedList.size() ? index : -1;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement