mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 07:20:53 +07:00
14 lines
301 B
Java
14 lines
301 B
Java
public class Foo {
|
|
public<T> void foo() {
|
|
Predicate<T> predicate = ne<caret>w Predicate<T>() {
|
|
@Override
|
|
public boolean test(T t) {
|
|
return false;
|
|
}
|
|
};
|
|
}
|
|
|
|
private interface Predicate<K> {
|
|
boolean test(K t);
|
|
}
|
|
} |