Search Options

Results per page
Sort
Preferred Languages
Advance

Results 631 - 640 of 2,250 for contains (0.07 sec)

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

          builder.add(-1);
          Object[] prevArray = null;
          for (int i = 0; i < 10; i++) {
            ImmutableSet<Integer> prevBuilt = builder.build();
            builder.add(i);
            assertFalse(prevBuilt.contains(i));
            assertNotSame(builder.contents, prevArray);
            prevArray = builder.contents;
          }
        }
      }
    
      public void testCreation_arrayOfArray() {
        String[] array = new String[] {"a"};
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/SortedLists.java

     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    final class SortedLists {
      private SortedLists() {}
    
      /**
       * A specification for which index to return if the list contains at least one element that
       * compares as equal to the key.
       */
      enum KeyPresentBehavior {
        /**
         * Return the index of any list element that compares as equal to the key. No guarantees are
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 11K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/CookieJar.kt

       *
       * Note that this method may be called a second time for a single HTTP response if the response
       * includes a trailer. For this obscure HTTP feature, [cookies] contains only the trailer's
       * cookies.
       */
      fun saveFromResponse(
        url: HttpUrl,
        cookies: List<Cookie>,
      )
    
      /**
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/AbstractRangeSet.java

    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    abstract class AbstractRangeSet<C extends Comparable> implements RangeSet<C> {
      AbstractRangeSet() {}
    
      @Override
      public boolean contains(C value) {
        return rangeContaining(value) != null;
      }
    
      @Override
      @CheckForNull
      public abstract Range<C> rangeContaining(C value);
    
      @Override
      public boolean isEmpty() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/graph/PackageSanityTests.java

        } catch (AssertionError e) {
          assertWithMessage("Method did not throw null pointer OR element not in graph exception.")
              .that(e)
              .hasCauseThat()
              .hasMessageThat()
              .contains(ERROR_ELEMENT_NOT_IN_GRAPH);
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/google/MultimapContainsEntryTester.java

        assertFalse(multimap().containsEntry(k3(), v3()));
      }
    
      public void testContainsEntryAgreesWithGet() {
        for (K k : sampleKeys()) {
          for (V v : sampleValues()) {
            assertEquals(multimap().get(k).contains(v), multimap().containsEntry(k, v));
          }
        }
      }
    
      @CollectionSize.Require(absent = ZERO)
      @MapFeature.Require({ALLOWS_NULL_KEYS, ALLOWS_NULL_VALUES})
      public void testContainsEntryNullYes() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 19:10:20 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  7. build-logic/buildquality/src/main/kotlin/gradlebuild/codenarc/rules/IntegrationTestFixturesRule.kt

        override fun shouldVisitMethod(node: MethodNode): Boolean = isIntegrationTest(node.declaringClass)
    
        override fun visitMethodCallExpression(mce: MethodCallExpression) {
            if (AstUtil.isMethodNamed(mce, "contains")) {
                checkOutputContains(mce)
            } else if (AstUtil.isMethodNamed(mce, "assertOutputContains")) {
                val objectExpr = mce.objectExpression
                checkIndirectOutputContains(objectExpr, mce)
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.6K bytes
    - Viewed (0)
  8. common-protos/k8s.io/api/networking/v1/generated.proto

      // If this field is not specified, it will default based on the existence of ingress or egress rules;
      // policies that contain an egress section are assumed to affect egress, and all policies
      // (whether or not they contain an ingress section) are assumed to affect ingress.
      // If you want to write an egress-only policy, you must explicitly specify policyTypes [ "Egress" ].
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  9. istioctl/pkg/internaldebug/internal-debug_test.go

    	if c.expectedOutput != "" && c.expectedOutput != output {
    		t.Fatalf("Unexpected output for 'istioctl %s'\n got: %q\nwant: %q", strings.Join(c.args, " "), output, c.expectedOutput)
    	}
    
    	if c.expectedString != "" && !strings.Contains(output, c.expectedString) {
    		t.Fatalf("Output didn't match for '%s %s'\n got %v\nwant: %v", cmd.Name(), strings.Join(c.args, " "), output, c.expectedString)
    	}
    
    	if c.wantException {
    		if fErr == nil {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Mar 15 08:28:50 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverRequest.java

                return this;
            }
    
            /**
             * Specifies the type of paths to include in the result. This is a convenience method for
             * {@link #pathTypeFilter(Predicate)} using {@link Collection#contains(Object)} as the filter.
             *
             * @param desiredTypes the type of paths to include in the result
             * @return {@code this} for method call chaining
             */
            @Nonnull
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Oct 16 14:15:37 UTC 2024
    - 17.9K bytes
    - Viewed (0)
Back to top