Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 381 for noneOf (0.09 sec)

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

        assertEquals(0, ms.count(Color.BLUE));
        assertEquals(1, ms.count(Color.YELLOW));
        assertEquals(2, ms.count(Color.RED));
      }
    
      public void testIllegalCreate() {
        Collection<Color> empty = EnumSet.noneOf(Color.class);
        assertThrows(IllegalArgumentException.class, () -> EnumMultiset.create(empty));
      }
    
      public void testCreateEmptyWithClass() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProblemCollector.java

        private List<ModelProblem> problems;
    
        private String source;
    
        private Model sourceModel;
    
        private Model rootModel;
    
        private Set<ModelProblem.Severity> severities = EnumSet.noneOf(ModelProblem.Severity.class);
    
        DefaultModelProblemCollector(ModelBuildingResult result) {
            this.result = result;
            this.problems = result.getProblems();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/SetsTest.java

        EnumSet<SomeEnum> noUnits = Sets.complementOf(allUnits, SomeEnum.class);
        verifySetContents(noUnits, EnumSet.noneOf(SomeEnum.class));
      }
    
      @J2ktIncompatible
      @GwtIncompatible // complementOf
      public void testComplementOfEmptyEnumSetWithoutType() {
        Set<SomeEnum> noUnits = EnumSet.noneOf(SomeEnum.class);
        EnumSet<SomeEnum> allUnits = Sets.complementOf(noUnits);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 48.6K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/TestsForSetsInJavaUtil.java

                new TestEnumSetGenerator() {
                  @Override
                  public Set<AnEnum> create(AnEnum[] elements) {
                    return (elements.length == 0)
                        ? EnumSet.noneOf(AnEnum.class)
                        : EnumSet.copyOf(MinimalCollection.of(elements));
                  }
                })
            .named("EnumSet")
            .withFeatures(
                SetFeature.GENERAL_PURPOSE,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 15K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/TestsForSetsInJavaUtil.java

                new TestEnumSetGenerator() {
                  @Override
                  public Set<AnEnum> create(AnEnum[] elements) {
                    return (elements.length == 0)
                        ? EnumSet.noneOf(AnEnum.class)
                        : EnumSet.copyOf(MinimalCollection.of(elements));
                  }
                })
            .named("EnumSet")
            .withFeatures(
                SetFeature.GENERAL_PURPOSE,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  6. guava/src/com/google/common/net/MediaType.java

          ascii()
              .and(javaIsoControl().negate())
              .and(CharMatcher.isNot(' '))
              .and(CharMatcher.noneOf("()<>@,;:\\\"/[]?="));
    
      private static final CharMatcher QUOTED_TEXT_MATCHER = ascii().and(CharMatcher.noneOf("\"\\\r"));
    
      /*
       * This matches the same characters as linear-white-space from RFC 822, but we make no effort to
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Sep 26 19:15:09 UTC 2024
    - 47.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Sets.java

        EnumSet<E> set = EnumSet.noneOf(elementType);
        Iterables.addAll(set, iterable);
        return set;
      }
    
      // HashSet
    
      /**
       * Creates a <i>mutable</i>, initially empty {@code HashSet} instance.
       *
       * <p><b>Note:</b> if mutability is not required, use {@link ImmutableSet#of()} instead. If {@code
       * E} is an {@link Enum} type, use {@link EnumSet#noneOf} instead. Otherwise, strongly consider
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  8. guava/src/com/google/common/base/CharMatcher.java

        }
    
        @Override
        public CharMatcher negate() {
          return none();
        }
      }
    
      /** Implementation of {@link #none()}. */
      private static final class None extends NamedFastMatcher {
    
        static final CharMatcher INSTANCE = new None();
    
        private None() {
          super("CharMatcher.none()");
        }
    
        @Override
        public boolean matches(char c) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 53.9K bytes
    - Viewed (0)
  9. manifests/charts/base/files/crd-all.gen.yaml

                - message: CIDR addresses are allowed only for NONE/STATIC resolution
                    types
                  rule: '!(has(self.addresses) && self.addresses.exists(k, k.contains(''/''))
                    && (has(self.resolution) && self.resolution != ''STATIC'' && self.resolution
                    != ''NONE''))'
                - message: NONE mode cannot set endpoints
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Nov 01 16:23:52 UTC 2024
    - 805K bytes
    - Viewed (0)
  10. fastapi/params.py

            validation_alias: Union[str, None] = None,
            serialization_alias: Union[str, None] = None,
            title: Optional[str] = None,
            description: Optional[str] = None,
            gt: Optional[float] = None,
            ge: Optional[float] = None,
            lt: Optional[float] = None,
            le: Optional[float] = None,
            min_length: Optional[int] = None,
            max_length: Optional[int] = None,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Sep 06 18:06:20 UTC 2024
    - 27.5K bytes
    - Viewed (0)
Back to top