mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-18 17:20:54 +07:00
12 lines
232 B
Java
12 lines
232 B
Java
// "Implement methods" "true-preview"
|
|
import java.util.Optional;
|
|
|
|
interface I<T> {
|
|
Optional<T> foo();
|
|
}
|
|
class Impl implements I<String> {
|
|
@Override
|
|
public Optional<String> foo() {
|
|
return Optional.empty();
|
|
}
|
|
} |