Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 586 for Where (0.66 sec)

  1. android/guava/src/com/google/common/reflect/TypeToken.java

       *   return new TypeToken<Map<K, V>>() {}
       *       .where(new TypeParameter<K>() {}, keyType)
       *       .where(new TypeParameter<V>() {}, valueType);
       * }
       * }</pre>
       *
       * @param <X> The parameter type
       * @param typeParam the parameter type variable
       * @param typeArg the actual type to substitute
       */
      /*
       * TODO(cpovirk): Is there any way for us to support TypeParameter instances for type parameters
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 53.6K bytes
    - Viewed (0)
  2. guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

       */
      public void testTestEqualsEqualsObjects() {
        equalsTester.addEqualityGroup(reference, equalObject1, equalObject2);
        equalsTester.testEquals();
      }
    
      /** Test proper handling of case where an object is not equal to itself */
      public void testNonReflexiveEquals() {
        Object obj = new NonReflexiveObject();
        equalsTester.addEqualityGroup(obj);
        try {
          equalsTester.testEquals();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 15:49:06 GMT 2023
    - 12.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/TestStreamSupplier.java

     */
    
    package com.google.common.io;
    
    /**
     * Interface for a supplier of streams that can report whether a stream was opened and whether that
     * stream was closed. Intended for use in a test where only a single stream should be opened and
     * possibly closed.
     *
     * @author Colin Decker
     */
    public interface TestStreamSupplier {
    
      /** Returns whether or not a new stream was opened. */
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/Striped.java

            super(referent, queue);
            this.index = index;
          }
        }
      }
    
      /**
       * Implementation of Striped where up to 2^k stripes can be represented, using a ConcurrentMap
       * where the key domain is [0..2^k). To map a user key into a stripe, we take a k-bit slice of the
       * user key's (smeared) hashCode(). The stripes are lazily initialized and are weakly referenced.
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 10 20:55:18 GMT 2023
    - 20.3K bytes
    - Viewed (1)
  5. android/guava/src/com/google/common/util/concurrent/SequentialExecutor.java

     *
     * <p>Tasks submitted to {@link #execute(Runnable)} are executed in FIFO order.
     *
     * <p>The execution of tasks is done by one thread as long as there are tasks left in the queue.
     * When a task is {@linkplain Thread#interrupt interrupted}, execution of subsequent tasks
     * continues. See {@link QueueWorker#workOnQueue} for details.
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/reflect/TypeResolverTest.java

        Type t = aTypeVariable();
        assertEquals(String.class, new TypeResolver().where(t, String.class).resolveType(t));
      }
    
      public <T> void testWhere_indirectMapping() {
        Type t1 = new TypeCapture<T>() {}.capture();
        Type t2 = aTypeVariable();
        assertEquals(
            String.class, new TypeResolver().where(t1, t2).where(t2, String.class).resolveType(t1));
      }
    
      public void testWhere_typeVariableSelfMapping() {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 9.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/Ascii.java

       * response to a sender.
       *
       * @since 8.0
       */
      public static final byte ACK = 6;
    
      /**
       * Bell ('\a'): A character for use when there is a need to call for human attention. It may
       * control alarm or attention devices.
       *
       * @since 8.0
       */
      public static final byte BEL = 7;
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jul 19 15:43:07 GMT 2021
    - 21.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ForwardingList.java

     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class ForwardingList<E extends @Nullable Object> extends ForwardingCollection<E>
        implements List<E> {
      // TODO(lowasser): identify places where thread safety is actually lost
    
      /** Constructor for use by subclasses. */
      protected ForwardingList() {}
    
      @Override
      protected abstract List<E> delegate();
    
      @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri May 12 15:26:39 GMT 2023
    - 7.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/io/Resources.java

       * context class loader will find resources from the class path. In environments where different
       * threads can have different class loaders, for example app servers, the context class loader
       * will typically have been set to an appropriate loader for the current thread.
       *
       * <p>In the unusual case where the context class loader is null, the class loader that loaded
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 7.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/ParametricNullness.java

     *       where the {@code ...} contains the names of all the other {@code ParametricNullness}
     *       annotations in Guava. Or you might prefer to omit Guava from your {@code AnnotatedPackages}
     *       list.
     *   <li><a href="https://developers.google.com/j2objc">J2ObjC</a>
     *   <li>{@code NullPointerTester}, at least in the Android backport (where the type-use annotations
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Aug 10 21:27:51 GMT 2022
    - 4.1K bytes
    - Viewed (0)
Back to top