Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 240 for CollectionFeature (0.09 sec)

  1. guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

                      CollectionSize.ZERO,
                      CollectionSize.ONE,
                      CollectionSize.SEVERAL,
                      CollectionFeature.ALLOWS_NULL_QUERIES,
                      CollectionFeature.RESTRICTS_ELEMENTS,
                      CollectionFeature.KNOWN_ORDER,
                      CollectionFeature.SERIALIZABLE_INCLUDING_VIEWS)
                  .createTestSuite());
        }
        suite.addTestSuite(ImmutableDoubleArrayTest.class);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/MapEntrySetTester.java

    import static com.google.common.collect.testing.Helpers.getMethod;
    import static com.google.common.collect.testing.Helpers.mapEntry;
    import static com.google.common.collect.testing.features.CollectionFeature.SUPPORTS_ITERATOR_REMOVE;
    import static com.google.common.collect.testing.features.CollectionSize.ONE;
    import static com.google.common.collect.testing.features.CollectionSize.ZERO;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/testers/MapEntrySetTester.java

    import static com.google.common.collect.testing.Helpers.getMethod;
    import static com.google.common.collect.testing.Helpers.mapEntry;
    import static com.google.common.collect.testing.features.CollectionFeature.SUPPORTS_ITERATOR_REMOVE;
    import static com.google.common.collect.testing.features.CollectionSize.ONE;
    import static com.google.common.collect.testing.features.CollectionSize.ZERO;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  4. android/guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java

            .named("setUpTearDown")
            .withFeatures(
                MapFeature.GENERAL_PURPOSE,
                MapFeature.ALLOWS_NULL_KEYS,
                MapFeature.ALLOWS_NULL_VALUES,
                CollectionFeature.SERIALIZABLE,
                CollectionFeature.SUPPORTS_ITERATOR_REMOVE,
                CollectionSize.ANY)
            .withSetUp(setUp)
            .withTearDown(tearDown)
            .createTestSuite();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu May 22 16:18:11 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/ImmutableEnumMapTest.java

    import static com.google.common.base.Preconditions.checkState;
    import static com.google.common.collect.testing.Helpers.mapEntry;
    import static com.google.common.collect.testing.features.CollectionFeature.ALLOWS_NULL_QUERIES;
    import static com.google.common.collect.testing.features.CollectionFeature.SERIALIZABLE;
    import static com.google.common.truth.Truth.assertThat;
    
    import com.google.common.annotations.GwtCompatible;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  6. android/guava-testlib/test/com/google/common/collect/testing/features/FeatureEnumTest.java

        } else {
          throw new IllegalArgumentException(rootLocaleFormat("%s is not an annotation.", clazz));
        }
      }
    
      public void testFeatureEnums() throws Exception {
        assertGoodFeatureEnum(CollectionFeature.class);
        assertGoodFeatureEnum(ListFeature.class);
        assertGoodFeatureEnum(SetFeature.class);
        assertGoodFeatureEnum(CollectionSize.class);
        assertGoodFeatureEnum(MapFeature.class);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 20:34:52 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/features/SetFeature.java

     *
     * @author George van den Driessche
     */
    @SuppressWarnings("rawtypes") // maybe avoidable if we rework the whole package?
    @GwtCompatible
    public enum SetFeature implements Feature<Set> {
      GENERAL_PURPOSE(CollectionFeature.GENERAL_PURPOSE);
    
      private final Set<Feature<? super Set>> implied;
    
      SetFeature(Feature<? super Set>... implied) {
        this.implied = copyToSet(implied);
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jan 30 16:59:10 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/ImmutableClassToInstanceMapTest.java

                .withFeatures(
                    MapFeature.REJECTS_DUPLICATES_AT_CREATION,
                    MapFeature.RESTRICTS_KEYS,
                    CollectionFeature.KNOWN_ORDER,
                    CollectionSize.ANY,
                    MapFeature.ALLOWS_ANY_NULL_QUERIES,
                    CollectionFeature.SERIALIZABLE)
                .createTestSuite());
    
        return suite;
      }
    
      public void testSerialization_empty() {
        assertSame(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/CollectionTestSuiteBuilder.java

     * limitations under the License.
     */
    
    package com.google.common.collect.testing;
    
    import static com.google.common.collect.testing.features.CollectionFeature.SERIALIZABLE;
    import static com.google.common.collect.testing.features.CollectionFeature.SERIALIZABLE_INCLUDING_VIEWS;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.collect.testing.features.Feature;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/EnumBiMapTest.java

                .named("EnumBiMap")
                .withFeatures(
                    CollectionSize.ANY,
                    CollectionFeature.SERIALIZABLE,
                    CollectionFeature.SUPPORTS_ITERATOR_REMOVE,
                    MapFeature.GENERAL_PURPOSE,
                    CollectionFeature.KNOWN_ORDER)
                .createTestSuite());
        suite.addTestSuite(EnumBiMapTest.class);
        return suite;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 11.9K bytes
    - Viewed (0)
Back to top