@@ -0,0 +1,1028 @@
+package com.javarush.task.task08.task0810;%0A%0Aimport java.util.ArrayList;%0Aimport java.util.Date;%0Aimport java.util.LinkedList;%0Aimport java.util.List;%0A%0A/* %0A%D0%92%D1%80%D0%B5%D0%BC%D1%8F %D0%B4%D0%BB%D1%8F 10 %D1%82%D1%8B%D1%81%D1%8F%D1%87 %D0%B2%D1%8B%D0%B7%D0%BE%D0%B2%D0%BE%D0%B2 get%0A*/%0A%0Apublic class Solution %7B%0A    public static void main(String%5B%5D args) %7B%0A        System.out.println(getTimeMsOfGet(fill(new ArrayList())));%0A        System.out.println(getTimeMsOfGet(fill(new LinkedList())));%0A    %7D%0A%0A    public static List fill(List list) %7B%0A        for (int i = 0; i %3C 10000; i++) %7B%0A            list.add(new Object());%0A        %7D%0A        return list;%0A    %7D%0A%0A    public static long getTimeMsOfGet(List list) %7B%0A        //%D0%BD%D0%B0%D0%BF%D0%B8%D1%88%D0%B8%D1%82%D0%B5 %D1%82%D1%83%D1%82 %D0%B2%D0%B0%D1%88 %D0%BA%D0%BE%D0%B4%0A        Date startDate = new Date();%0A        get10000(list);%0A%0A        //%D0%BD%D0%B0%D0%BF%D0%B8%D1%88%D0%B8%D1%82%D0%B5 %D1%82%D1%83%D1%82 %D0%B2%D0%B0%D1%88 %D0%BA%D0%BE%D0%B4%0A        Date endDate = new Date();%0A        return endDate.getTime() - startDate.getTime();%0A    %7D%0A%0A    public static void get10000(List list) %7B%0A        if (list.isEmpty()) return;%0A        int x = list.size() / 2;%0A%0A        for (int i = 0; i %3C 10000; i++) %7B%0A            list.get(x);%0A        %7D%0A    %7D%0A%7D%0A

Complete task0810