Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for mybridge (1.84 sec)

  1. guava-tests/test/com/google/common/eventbus/EventBusTest.java

      }
    
      /**
       * Tests that bridge methods are not subscribed to events. In Java 8, annotations are included on
       * the bridge method in addition to the original method, which causes both the original and bridge
       * methods to be subscribed (since both are annotated @Subscribe) without specifically checking
       * for bridge methods.
       */
      public void testRegistrationWithBridgeMethod() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/eventbus/EventBusTest.java

      }
    
      /**
       * Tests that bridge methods are not subscribed to events. In Java 8, annotations are included on
       * the bridge method in addition to the original method, which causes both the original and bridge
       * methods to be subscribed (since both are annotated @Subscribe) without specifically checking
       * for bridge methods.
       */
      public void testRegistrationWithBridgeMethod() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java

        for (Method m : TreeMultimap.class.getMethods()) {
          if (m.getName().equals("keySet") && m.getReturnType().equals(SortedSet.class)) {
            return;
          }
        }
        fail("No bridge method found");
      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public void testAsMapBridgeMethods() {
        for (Method m : TreeMultimap.class.getMethods()) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java

        for (Method m : TreeMultimap.class.getMethods()) {
          if (m.getName().equals("keySet") && m.getReturnType().equals(SortedSet.class)) {
            return;
          }
        }
        fail("No bridge method found");
      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public void testAsMapBridgeMethods() {
        for (Method m : TreeMultimap.class.getMethods()) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/TreeMultisetTest.java

        for (Method m : TreeMultiset.class.getMethods()) {
          if (m.getName().equals("elementSet") && m.getReturnType().equals(SortedSet.class)) {
            return;
          }
        }
        fail("No bridge method found");
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 12.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/ServiceManagerBridge.java

    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.collect.ImmutableMultimap;
    import com.google.common.util.concurrent.Service.State;
    
    /**
     * Superinterface of {@link ServiceManager} to introduce a bridge method for {@code
     * servicesByState()}, to ensure binary compatibility with older Guava versions that specified
     * {@code servicesByState()} to return {@code ImmutableMultimap}.
     */
    @J2ktIncompatible
    @GwtIncompatible
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 1.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/SortedMultisetBridge.java

    import com.google.common.annotations.GwtIncompatible;
    import java.util.SortedSet;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Superinterface of {@link SortedMultiset} to introduce a bridge method for {@code elementSet()},
     * to ensure binary compatibility with older Guava versions that specified {@code elementSet()} to
     * return {@code SortedSet}.
     *
     * @author Louis Wasserman
     */
    @GwtIncompatible
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 01 22:07:10 GMT 2021
    - 1.2K bytes
    - Viewed (0)
  8. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

       * (In other words, this method must allocate a new array). The caller is thus free to modify the
       * returned array.
       *
       * <p>This method acts as bridge between array-based and collection-based APIs.
       *
       * @return an array containing all of the elements in this queue
       */
      @CanIgnoreReturnValue
      @Override
      public Object[] toArray() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 22.5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/TreeMultisetTest.java

        for (Method m : TreeMultiset.class.getMethods()) {
          if (m.getName().equals("elementSet") && m.getReturnType().equals(SortedSet.class)) {
            return;
          }
        }
        fail("No bridge method found");
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 12.9K bytes
    - Viewed (0)
  10. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java

       * (In other words, this method must allocate a new array). The caller is thus free to modify the
       * returned array.
       *
       * <p>This method acts as bridge between array-based and collection-based APIs.
       *
       * @return an array containing all of the elements in this queue
       */
      @CanIgnoreReturnValue // pushed down from class to method
      @Override
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 19.5K bytes
    - Viewed (0)
Back to top