Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 841 - 850 of 2,832 for contains (0.17 seconds)

  1. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

        KeySet(ConcurrentMap<?, ?> map) {
          super(map);
        }
    
        @Override
        public Iterator<K> iterator() {
          return new KeyIterator();
        }
    
        @Override
        public boolean contains(Object o) {
          return map.containsKey(o);
        }
    
        @Override
        public boolean remove(Object o) {
          return map.remove(o) != null;
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 12:40:22 GMT 2026
    - 21.6K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/sso/SsoResponseTypeTest.java

                SsoResponseType.valueOf("INVALID");
                fail("Expected IllegalArgumentException");
            } catch (IllegalArgumentException e) {
                // Expected exception
                assertTrue(e.getMessage().contains("INVALID"));
            }
        }
    
        @Test
        public void test_valueOf_null() {
            // Test valueOf with null throws exception
            try {
                SsoResponseType.valueOf(null);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 6.3K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/cache/CacheReferencesTest.java

          assertThat(cache.asMap().containsKey(key2)).isTrue();
          assertThat(cache.size()).isEqualTo(1);
          assertThat(cache.asMap().keySet()).isEqualTo(ImmutableSet.of(key2));
          assertThat(cache.asMap().values()).contains(value2);
          assertThat(cache.asMap().entrySet()).containsExactly(immutableEntry(key2, value2));
        }
      }
    
      // fails in Maven with 64-bit JDK: https://github.com/google/guava/issues/1568
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 5.1K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/primitives/ImmutableDoubleArray.java

       * compared as if by {@link Double#equals}. Equivalent to {@code asList().contains(target)}.
       */
      public boolean contains(double target) {
        return indexOf(target) >= 0;
      }
    
      /**
       * Invokes {@code consumer} for each value contained in this array, in order.
       *
       * @since 33.4.0 (but since 22.0 in the JRE flavor)
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 12 14:49:24 GMT 2025
    - 22.7K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/primitives/ImmutableIntArray.java

      }
    
      /**
       * Returns {@code true} if {@code target} is present at any index in this array. Equivalent to
       * {@code asList().contains(target)}.
       */
      public boolean contains(int target) {
        return indexOf(target) >= 0;
      }
    
      /**
       * Invokes {@code consumer} for each value contained in this array, in order.
       *
       * @since 33.4.0 (but since 22.0 in the JRE flavor)
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 12 14:49:24 GMT 2025
    - 21.9K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/ObjectCountLinkedHashMap.java

      private static final int ENDPOINT = -2;
    
      /*
       * The links field is not initialized directly in the constructor, but it's initialized by init(),
       * which the superconstructor calls.
       */
    
      /**
       * Contains the link pointers corresponding with the entries, in the range of [0, size()). The
       * high 32 bits of each long is the "prev" pointer, whereas the low 32 bits is the "succ" pointer
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  7. build-tools-internal/src/main/resources/checkstyle.xml

      <module name="SuppressWarningsFilter" />
    
      <!-- Checks Java files and forbids empty Javadoc comments. -->
      <!-- Although you can use the "JavadocStyle" rule for this, it considers Javadoc -->
      <!-- that only contains a "@return" line to be empty. -->
      <module name="RegexpMultiline">
        <property name="id" value="EmptyJavadoc" />
        <property name="format" value="\/\*[\s\*]*\*\/" />
        <property name="fileExtensions" value="java" />
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Sep 13 12:48:46 GMT 2021
    - 6K bytes
    - Click Count (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/ChecksumAlgorithmService.java

         * any of the algorithm name is not supported. The returned collection has equal count of elements as passed in
         * collection of names, and if names contains duplicated elements, the returned list of algorithms will have
         * duplicates as well.
         *
         * @throws ChecksumAlgorithmServiceException if any asked algorithm name is not supported.
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 10 20:52:34 GMT 2024
    - 6.4K bytes
    - Click Count (0)
  9. .teamcity/src/main/kotlin/configurations/StageTriggers.kt

    fun Dependencies.dependOnPreviousStageTrigger(
        model: CIBuildModel,
        prevStage: Stage,
        os: Os? = null,
    ) {
        if (os == null || stageWithOsTriggers.getOrDefault(prevStage.stageName, emptyList()).contains(os)) {
            dependency(RelativeId(stageTriggerId(model, prevStage, os))) {
                snapshot {
                    onDependencyFailure = FailureAction.FAIL_TO_START
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Feb 06 13:13:53 GMT 2026
    - 7.1K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/FuturesTransformAsyncTest.java

      }
    
      public void testAsyncToString() throws Exception {
        inputFuture.set(SLOW_OUTPUT_VALID_INPUT_DATA);
        assertThat(resultFuture.toString()).contains(outputFuture.toString());
      }
    
      public void testFutureCancelBeforeInputCompletion() throws Exception {
        assertTrue(resultFuture.cancel(true));
        assertTrue(resultFuture.isCancelled());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 6.5K bytes
    - Click Count (0)
Back to Top