Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 223 for compatible (0.25 sec)

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

     * serialization tests require more setup. This no-op behavior allows test authors to intersperse
     * {@code SerializableTester} calls with other, GWT-compatible tests.
     *
     * @author Mike Bostock
     * @since 10.0
     */
    @GwtCompatible // but no-op!
    @ElementTypesAreNonnullByDefault
    public final class SerializableTester {
      private SerializableTester() {}
    
      /**
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Apr 25 11:57:12 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/Ticker.java

     * <p><b>Warning:</b> this interface can only be used to measure elapsed time, not wall time.
     *
     * @author Kevin Bourrillion
     * @since 10.0 (<a href="https://github.com/google/guava/wiki/Compatibility">mostly
     *     source-compatible</a> since 9.0)
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class Ticker {
      /** Constructor for use by subclasses. */
      protected Ticker() {}
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue May 23 23:27:53 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  3. futures/listenablefuture1/src/com/google/common/util/concurrent/ListenableFuture.java

     * execute immediately.
     *
     * <p>See the Guava User Guide article on <a
     * href="https://github.com/google/guava/wiki/ListenableFutureExplained">{@code
     * ListenableFuture}</a>.
     *
     * <p>This class is GWT-compatible.
     *
     * <h3>Purpose</h3>
     *
     * <p>The main purpose of {@code ListenableFuture} is to help you chain together a graph of
     * asynchronous operations. You can chain them together manually with calls to methods like {@link
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 21:13:41 GMT 2023
    - 8K bytes
    - Viewed (0)
  4. futures/failureaccess/src/com/google/common/util/concurrent/internal/InternalFutureFailureAccess.java

     * this optimization, so there is no need to specialize methods to return or accept this type
     * instead of {@code ListenableFuture}.
     *
     * <p>This class is GWT-compatible.
     *
     * @since {@code com.google.guava:failureaccess:1.0}, which was added as a dependency of Guava in
     *     Guava 27.0
     */
    public abstract class InternalFutureFailureAccess {
      /** Constructor for use by subclasses. */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/TreeBasedTable.java

       *
       * <p>The method signature specifies {@code R extends Comparable} with a raw {@link Comparable},
       * instead of {@code R extends Comparable<? super R>}, and the same for {@code C}. That's
       * necessary to support classes defined without generics.
       */
      @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989
      public static <R extends Comparable, C extends Comparable, V> TreeBasedTable<R, C, V> create() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 11.4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/base/Utf8Test.java

            if (utf8Length != Utf8.encodedLength(sb)) {
              StringBuilder repro = new StringBuilder();
              for (int j = 0; j < sb.length(); j++) {
                repro.append(" ").append((int) sb.charAt(j)); // GWT compatible
              }
              assertEquals(repro.toString(), utf8Length, Utf8.encodedLength(sb));
            }
          }
        }
      }
    
      public void testEncodedLength_invalidStrings() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/graph/GraphConstants.java

      static final String EDGE_ALREADY_EXISTS = "Edge %s already exists in the graph.";
      static final String ENDPOINTS_MISMATCH =
          "Mismatch: endpoints' ordering is not compatible with directionality of the graph";
    
      /** Singleton edge value for {@link Graph} implementations backed by {@link ValueGraph}s. */
      enum Presence {
        EDGE_EXISTS
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableMultiset.java

       * @since 6.0 (source-compatible since 2.0)
       */
      public static <E> ImmutableMultiset<E> of(E element) {
        return copyFromElements(element);
      }
    
      /**
       * Returns an immutable multiset containing the given elements, in order.
       *
       * @throws NullPointerException if any element is null
       * @since 6.0 (source-compatible since 2.0)
       */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/ListenerCallQueue.java

      // TODO(chrisn): promote AppendOnlyCollection for use here.
      private final List<PerListenerQueue<L>> listeners =
          Collections.synchronizedList(new ArrayList<PerListenerQueue<L>>());
    
      /** Method reference-compatible listener event. */
      interface Event<L> {
        /** Call a method on the listener. */
        void call(L listener);
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Dec 13 19:45:20 GMT 2023
    - 8.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/graph/AbstractNetwork.java

          return false;
        }
        return hasEdgeConnecting(endpoints.nodeU(), endpoints.nodeV());
      }
    
      /**
       * Throws an IllegalArgumentException if the ordering of {@code endpoints} is not compatible with
       * the directionality of this graph.
       */
      protected final void validateEndpoints(EndpointPair<?> endpoints) {
        checkNotNull(endpoints);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Mar 13 18:17:09 GMT 2024
    - 10.1K bytes
    - Viewed (0)
Back to top