import java.util.ArrayList;
import java.util.List;
import java.util.stream.Collectors;
class Teste {
public static void main
(String[] args
) { List
<Object[]> lista
= new ArrayList
<>(); dados[0] = 1;
dados[1] = 20;
dados[1] = "cristiano";
lista.add(dados);
dados[0] = 2;
dados[1] = 40;
dados[1] = "fulano";
lista.add(dados);
List<Integer> lista2 = lista.stream()
.collect(Collectors.toList());
}
}
aW1wb3J0IGphdmEudXRpbC5BcnJheUxpc3Q7CmltcG9ydCBqYXZhLnV0aWwuTGlzdDsKaW1wb3J0IGphdmEudXRpbC5zdHJlYW0uQ29sbGVjdG9yczsKCmNsYXNzIFRlc3RlIHsKICAgIHB1YmxpYyBzdGF0aWMgdm9pZCBtYWluKFN0cmluZ1tdIGFyZ3MpIHsKICAgICAgICBMaXN0PE9iamVjdFtdPiBsaXN0YSA9IG5ldyBBcnJheUxpc3Q8PigpOwogICAgICAgIE9iamVjdFtdIGRhZG9zID0gbmV3IE9iamVjdFszXTsKICAgICAgICBkYWRvc1swXSA9IDE7CiAgICAgICAgZGFkb3NbMV0gPSAyMDsKICAgICAgICBkYWRvc1sxXSA9ICJjcmlzdGlhbm8iOwogICAgICAgIGxpc3RhLmFkZChkYWRvcyk7CgogICAgICAgIGRhZG9zID0gbmV3IE9iamVjdFszXTsgCiAgICAgICAgZGFkb3NbMF0gPSAyOwogICAgICAgIGRhZG9zWzFdID0gNDA7CiAgICAgICAgZGFkb3NbMV0gPSAiZnVsYW5vIjsKICAgICAgICBsaXN0YS5hZGQoZGFkb3MpOwoKICAgICAgICBMaXN0PEludGVnZXI+IGxpc3RhMiA9IGxpc3RhLnN0cmVhbSgpCiAgICAgICAgICAgICAgICAubWFwKHggLT4gKEludGVnZXIpIHhbMF0pCiAgICAgICAgICAgICAgICAuY29sbGVjdChDb2xsZWN0b3JzLnRvTGlzdCgpKTsKCiAgICAgICAgU3lzdGVtLm91dC5wcmludGxuKGxpc3RhMik7CiAgICB9Cn0=