Search Options

Results per page
Sort
Preferred Languages
Advance

Results 291 - 300 of 2,052 for contains (0.04 sec)

  1. android/guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java

        cache.put(20, 22);
        cache.put(5, 10);
    
        fakeTicker.advance(501, MILLISECONDS);
    
        assertTrue(cache.asMap().values().contains(22));
        assertTrue(cache.asMap().values().contains(10));
        assertFalse(cache.asMap().values().contains(20));
      }
    
      public void testAsMapKeySet() {
        Cache<Integer, Integer> cache =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapTestSuiteBuilder.java

        if (multimapFeatures.contains(MapFeature.ALLOWS_NULL_ENTRY_QUERIES)) {
          result.add(CollectionFeature.ALLOWS_NULL_QUERIES);
        }
        return result;
      }
    
      static Set<Feature<?>> computeValuesFeatures(Set<Feature<?>> multimapFeatures) {
        Set<Feature<?>> result = computeDerivedCollectionFeatures(multimapFeatures);
        if (multimapFeatures.contains(MapFeature.ALLOWS_NULL_VALUES)) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 26.8K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/collection/SLinkedListTest.java

         */
        @Test
        public void testContaines() throws Exception {
            assertThat(list.contains(null), is(not(true)));
            assertThat(list.contains("1"), is(not(true)));
            list.addLast("1");
            assertThat(list.contains("1"), is(true));
            assertThat(list.contains("2"), is(not(true)));
            assertThat(list.contains(null), is(not(true)));
        }
    
        /**
         * @throws Exception
         */
        @Test
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  4. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableCollection.java

      }
    
      @Override
      public UnmodifiableIterator<E> iterator() {
        return Iterators.unmodifiableIterator(delegate.iterator());
      }
    
      @Override
      public boolean contains(@Nullable Object object) {
        return object != null && delegate.contains(object);
      }
    
      @Override
      public boolean containsAll(Collection<?> targets) {
        return delegate.containsAll(targets);
      }
    
      @Override
      public int size() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/VersionRange.java

     */
    @Experimental
    public interface VersionRange {
        /**
         * Determines whether the specified version is contained within this range.
         *
         * @param version the version to test, must not be {@code null}
         * @return {@code true} if this range contains the specified version, {@code false} otherwise
         */
        boolean contains(@Nonnull Version version);
    
        /**
         * Returns the upper boundary of this range, or {@code null} if none.
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

          for (int i = WARMUP_MIN; i < WARMUP_MAX; i++) {
            Object key = warmed.get(i - WARMUP_MIN).getKey();
            assertTrue(keys.contains(key));
            assertTrue(keys.remove(key));
            assertFalse(keys.remove(key));
            assertFalse(keys.contains(key));
          }
          checkEmpty(keys);
          checkEmpty(cache);
        }
      }
    
      public void testValues_populated() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/exception/PluginExceptionTest.java

            String toStringResult = exception.toString();
            assertNotNull(toStringResult);
            assertTrue(toStringResult.contains(PluginException.class.getName()));
            assertTrue(toStringResult.contains(message));
        }
    
        public void test_toStringMethodWithCause() {
            // Test toString method behavior with cause
            String message = "Plugin error with cause";
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/multichannel/ChannelLoadBalancerTest.java

            assertNotNull(first);
            assertNotNull(second);
            // Due to round-robin, should get different channels or same order
            assertTrue(Arrays.asList(channel1, channel2).contains(first));
            assertTrue(Arrays.asList(channel1, channel2).contains(second));
        }
    
        @Test
        void testLeastLoadedStrategy() {
            loadBalancer.setStrategy(LoadBalancingStrategy.LEAST_LOADED);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  9. .github/workflows/CheckBadMerge.groovy

            println("$commit parents: $parentCommits")
            println(" p1Branches: $p1Branches")
            println(" p2Branches: $p2Branches")
            if (p1Branches.contains("origin/master") && !p2Branches.contains("origin/master") && p2Branches.any { it.startsWith("origin/release") }) {
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Fri Jan 24 10:03:31 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableList.java

          return size() - index;
        }
    
        @Override
        public ImmutableList<E> reverse() {
          return forwardList;
        }
    
        @Override
        public boolean contains(@Nullable Object object) {
          return forwardList.contains(object);
        }
    
        @Override
        public int indexOf(@Nullable Object object) {
          int index = forwardList.lastIndexOf(object);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 27.5K bytes
    - Viewed (0)
Back to top