Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for Are (0.12 sec)

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

       * safe to do so. The exact circumstances under which a copy will or will not be performed are
       * undocumented and subject to change.
       *
       * <p>This method is not type-safe, as it may be called on a map with keys that are not mutually
       * comparable.
       *
       * @throws ClassCastException if the keys in {@code map} are not mutually comparable
       * @throws NullPointerException if any key or value in {@code map} is null
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/Preconditions.java

     * standard JDK exceptions such as {@link java.util.NoSuchElementException} or {@link
     * UnsupportedOperationException} in the situations they are intended for.
     *
     * <h3>Non-preconditions</h3>
     *
     * <p>It is of course possible to use the methods of this class to check for invalid conditions
     * which are <i>not the caller's fault</i>. Doing so is <b>not recommended</b> because it is
     * misleading to future readers of the code and of stack traces. See <a
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 11 11:52:14 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableSortedMap.java

       * safe to do so. The exact circumstances under which a copy will or will not be performed are
       * undocumented and subject to change.
       *
       * <p>This method is not type-safe, as it may be called on a map with keys that are not mutually
       * comparable.
       *
       * @throws ClassCastException if the keys in {@code map} are not mutually comparable
       * @throws NullPointerException if any key or value in {@code map} is null
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 50.3K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/IteratorsTest.java

        Iterator<List<Integer>> partitions = Iterators.partition(list.iterator(), 1);
    
        // Changes before the partition is retrieved are reflected
        list.set(0, 3);
        List<Integer> first = partitions.next();
    
        // Changes after are not
        list.set(0, 4);
    
        assertEquals(ImmutableList.of(3), first);
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 55.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

              pred = curr;
            } else if (pred != null) { // We are unlinking this node and it has a predecessor.
              pred.next = succ;
              if (pred.thread == null) { // We raced with another node that unlinked pred. Restart.
                continue restart;
              }
            } else if (!ATOMIC_HELPER.casWaiters(this, curr, succ)) { // We are unlinking head
              continue restart; // We raced with an add or complete
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Sets.java

       * all elements that are contained by {@code set1} and not contained by {@code set2}. {@code set2}
       * may also contain elements not present in {@code set1}; these are simply ignored. The iteration
       * order of the returned set matches that of {@code set1}.
       *
       * <p>Results are undefined if {@code set1} and {@code set2} are sets based on different
    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)
  7. guava/src/com/google/common/cache/CacheBuilder.java

       * of this method requires a corresponding call to {@link #maximumWeight(long)} prior to calling
       * {@link #build}. Weights are measured and recorded when entries are inserted into the cache, and
       * are thus effectively static during the lifetime of a cache entry.
       *
       * <p>When the weight of an entry is zero it will not be considered for size-based eviction
    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)
  8. android/guava/src/com/google/common/collect/Multimaps.java

       * {@code factory}, and the multimap contents are all serializable.
       *
       * <p>The multimap is not threadsafe when any concurrent operations update the multimap, even if
       * {@code map} and the instances generated by {@code factory} are. Concurrent read operations will
       * work correctly. To allow concurrent update operations, wrap the multimap with a call to {@link
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 86.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/CharMatcher.java

    /**
     * Determines a true or false value for any Java {@code char} value, just as {@link Predicate} does
     * for any {@link Object}. Also offers basic text processing methods based on this function.
     * Implementations are strongly encouraged to be side-effect-free and immutable.
     *
     * <p>Throughout the documentation of this class, the phrase "matching character" is used to mean
    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)
  10. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        assertEquals(4, stats.missCount());
        assertEquals(4, stats.loadSuccessCount());
        assertEquals(0, stats.loadExceptionCount());
        assertEquals(3, stats.hitCount());
    
        // duplicate keys are ignored, and don't impact stats
        assertEquals(ImmutableMap.of(4, 4, 5, 5), cache.getAll(asList(4, 5)));
        stats = cache.stats();
        assertEquals(5, stats.missCount());
        assertEquals(5, stats.loadSuccessCount());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 86.2K bytes
    - Viewed (0)
Back to top