Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 191 for complement (6.32 sec)

  1. guava/src/com/google/common/graph/SuccessorsFunction.java

     * {@link ValueGraph}, and {@link Network}):
     *
     * {@snippet :
     * someGraphAlgorithm(startNode, graph);
     * }
     *
     * This works because those types each implement {@code SuccessorsFunction}. It will also work with
     * any other implementation of this interface.
     *
     * <p>If you have your own graph implementation based around a custom node type {@code MyNode},
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/TestUnhashableCollectionGenerator.java

        int i = 0;
        for (Object e : elements) {
          array[i++] = (UnhashableObject) e;
        }
        return create(array);
      }
    
      /**
       * Creates a new collection containing the given elements; implement this method instead of {@link
       * #create(Object...)}.
       */
      protected abstract T create(UnhashableObject[] elements);
    
      @Override
      public UnhashableObject[] createArray(int length) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/util/concurrent/testing/TestingExecutors.java

       *
       * <p>Although all tasks are immediately executed in the thread that submitted the task, this
       * {@code ExecutorService} imposes a small locking overhead on each task submission in order to
       * implement shutdown and termination behavior.
       *
       * <p>Because of the nature of single-thread execution, the methods {@code scheduleAtFixedRate}
       * and {@code scheduleWithFixedDelay} are not supported by this class and will throw an
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/Converter.java

     *       the {@code Converter} type using a mocking framework.
     *   <li>Pass two lambda expressions or method references to the {@link #from from} factory method.
     *   <li>Extend this class and implement its {@link #doForward} and {@link #doBackward} methods.
     * </ul>
     *
     * <p>Using a converter:
     *
     * <ul>
     *   <li>Convert one instance in the "forward" direction using {@code converter.convert(a)}.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jun 18 21:43:06 UTC 2025
    - 22.8K bytes
    - Viewed (0)
  5. 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.5K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/IteratorTester.java

     * thought of as overkill; however, it's difficult to determine which proper subset of this massive
     * set would be sufficient to expose any possible bug. Brute force is simpler.
     *
     * <p>To use this class the concrete subclass must implement the {@link
     * IteratorTester#newTargetIterator()} method. This is because it's impossible to test an Iterator
     * without changing its state, so the tester needs a steady supply of fresh Iterators.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/JdkFutureAdapters.java

    @GwtIncompatible
    public final class JdkFutureAdapters {
      /**
       * Assigns a thread to the given {@link Future} to provide {@link ListenableFuture} functionality.
       *
       * <p><b>Warning:</b> If the input future does not already implement {@code ListenableFuture}, the
       * returned future will emulate {@link ListenableFuture#addListener} by taking a thread from an
       * internal, unbounded pool at the first call to {@code addListener} and holding it until the
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top