taozhuo
11/3/2016 - 7:01 PM

ex3.java

List list = ArrayList<>();
….
If (!Collections.binarySearch(list, key)) list.add(key)