Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 2,160 for contain (0.2 sec)

  1. guava-testlib/src/com/google/common/collect/testing/TestContainerGenerator.java

    import java.util.Map;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * To be implemented by test generators of things that can contain elements. Such things include
     * both {@link Collection} and {@link Map}; since there isn't an established collective noun that
     * encompasses both of these, 'container' is used.
     *
     * @author George van den Driessche
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/TestContainerGenerator.java

    import java.util.Map;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * To be implemented by test generators of things that can contain elements. Such things include
     * both {@link Collection} and {@link Map}; since there isn't an established collective noun that
     * encompasses both of these, 'container' is used.
     *
     * @author George van den Driessche
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/cache/CacheBuilderFactory.java

              return optional.orNull();
            }
          };
    
      /**
       * Sets.cartesianProduct doesn't allow sets that contain null, but we want null to mean "don't
       * call the associated CacheBuilder method" - that is, get the default CacheBuilder behavior. This
       * method wraps the elements in the input sets (which may contain null) as Optionals, calls
       * Sets.cartesianProduct with those, then transforms the result to unwrap the Optionals.
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 8.1K bytes
    - Viewed (0)
  4. operator/cmd/mesh/profile-diff_test.go

    	"istio.io/istio/operator/pkg/util/clog"
    )
    
    type profileDiffTestcase struct {
    	args           string
    	shouldFail     bool
    	expectedString string // String output is expected to contain
    	notExpected    string // String the output must NOT contain
    }
    
    func TestProfileDiff(t *testing.T) {
    	cases := []profileDiffTestcase{
    		{
    			args:       "profile diff demo default --unknown-flag",
    			shouldFail: true,
    		},
    		{
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Jan 10 05:10:03 GMT 2024
    - 3.6K bytes
    - Viewed (1)
  5. maven-compat/src/main/resources/META-INF/maven/plugin-expressions/project.paramdoc.xml

    </dependencies>
        ]]></configuration>
        <description>
          <![CDATA[
          This is a set of Artifact instances resolved from the set of dependencies for
          the current project.
    
          NOTE: This will likely contain much more than the direct dependencies of the
          current POM, since Maven uses transitive, or chained, dependency resolution.
        ]]></description>
      </expression>
      <expression>
        <syntax>project.parentArtifact</syntax>
    XML
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Sun Nov 23 12:04:30 GMT 2014
    - 5.6K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapPutIfAbsentTester.java

          fail("putIfAbsent(null, value) should throw");
        } catch (NullPointerException expected) {
        }
        expectUnchanged();
        expectNullKeyMissingWhenNullKeysUnsupported(
            "Should not contain null key after unsupported putIfAbsent(null, value)");
      }
    
      @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_VALUES)
      public void testPutIfAbsent_nullValueUnsupported() {
        try {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddAllTester.java

        assertTrue(
            "addAll(somePresent) should return true",
            collection.addAll(MinimalCollection.of(e3(), e0())));
        assertTrue("should contain " + e3(), collection.contains(e3()));
        assertTrue("should contain " + e0(), collection.contains(e0()));
      }
    
      @CollectionFeature.Require(absent = SUPPORTS_ADD)
      @CollectionSize.Require(absent = ZERO)
      public void testAddAll_unsupportedSomePresent() {
        try {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapPutIfAbsentTester.java

          fail("putIfAbsent(null, value) should throw");
        } catch (NullPointerException expected) {
        }
        expectUnchanged();
        expectNullKeyMissingWhenNullKeysUnsupported(
            "Should not contain null key after unsupported putIfAbsent(null, value)");
      }
    
      @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_VALUES)
      public void testPutIfAbsent_nullValueUnsupported() {
        try {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/testers/MapPutIfAbsentTester.java

          fail("putIfAbsent(null, value) should throw");
        } catch (NullPointerException expected) {
        }
        expectUnchanged();
        expectNullKeyMissingWhenNullKeysUnsupported(
            "Should not contain null key after unsupported putIfAbsent(null, value)");
      }
    
      @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_VALUES)
      public void testPutIfAbsent_nullValueUnsupportedAndKeyAbsent() {
        try {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 18:17:52 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverResult.java

         */
        @Nonnull
        List<Node> getNodes();
    
        /**
         * Returns the file paths of all dependencies, regardless on which tool option those paths should be placed.
         * The returned list may contain a mix of Java class-path, Java module-path, and other types of path elements.
         *
         * @return the paths of all dependencies
         */
        @Nonnull
        List<Path> getPaths();
    
        /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 3.4K bytes
    - Viewed (0)
Back to top