Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 44 for jquery (0.15 sec)

  1. guava-tests/benchmark/com/google/common/collect/ConcurrentHashMultisetBenchmark.java

        }
    
        @VisibleForTesting
        OldConcurrentHashMultiset(ConcurrentMap<E, Integer> countMap) {
          checkArgument(countMap.isEmpty());
          this.countMap = countMap;
        }
    
        // Query Operations
    
        /**
         * Returns the number of occurrences of {@code element} in this multiset.
         *
         * @param element the element to look for
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed May 09 15:17:25 GMT 2018
    - 16.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/CharMatcher.java

       */
      public CharMatcher or(CharMatcher other) {
        return new Or(this, other);
      }
    
      /**
       * Returns a {@code char} matcher functionally equivalent to this one, but which may be faster to
       * query than the original; your mileage may vary. Precomputation takes time and is likely to be
       * worthwhile only if the precomputed matcher is queried many thousands of times.
       *
    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)
  3. guava-tests/test/com/google/common/collect/AbstractHashFloodingTest.java

                    "ratio of equals/hashCode/compareTo operations to query %s with %s entries versus"
                        + " %s entries",
                    query, largeSize, smallSize)
                .that(ratio)
                .isAtMost(
                    2 * query.expectedAsymptotic(largeSize) / query.expectedAsymptotic(smallSize));
            // allow up to 2x wobble in the constant factors
          }
        }
      }
    
      private long getWorstCaseOps(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 03 21:01:39 GMT 2023
    - 8.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Sets.java

        }
        return false;
      }
    
      /**
       * Returns an unmodifiable view of the specified navigable set. This method allows modules to
       * provide users with "read-only" access to internal navigable sets. Query operations on the
       * returned set "read through" to the specified set, and attempts to modify the returned set,
       * whether direct or via its collection views, result in an {@code UnsupportedOperationException}.
       *
    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)
  5. android/guava-tests/test/com/google/common/collect/ImmutableRangeMapTest.java

              assertEquals(
                  ImmutableList.copyOf(asMap.entrySet()).reverse(),
                  ImmutableList.copyOf(descendingMap.entrySet()));
    
              for (Range<Integer> query : RANGES) {
                assertEquals(expectedAsMap.get(query), asMap.get(query));
              }
            }
          }
        }
      }
    
    
      public void testSubRangeMap() {
        for (Range<Integer> range1 : RANGES) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 9.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/AbstractMultiset.java

     * @author Louis Wasserman
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    abstract class AbstractMultiset<E extends @Nullable Object> extends AbstractCollection<E>
        implements Multiset<E> {
      // Query Operations
    
      @Override
      public boolean isEmpty() {
        return entrySet().isEmpty();
      }
    
      @Override
      public boolean contains(@CheckForNull Object element) {
        return count(element) > 0;
      }
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 01 22:07:10 GMT 2021
    - 6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/ListenableFuture.java

     * Futures.addCallback}.) Still, direct {@code addListener} calls are occasionally useful:
     *
     * <pre>{@code
     * final String name = ...;
     * inFlight.add(name);
     * ListenableFuture<Result> future = service.query(name);
     * future.addListener(new Runnable() {
     *   public void run() {
     *     processedCount.incrementAndGet();
     *     inFlight.remove(name);
     *     lastProcessed.set(name);
     *     logger.info("Done with {0}", name);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 21:13:41 GMT 2023
    - 8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/cache/Cache.java

       * unprivileged user may return a resource accessible only to a privileged user making a similar
       * call. To prevent this problem, create a key object that includes all values that affect the
       * result of the query. Or use {@code LoadingCache.get(K)}, which lacks the ability to refer to
       * state other than that in the key.
       *
       * <p><b>Warning:</b> as with {@link CacheLoader#load}, {@code loader} <b>must not</b> return
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sun Aug 07 02:38:22 GMT 2022
    - 8.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/RangeSet.java

    @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989
    @DoNotMock("Use ImmutableRangeSet or TreeRangeSet")
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public interface RangeSet<C extends Comparable> {
    
      // Query methods
    
      /** Determines whether any of this range set's member ranges contains {@code value}. */
      boolean contains(C value);
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 9.8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/AbstractBiMap.java

      }
    
      AbstractBiMap<V, K> makeInverse(Map<V, K> backward) {
        return new Inverse<>(backward, this);
      }
    
      void setInverse(AbstractBiMap<V, K> inverse) {
        this.inverse = inverse;
      }
    
      // Query Operations (optimizations)
    
      @Override
      public boolean containsValue(@CheckForNull Object value) {
        return inverse.containsKey(value);
      }
    
      // Modification Operations
    
      @CanIgnoreReturnValue
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Aug 24 01:40:03 GMT 2023
    - 14.6K bytes
    - Viewed (0)
Back to top