mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 00:11:26 +07:00
testdata for IDEA-18425
This commit is contained in:
+15
@@ -0,0 +1,15 @@
|
||||
public abstract class BiFunction<A,B> {
|
||||
public abstract B apply(A a);
|
||||
public abstract A unapply(B b);
|
||||
public BiFunction<B,A> flip() {
|
||||
return new BiFunction<B, A>() {
|
||||
public A apply(B b) {
|
||||
return BiFunction.this.unapply(b);
|
||||
}
|
||||
|
||||
public B unapply(A a) {
|
||||
return BiFunction.this.apply(a);
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user