Lista de devolución de Java
public List<E> foo() {
// List is abstract, use ArrayList (child of List) for instances
List<E> list = new ArrayList<>();
return list;
}
PutinsRightNut