Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- System.out.println(wypelnij(new ArrayList<String>())); //kolejność dodawania
- System.out.println(wypelnij(new LinkedList<String>())); //kolejnośc dodawania
- //bez powtórzeń:
- System.out.println(wypelnij(new HashSet<String>())); //nie da się określić kolejności?
- System.out.println(wypelnij(new TreeSet<String>())); //kolejność posortowana - (domyślnie) alfabetycznie
- System.out.println(wypelnij(new LinkedHashSet<String>())); //kolejność dodawania
- System.out.println(wypelnij(new HashMap<String, String>())); //nie da się określić kolejności?
- System.out.println(wypelnij(new TreeMap<String, String>())); //posortowana
- System.out.println(wypelnij(new LinkedHashMap<String, String>())); //kolejność dodawania
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement