Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for home (0.13 sec)

  1. android/guava/src/com/google/common/collect/Sets.java

         * same notion of equivalence.
         *
         * @return a reference to {@code set}, for convenience
         */
        // Note: S should logically extend Set<? super E> but can't due to either
        // some javac bug or some weirdness in the spec, not sure which.
        @CanIgnoreReturnValue
        public <S extends Set<E>> S copyInto(S set) {
          set.addAll(this);
          return set;
        }
    
        /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

    import java.util.Map;
    import junit.framework.TestCase;
    
    /**
     * Test cases for {@link TypeToken}.
     *
     * @author Sven Mawson
     * @author Ben Yu
     */
    @AndroidIncompatible // lots of failures, possibly some related to bad equals() implementations?
    public class TypeTokenTest extends TestCase {
    
      private abstract static class StringList implements List<String> {}
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/CharMatcher.java

        return JavaLetterOrDigit.INSTANCE;
      }
    
      /**
       * Determines whether a BMP character is upper case according to {@linkplain
       * Character#isUpperCase(char) Java's definition}.
       *
       * @deprecated Some uppercase characters are supplementary characters; see the class
       *     documentation.
       * @since 19.0 (since 1.0 as constant {@code JAVA_UPPER_CASE})
       */
      @Deprecated
      public static CharMatcher javaUpperCase() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

      }
    
      // Inner Classes
    
      /**
       * Segments are specialized versions of hash tables. This subclass inherits from ReentrantLock
       * opportunistically, just to simplify some locking and avoid separate construction.
       */
      @SuppressWarnings("serial") // This class is never serialized.
      abstract static class Segment<
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/Futures.java

       * expect, but there are some subtleties. First, we do guarantee that, if the output future at
       * index n is done, the output future at index n-1 is also done. (But as usual with futures, some
       * listeners for future n may complete before some for future n-1.) However, it is possible, if
       * one input completes with result X and another later with result Y, for Y to come before X in
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 59.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/cache/CacheBuilder.java

     *             return createExpensiveGraph(key);
     *           }
     *         });
     * }</pre>
     *
     * <p>Or equivalently,
     *
     * <pre>{@code
     * // In real life this would come from a command-line flag or config file
     * String spec = "maximumSize=10000,expireAfterWrite=10m";
     *
     * LoadingCache<Key, Graph> graphs = CacheBuilder.from(spec)
     *     .removalListener(MY_LISTENER)
     *     .build(
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 51.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/base/CharMatcher.java

        return JavaLetterOrDigit.INSTANCE;
      }
    
      /**
       * Determines whether a BMP character is upper case according to {@linkplain
       * Character#isUpperCase(char) Java's definition}.
       *
       * @deprecated Some uppercase characters are supplementary characters; see the class
       *     documentation.
       * @since 19.0 (since 1.0 as constant {@code JAVA_UPPER_CASE})
       */
      @Deprecated
      public static CharMatcher javaUpperCase() {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/reflect/TypeToken.java

        }
        return type;
      }
    
      // WARNING: the returned type may have empty upper bounds, which may violate common expectations
      // by user code or even some of our own code. It's fine for the purpose of checking subtypes.
      // Just don't ever let the user access it.
      private static WildcardType canonicalizeWildcardType(
          TypeVariable<?> declaration, WildcardType type) {
    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)
  9. guava/src/com/google/common/collect/Iterators.java

       * number of elements and every element of {@code iterator1} is equal to the corresponding element
       * of {@code iterator2}.
       *
       * <p>Note that this will modify the supplied iterators, since they will have been advanced some
       * number of elements forward.
       */
      public static boolean elementsEqual(Iterator<?> iterator1, Iterator<?> iterator2) {
        while (iterator1.hasNext()) {
          if (!iterator2.hasNext()) {
            return false;
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jan 30 00:14:39 GMT 2024
    - 50.5K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

    import java.util.Map;
    import junit.framework.TestCase;
    
    /**
     * Test cases for {@link TypeToken}.
     *
     * @author Sven Mawson
     * @author Ben Yu
     */
    @AndroidIncompatible // lots of failures, possibly some related to bad equals() implementations?
    public class TypeTokenTest extends TestCase {
    
      private abstract static class StringList implements List<String> {}
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
Back to top