mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
GitOrigin-RevId: e2f2188edf79fddd902c038bdfdea072eed01bfe
15 lines
263 B
Java
15 lines
263 B
Java
public class Test {
|
|
public static void main(String[] args) {
|
|
final Memento m = Test::isPlaying;
|
|
System.out.println(m);
|
|
}
|
|
|
|
private static boolean isPlaying() {
|
|
return false;
|
|
}
|
|
|
|
public static interface Memento {
|
|
boolean isPlaying();
|
|
}
|
|
}
|