Pergunta de entrevista da empresa Amdocs

How to skip blanks in the list of strings using Java 8

Resposta da entrevista

Sigiloso

12 de jan. de 2022

After I showed him the way using Java 8 filters, he showed me that there is one method to remove - list.removeIf Reality is he created list by using Arrays.aslist In this list got created but it’s of package Java.lang not Java.util For list In Java lang package the method removeIf doesn’t work