Lines Matching refs:Bar
209 private static class Bar {}
210 private static class BarChild extends Bar {}
227 Bar bar = Futures.transform(future, function).get();
228 assertSame(barChild, bar);
233 AsyncFunction<Foo, Bar> function = new AsyncFunction<Foo, Bar>() {
234 @Override public ListenableFuture<Bar> apply(Foo unused) {
245 AsyncFunction<Foo, Bar> function = new AsyncFunction<Foo, Bar>() {
246 @Override public ListenableFuture<Bar> apply(Foo unused) {
257 final SettableFuture<Bar> secondary = SettableFuture.create();
258 AsyncFunction<Foo, Bar> function = new AsyncFunction<Foo, Bar>() {
259 @Override public ListenableFuture<Bar> apply(Foo unused) {
271 final SettableFuture<Bar> secondary = SettableFuture.create();
272 AsyncFunction<Foo, Bar> function = new AsyncFunction<Foo, Bar>() {
273 @Override public ListenableFuture<Bar> apply(Foo unused) {
455 new FunctionSpy<Object, String>(Functions.constant("bar"));
459 assertEquals("bar", transformed.get());
461 assertEquals("bar", transformed.get());
678 Bar bar = Futures.transform(future, function).get();
679 assertSame(barChild, bar);