Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 178 for Reimplement (0.03 sec)

  1. android/guava-testlib/src/com/google/common/testing/TearDownAccepter.java

    import org.jspecify.annotations.NullMarked;
    
    /**
     * Any object which can accept registrations of {@link TearDown} instances.
     *
     * @author Kevin Bourrillion
     * @since 10.0
     */
    @DoNotMock("Implement with a lambda")
    @GwtCompatible
    @NullMarked
    public interface TearDownAccepter {
      /**
       * Registers a TearDown implementor which will be run after the test proper.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/TreeTraverser.java

     * (hdegabcf).
     *
     * <p>Null nodes are strictly forbidden.
     *
     * <p>Because this is an abstract class, not an interface, you can't use a lambda expression to
     * implement it:
     *
     * {@snippet :
     * // won't work
     * TreeTraverser<NodeType> traverser = node -> node.getChildNodes();
     * }
     *
     * Instead, you can pass a lambda expression to the {@code using} factory method:
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/hash/Funnel.java

     *         .putUnencodedChars(person.getLastName())
     *         .putInt(person.getAge());
     *   }
     * }
     * }
     *
     * @author Dimitris Andreou
     * @since 11.0
     */
    @Beta
    @DoNotMock("Implement with a lambda")
    public interface Funnel<T extends @Nullable Object> extends Serializable {
    
      /**
       * Sends a stream of data from the {@code from} object into the sink {@code into}. There is no
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ForwardingList.java

     * href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>.
     *
     * <p>This class does not implement {@link java.util.RandomAccess}. If the delegate supports random
     * access, the {@code ForwardingList} subclass should implement the {@code RandomAccess} interface.
     *
     * <p><b>Warning:</b> The methods of {@code ForwardingList} forward <b>indiscriminately</b> to the
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/features/TesterAnnotation.java

    /**
     * Use this to meta-annotate {@code XxxFeature.Require} annotations, so that those annotations can
     * be used to decide whether to apply a test to a given class-under-test.
     *
     * <p>This is needed because annotations can't implement interfaces, which is also why reflection is
     * used to extract values from the properties of the various annotations.
     *
     * @author George van den Driessche
     */
    @Target(value = {ElementType.ANNOTATION_TYPE})
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jun 14 17:55:55 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/AbstractListeningExecutorService.java

     * instances for each {@link Runnable} and {@link Callable} submitted to it. These tasks are run
     * with the abstract {@link #execute execute(Runnable)} method.
     *
     * <p>In addition to {@link #execute}, subclasses must implement all methods related to shutdown and
     * termination.
     *
     * @author Chris Povirk
     * @since 14.0
     */
    @CheckReturnValue
    @GwtIncompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 17:47:46 UTC 2025
    - 3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/reflect/Types.java

       * AnnotatedElement}, which {@code TypeVariable} began to extend only in Java 8. Those methods
       * refer only to types present under Android, so we could implement them in {@code
       * TypeVariableImpl} today. (We could probably then make {@code TypeVariableImpl} implement {@code
       * AnnotatedElement} so that we get partial compile-time checking.)
       *
       * <p>This workaround should be removed at a distant future time when <a
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskRunner.kt

     * instance for non-daemon threads.
     *
     * The task runner is also responsible for releasing held threads when the library is unloaded.
     * This is for the benefit of container environments that implement code unloading.
     *
     * Most applications should share a process-wide [TaskRunner] and use queues for per-client work.
     */
    class TaskRunner(
      val backend: Backend,
      internal val logger: Logger = TaskRunner.logger,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:30:11 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/TreeTraverser.java

     * (hdegabcf).
     *
     * <p>Null nodes are strictly forbidden.
     *
     * <p>Because this is an abstract class, not an interface, you can't use a lambda expression to
     * implement it:
     *
     * {@snippet :
     * // won't work
     * TreeTraverser<NodeType> traverser = node -> node.getChildNodes();
     * }
     *
     * Instead, you can pass a lambda expression to the {@code using} factory method:
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/IterablesTest.java

        // Changes after are not
        list.set(0, 5);
    
        assertEquals(ImmutableList.of(3, 4), first);
      }
    
      @J2ktIncompatible // Arrays.asList(...).subList() doesn't implement RandomAccess in J2KT.
      @GwtIncompatible // Arrays.asList(...).subList doesn't implement RandomAccess in GWT
      public void testPartitionRandomAccessInput() {
        Iterable<Integer> source = asList(1, 2, 3);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 45.2K bytes
    - Viewed (0)
Back to top