Search Options

Results per page
Sort
Preferred Languages
Advance

Results 341 - 350 of 1,649 for Contains (0.1 sec)

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

      public int size() {
        return contents.length;
      }
    
      @Override
      public boolean contains(@Nullable Object object) {
        if (!allowNulls) {
          // behave badly
          if (object == null) {
            throw new NullPointerException();
          }
        }
        Platform.checkCast(type, object); // behave badly
        return asList(contents).contains(object);
      }
    
      @Override
      public boolean containsAll(Collection<?> collection) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableMap.java

                return delegate.entrySet();
              }
    
              @Override
              public boolean contains(@Nullable Object object) {
                if (object instanceof Entry<?, ?> && ((Entry<?, ?>) object).getKey() == null) {
                  return false;
                }
                try {
                  return super.contains(object);
                } catch (ClassCastException e) {
                  return false;
                }
              }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jan 24 16:03:45 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapEntriesTester.java

        assertContains(multimap().entries(), mapEntry((K) null, getValueForNullKey()));
      }
    
      @MapFeature.Require(ALLOWS_NULL_KEY_QUERIES)
      public void testContainsEntryWithNullKeyAbsent() {
        assertFalse(multimap().entries().contains(mapEntry(null, v0())));
      }
    
      @CollectionSize.Require(absent = ZERO)
      @MapFeature.Require(ALLOWS_NULL_VALUES)
      public void testContainsEntryWithNullValuePresent() {
        initMultimapWithNullValue();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/CartesianList.java

        return axesSizeProduct[0];
      }
    
      @Override
      public boolean contains(@CheckForNull Object object) {
        if (!(object instanceof List)) {
          return false;
        }
        List<?> list = (List<?>) object;
        if (list.size() != axes.size()) {
          return false;
        }
        int i = 0;
        for (Object o : list) {
          if (!axes.get(i).contains(o)) {
            return false;
          }
          i++;
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/SortedMapTestSuiteBuilder.java

        testers.add(SortedMapNavigationTester.class);
        return testers;
      }
    
      @Override
      public TestSuite createTestSuite() {
        if (!getFeatures().contains(KNOWN_ORDER)) {
          List<Feature<?>> features = copyToList(getFeatures());
          features.add(KNOWN_ORDER);
          withFeatures(features);
        }
        return super.createTestSuite();
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5K bytes
    - Viewed (0)
  6. statement.go

    			}
    
    			if len(args) == 0 || (len(args) > 0 && strings.Contains(s, "?")) {
    				// looks like a where condition
    				return []clause.Expression{clause.Expr{SQL: s, Vars: args}}
    			}
    
    			if len(args) > 0 && strings.Contains(s, "@") {
    				// looks like a named query
    				return []clause.Expression{clause.NamedExpr{SQL: s, Vars: args}}
    			}
    
    			if strings.Contains(strings.TrimSpace(s), " ") {
    				// looks like a where condition
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Jun 24 09:42:59 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ImmutableCollection.java

       * where this collection's elements end.
       */
      int internalArrayEnd() {
        throw new UnsupportedOperationException();
      }
    
      @Override
      public abstract boolean contains(@CheckForNull Object object);
    
      /**
       * Guaranteed to throw an exception and leave the collection unmodified.
       *
       * @throws UnsupportedOperationException always
       * @deprecated Unsupported operation.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Aug 12 16:59:15 UTC 2024
    - 18.8K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/AbstractMultimap.java

        for (Collection<V> collection : asMap().values()) {
          if (collection.contains(value)) {
            return true;
          }
        }
    
        return false;
      }
    
      @Override
      public boolean containsEntry(@CheckForNull Object key, @CheckForNull Object value) {
        Collection<V> collection = asMap().get(key);
        return collection != null && collection.contains(value);
      }
    
      @CanIgnoreReturnValue
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 21:08:00 UTC 2021
    - 7.1K bytes
    - Viewed (0)
  9. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/KotlinSourceQueries.kt

    
    private
    fun CtClass.isLikelyEquivalentTo(ktTypeReference: KtTypeReference): Boolean {
        val ktTypeAsText = ktTypeReference.text
        if (ktTypeAsText.contains(" -> ")) {
            // This is a function of some sort
            return name.startsWith("kotlin.jvm.functions.Function")
        }
    
        val ktTypeRawName = ktTypeAsText
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Jul 04 08:05:22 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  10. .teamcity/src/main/kotlin/common/extensions.kt

            }
            skipConditionally(buildType)
        }
    
    fun Requirements.requiresOs(os: Os) {
        contains("teamcity.agent.jvm.os.name", os.agentRequirement)
    }
    
    fun Requirements.requiresArch(os: Os, arch: Arch) {
        if (os == Os.MACOS) {
            contains("teamcity.agent.jvm.os.arch", arch.nameOnMac)
        } else {
            contains("teamcity.agent.jvm.os.arch", arch.nameOnLinuxWindows)
        }
    }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Oct 10 03:25:26 UTC 2024
    - 13.2K bytes
    - Viewed (0)
Back to top