Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 779 for Contains (0.34 sec)

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

      public void testContains_yes() {
        assertTrue("contains(present) should return true", collection.contains(e0()));
      }
    
      public void testContains_no() {
        assertFalse("contains(notPresent) should return false", collection.contains(e3()));
      }
    
      @CollectionFeature.Require(ALLOWS_NULL_QUERIES)
      public void testContains_nullNotContainedButQueriesSupported() {
        assertFalse("contains(null) should return false", collection.contains(null));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/utils/Os.java

            boolean isWindows = actualOsName.contains(FAMILY_WINDOWS);
            boolean is9x = false;
            boolean isNT = false;
            if (isWindows) {
                // there are only four 9x platforms that we look for
                is9x = (actualOsName.contains("95")
                        || actualOsName.contains("98")
                        || actualOsName.contains("me")
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/collection/LruHashSet.java

        public int size() {
            return map.size();
        }
    
        /**
         * Returns true if this set contains no elements.
         *
         * @return true if this set contains no elements.
         */
        @Override
        public boolean isEmpty() {
            return map.isEmpty();
        }
    
        /**
         * Returns true if this set contains the specified element.
         *
         * @param o
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/EmlExtractorTest.java

                final String content = data.getContent();
                logger.info(content);
                assertTrue(content.contains("Exkursion und Museumsbesuch"));
                assertTrue(content.contains("Fahrt nach Baruth"));
                assertTrue(content.contains("Technische Universität"));
            }
        }
    
        public void test_getText_null() {
            try {
                emlExtractor.getText(null, null);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableAsList.java

      abstract ImmutableCollection<E> delegateCollection();
    
      @Override
      public boolean contains(@CheckForNull Object target) {
        // The collection's contains() is at least as fast as ImmutableList's
        // and is often faster.
        return delegateCollection().contains(target);
      }
    
      @Override
      public int size() {
        return delegateCollection().size();
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 06 16:06:58 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/suggest/settings/AnalyzerSettingsTest.java

            assert (analyzerNames.size() > 4);
            assertTrue(analyzerNames.contains(settings.analyzer().getContentsAnalyzerName("", "")));
            assertTrue(analyzerNames.contains(settings.analyzer().getContentsReadingAnalyzerName("", "")));
            assertTrue(analyzerNames.contains(settings.analyzer().getReadingAnalyzerName("", "")));
            assertTrue(analyzerNames.contains(settings.analyzer().getReadingTermAnalyzerName("", "")));
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/WebPlatformUrlTest.kt

          return
        }
    
        try {
          testHttpUrl(testData)
          if (KNOWN_FAILURES.contains(testData.toString())) {
            System.err.println("Expected failure but was success: $testData")
          }
        } catch (e: Throwable) {
          if (KNOWN_FAILURES.contains(testData.toString())) {
            System.err.println("Ignoring known failure: $testData")
            e.printStackTrace()
          } else {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  8. guava-tests/benchmark/com/google/common/collect/MultipleSetContainsBenchmark.java

          } else {
            queries[i] = ABSENT;
          }
        }
      }
    
      @Benchmark
      public boolean contains(int reps) {
        ImmutableSet<?>[] sets = this.sets;
        Object[] queries = this.queries;
        boolean result = false;
        for (int i = 0; i < reps; i++) {
          int j = i & 0xFFF;
          result ^= sets[j].contains(queries[j]);
        }
        return result;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 20:09:59 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  9. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/ModelVersionParserTest.java

            assertTrue(c.contains(versionParser.parseVersion("1.0")));
    
            c = versionParser.parseVersionConstraint("[1.0]");
            assertNull(c.getRecommendedVersion());
            assertTrue(c.contains(versionParser.parseVersion("1.0")));
    
            c = versionParser.parseVersionConstraint("[1.0],[2.0]");
            assertTrue(c.contains(versionParser.parseVersion("1.0")));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/features/MapFeature.java

       * {@code get(null)}, {@code keySet().contains(null)} or {@code remove(null)}.
       */
      ALLOWS_NULL_KEY_QUERIES,
      ALLOWS_NULL_KEYS(ALLOWS_NULL_KEY_QUERIES),
      /**
       * The map does not throw {@code NullPointerException} on calls such as {@code
       * containsValue(null)}, {@code values().contains(null)} or {@code values().remove(null)}.
       */
      ALLOWS_NULL_VALUE_QUERIES,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top