Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for FooChild (0.05 seconds)

  1. guava-tests/test/com/google/common/util/concurrent/SettableFutureTest.java

        assertThat(future.get()).isEqualTo("foo");
      }
    
      private static class Foo {}
    
      private static class FooChild extends Foo {}
    
      public void testSetFuture_genericsHierarchy() throws Exception {
        SettableFuture<Foo> future = SettableFuture.create();
        SettableFuture<FooChild> nested = SettableFuture.create();
        assertTrue(future.setFuture(nested));
        // Later attempts to set the future should return false.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 7.4K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/SettableFutureTest.java

        assertThat(future.get()).isEqualTo("foo");
      }
    
      private static class Foo {}
    
      private static class FooChild extends Foo {}
    
      public void testSetFuture_genericsHierarchy() throws Exception {
        SettableFuture<Foo> future = SettableFuture.create();
        SettableFuture<FooChild> nested = SettableFuture.create();
        assertTrue(future.setFuture(nested));
        // Later attempts to set the future should return false.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 7.4K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

          return getDone(future);
        }
      }
    
      private static class MyException extends Exception {}
    
      // Class hierarchy for generics sanity checks
      private static class Foo {}
    
      private static class FooChild extends Foo {}
    
      private static class Bar {}
    
      private static class BarChild extends Bar {}
    
      public void testTransform_genericsNull() throws Exception {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 134K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

          return getDone(future);
        }
      }
    
      private static class MyException extends Exception {}
    
      // Class hierarchy for generics sanity checks
      private static class Foo {}
    
      private static class FooChild extends Foo {}
    
      private static class Bar {}
    
      private static class BarChild extends Bar {}
    
      public void testTransform_genericsNull() throws Exception {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 134K bytes
    - Click Count (0)
Back to Top