Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 44 for ngquery (0.2 sec)

  1. android/guava-tests/test/com/google/common/collect/TreeRangeSetTest.java

              expectEnclose = true;
              break;
            }
          }
    
          assertEquals(
              rangeSet + " was incorrect on encloses(" + query + ")",
              expectEnclose,
              rangeSet.encloses(query));
          assertEquals(
              rangeSet + " was incorrect on enclosesAll([" + query + "])",
              expectEnclose,
              rangeSet.enclosesAll(ImmutableList.of(query)));
        }
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Dec 16 19:54:45 GMT 2020
    - 24.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/TreeRangeMapTest.java

                assertEquals(expected.get(i), subRangeMap.get(i));
              }
    
              for (Range<Integer> query : RANGES) {
                assertEquals(
                    expected.asMapOfRanges().get(query), subRangeMap.asMapOfRanges().get(query));
              }
            }
          }
        }
      }
    
      public void testSubSubRangeMap() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 28K bytes
    - Viewed (0)
  3. 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 Apr 05 12:43:09 GMT 2024
    - Last Modified: Sun Aug 07 02:38:22 GMT 2022
    - 7.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Multisets.java

              Supplier<M> multisetSupplier) {
        return CollectCollectors.toMultiset(elementFunction, countFunction, multisetSupplier);
      }
    
      /**
       * Returns an unmodifiable view of the specified multiset. Query operations on the returned
       * multiset "read through" to the specified multiset, and attempts to modify the returned multiset
       * result in an {@link UnsupportedOperationException}.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 41.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Multimap.java

     */
    @DoNotMock("Use ImmutableMultimap, HashMultimap, or another implementation")
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public interface Multimap<K extends @Nullable Object, V extends @Nullable Object> {
      // Query Operations
    
      /**
       * Returns the number of key-value pairs in this multimap.
       *
       * <p><b>Note:</b> this method does not return the number of <i>distinct keys</i> in the multimap,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 15.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/FluentFuture.java

       * by applying the given {@code AsyncFunction} to the result of the original {@code Future}.
       * Example usage:
       *
       * <pre>{@code
       * FluentFuture<RowKey> rowKeyFuture = FluentFuture.from(indexService.lookUp(query));
       * ListenableFuture<QueryResult> queryFuture =
       *     rowKeyFuture.transformAsync(dataService::readFuture, executor);
       * }</pre>
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 11 19:08:44 GMT 2023
    - 18.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/LinkedListMultimap.java

        }
    
        @Override
        public void add(@ParametricNullness V value) {
          previous = addNode(key, value, next);
          nextIndex++;
          current = null;
        }
      }
    
      // Query Operations
    
      @Override
      public int size() {
        return size;
      }
    
      @Override
      public boolean isEmpty() {
        return head == null;
      }
    
      @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 27.2K bytes
    - Viewed (0)
  8. 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)
  9. 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 Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 9.6K bytes
    - Viewed (0)
  10. 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)
Back to top