Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 75 for expose (0.21 sec)

  1. android/guava/src/com/google/common/eventbus/EventBus.java

     * for interprocess communication.
     *
     * <h2>Receiving Events</h2>
     *
     * <p>To receive events, an object should:
     *
     * <ol>
     *   <li>Expose a public method, known as the <i>event subscriber</i>, which accepts a single
     *       argument of the type of event desired;
     *   <li>Mark it with a {@link Subscribe} annotation;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Aug 25 16:37:57 GMT 2021
    - 12.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.java

        try {
          ImmutableIntArray.builder(-1);
          fail();
        } catch (IllegalArgumentException expected) {
        }
      }
    
      /**
       * If there's a bug in builder growth, we wouldn't know how to expose it. So, brute force the hell
       * out of it for a while and see what happens.
       */
      public void testBuilder_bruteForce() {
        for (int i = 0; i < reduceIterationsIfGwt(100); i++) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 18.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

             * Lock to ensure that a task cannot be rescheduled while a cancel is ongoing.
             *
             * In theory, cancel() could execute arbitrary listeners -- bad to do while holding a lock.
             * However, we don't expose currentFuture to users, so they can't attach listeners. And the
             * Future might not even be a ListenableFuture, just a plain Future. That said, similar
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Dec 13 19:45:20 GMT 2023
    - 25.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

     *       However, utilities that <i>use</i> that executor have the ability to interrupt tasks
     *       running on it. This class, by contrast, does not expose an {@code Executor} API.)
     * </ul>
     *
     * <p>If you don't need the features of this class, you may prefer {@code newSequentialExecutor} for
     * its simplicity and ability to accommodate interruption.
     *
     * @since 26.0
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 22.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/AbstractIterator.java

     * without changing the iterator's state, using the {@link #hasNext} method. But many data sources,
     * such as {@link java.io.Reader#read()}, do not expose this information; the only way to discover
     * whether there is any data left is by trying to retrieve it. These types of data sources are
     * ordinarily difficult to write iterators for. But using this class, one must implement only the
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Mar 18 02:04:10 GMT 2022
    - 6.4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

      /**
       * This test is for a case where two Service.Listener callbacks for the same service would call
       * transitionService in the wrong order due to a race. Due to the fact that it is a race this test
       * isn't guaranteed to expose the issue, but it is at least likely to become flaky if the race
       * sneaks back in, and in this case flaky means something is definitely wrong.
       *
       * <p>Before the bug was fixed this test would fail at least 30% of the time.
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 02 17:20:27 GMT 2023
    - 23.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

       */
      /*
       * TODO(cpovirk): Change to Comparator<? super B> to permit Comparator<@Nullable ...> and
       * Comparator<SupertypeOfB>? What we have here matches the immutable collections, but those also
       * expose a public Builder constructor that accepts "? super." So maybe we should do *that*
       * instead.
       */
      public static <B> Builder<B> orderedBy(Comparator<B> comparator) {
        return new Builder<>(comparator);
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 34K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/Partially.java

     * it as a {@code GwtIncompatible} annotation. And for {@code Futures.catching}, we need the GWT
     * compiler to autostrip the normal server method in order to expose the special, inherited GWT
     * version.
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    final class Partially {
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 05 22:27:35 GMT 2021
    - 1.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/graph/NetworkBuilder.java

      }
    
      /**
       * Returns a {@link NetworkBuilder} initialized with all properties queryable from {@code
       * network}.
       *
       * <p>The "queryable" properties are those that are exposed through the {@link Network} interface,
       * such as {@link Network#isDirected()}. Other properties, such as {@link
       * #expectedNodeCount(int)}, are not set in the new builder.
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Jun 03 01:21:31 GMT 2022
    - 7.4K bytes
    - Viewed (0)
  10. guava/pom.xml

                </goals>
              </execution>
            </executions>
            <configuration>
              <instructions>
                <Export-Package>
                  !com.google.common.base.internal,
                  !com.google.common.util.concurrent.internal,
                  com.google.common.*
                </Export-Package>
                <Import-Package>
                  com.google.common.util.concurrent.internal,
    XML
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Mar 11 16:37:45 GMT 2024
    - 8.9K bytes
    - Viewed (0)
Back to top