Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 175 for queries (0.24 sec)

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

        CollectionSize.ANY, CollectionFeature.ALLOWS_NULL_QUERIES
      };
    
      private static final Feature<?>[] COLLECTION_FEATURES_ORDER = {
        CollectionSize.ANY, CollectionFeature.KNOWN_ORDER, CollectionFeature.ALLOWS_NULL_QUERIES
      };
    
      private static final Feature<?>[] COLLECTION_FEATURES_REMOVE = {
        CollectionSize.ANY, CollectionFeature.SUPPORTS_REMOVE, CollectionFeature.ALLOWS_NULL_QUERIES
      };
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 35.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ImmutableSetTest.java

                .createTestSuite());
    
        suite.addTest(
            SetTestSuiteBuilder.using(new DegeneratedImmutableSetGenerator())
                .named(ImmutableSetTest.class.getName() + ", degenerate")
                .withFeatures(
                    CollectionSize.ONE,
                    CollectionFeature.KNOWN_ORDER,
                    CollectionFeature.ALLOWS_NULL_QUERIES)
                .createTestSuite());
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 13.7K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/testers/CollectionContainsAllTester.java

      }
    
      @CollectionFeature.Require(absent = ALLOWS_NULL_QUERIES)
      public void testContainsAll_nullNotAllowed() {
        try {
          assertFalse(collection.containsAll(MinimalCollection.of((E) null)));
        } catch (NullPointerException tolerated) {
        }
      }
    
      @CollectionFeature.Require(ALLOWS_NULL_QUERIES)
      public void testContainsAll_nullAllowed() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/MapsCollectionTest.java

                .withFeatures(
                    CollectionSize.ANY,
                    MapFeature.ALLOWS_NULL_VALUES,
                    MapFeature.ALLOWS_NULL_KEYS,
                    MapFeature.ALLOWS_ANY_NULL_QUERIES,
                    MapFeature.REJECTS_DUPLICATES_AT_CREATION,
                    CollectionFeature.SERIALIZABLE)
                .createTestSuite());
        suite.addTest(
            MapTestSuiteBuilder.using(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 32.2K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/google/MultisetRemoveTester.java

        assertEquals(0, getMultiset().count(null));
      }
    
      @CollectionFeature.Require({SUPPORTS_REMOVE, ALLOWS_NULL_QUERIES})
      public void testRemove_nullAbsent() {
        assertEquals(0, getMultiset().remove(null, 2));
      }
    
      @CollectionFeature.Require(value = SUPPORTS_REMOVE, absent = ALLOWS_NULL_QUERIES)
      public void testRemove_nullForbidden() {
        try {
          getMultiset().remove(null, 2);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 7K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/features/MapFeature.java

       */
      ALLOWS_NULL_ENTRY_QUERIES,
      /**
       * The map does not throw {@code NullPointerException} on any {@code null} queries.
       *
       * @see #ALLOWS_NULL_KEY_QUERIES
       * @see #ALLOWS_NULL_VALUE_QUERIES
       * @see #ALLOWS_NULL_ENTRY_QUERIES
       */
      ALLOWS_ANY_NULL_QUERIES(
          ALLOWS_NULL_ENTRY_QUERIES, ALLOWS_NULL_KEY_QUERIES, ALLOWS_NULL_VALUE_QUERIES),
      RESTRICTS_KEYS,
      RESTRICTS_VALUES,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 3K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/ImmutableSortedMapTest.java

                    CollectionFeature.SERIALIZABLE_INCLUDING_VIEWS,
                    CollectionFeature.KNOWN_ORDER,
                    MapFeature.REJECTS_DUPLICATES_AT_CREATION,
                    MapFeature.ALLOWS_ANY_NULL_QUERIES)
                .named("ImmutableSortedMap")
                .createTestSuite());
        suite.addTest(
            MapTestSuiteBuilder.using(new ImmutableSortedMapCopyOfEntriesGenerator())
                .withFeatures(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 28.1K bytes
    - Viewed (0)
  8. guava-tests/benchmark/com/google/common/collect/MultipleSetContainsBenchmark.java

            queries[i] = PRESENT;
          } else {
            queries[i] = ABSENT;
          }
        }
      }
    
      @Benchmark
      public boolean contains(int reps) {
        ImmutableSet<?>[] sets = this.sets;
        Object[] queries = this.queries;
        boolean result = false;
        for (int i = 0; i < reps; i++) {
          int j = i & 0xFFF;
          result ^= sets[j].contains(queries[j]);
        }
        return result;
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/features/MapFeature.java

       */
      ALLOWS_NULL_ENTRY_QUERIES,
      /**
       * The map does not throw {@code NullPointerException} on any {@code null} queries.
       *
       * @see #ALLOWS_NULL_KEY_QUERIES
       * @see #ALLOWS_NULL_VALUE_QUERIES
       * @see #ALLOWS_NULL_ENTRY_QUERIES
       */
      ALLOWS_ANY_NULL_QUERIES(
          ALLOWS_NULL_ENTRY_QUERIES, ALLOWS_NULL_KEY_QUERIES, ALLOWS_NULL_VALUE_QUERIES),
      RESTRICTS_KEYS,
      RESTRICTS_VALUES,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 3K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapReplaceEntryTester.java

        }
        expectUnchanged();
      }
    
      @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_VALUE_QUERIES})
      public void testReplaceEntry_nullDifferentFromAbsent() {
        assertFalse(getMap().replace(k3(), null, v3()));
        expectUnchanged();
      }
    
      @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_VALUE_QUERIES)
      public void testReplaceEntry_expectNullUnsupported() {
        try {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 5.3K bytes
    - Viewed (0)
Back to top