Skip to content
This repository was archived by the owner on May 9, 2024. It is now read-only.
This repository was archived by the owner on May 9, 2024. It is now read-only.

Future<Integer> #3

@marinagomes02

Description

@marinagomes02

Boa tarde, em relação ao tipo Future que a função countPatternsFrom retorna, é suposto criar uma instância desse tipo, fazer override das funções da interface e retorná-lo ou há outra solução melhor?

Exemplo:

Future futureInteger = new Future() {
@OverRide
public boolean cancel(boolean may) { ... }
@OverRide
public Integer get(long timeout, TimeUnit unit)
(...)
};
return futureInteger;

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions