# | Line 31 | Line 31 | |
---|---|---|
31 | import java.util.*; | |
32 | ||
33 | public class BinarySearchNullComparator { | |
34 | < | public static void main (String args[]) throws Exception { |
34 | > | public static void main(String args[]) throws Exception { |
35 | List list = Arrays.asList(new String[] {"I", "Love", "You"}); | |
36 | ||
37 | int result = Collections.binarySearch(list, "You", null); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |