Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 290 of 2,250 for contains (0.09 sec)

  1. android/guava/src/com/google/common/collect/ImmutableMapValues.java

          }
    
          @Override
          public V next() {
            return entryItr.next().getValue();
          }
        };
      }
    
      @Override
      public boolean contains(@CheckForNull Object object) {
        return object != null && Iterators.contains(iterator(), object);
      }
    
      @Override
      boolean isPartialView() {
        return true;
      }
    
      @Override
      public ImmutableList<V> asList() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/DescendingImmutableSortedSet.java

      DescendingImmutableSortedSet(ImmutableSortedSet<E> forward) {
        super(Ordering.from(forward.comparator()).reverse());
        this.forward = forward;
      }
    
      @Override
      public boolean contains(@CheckForNull Object object) {
        return forward.contains(object);
      }
    
      @Override
      public int size() {
        return forward.size();
      }
    
      @Override
      public UnmodifiableIterator<E> iterator() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/UpgradePropertiesRulePostProcess.java

            Map<AccessorKey, ReplacedAccessor> keptAccessors = new HashMap<>(oldAccessorsOfUpgradedProperties);
            keptAccessors.entrySet().removeIf(e -> {
                if (seenUpgradedAccessorsChanges.contains(e.getKey())) {
                    return true;
                }
                ReplacedAccessor accessor = e.getValue();
                return accessor.getBinaryCompatibility() == BinaryCompatibility.ACCESSORS_KEPT;
            });
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Aug 19 15:30:48 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/AbstractListMultimapTester.java

        }
    
        assertEquals(values.size(), multimap().get(key).size());
        assertEquals(values.size() > 0, multimap().containsKey(key));
        assertEquals(values.size() > 0, multimap().keySet().contains(key));
        assertEquals(values.size() > 0, multimap().keys().contains(key));
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/ConcurrentHashMultisetTest.java

        String s2 = new String("a");
        assertEquals(s1, s2); // Stating the obvious.
        assertTrue(s1 != s2); // Stating the obvious.
    
        multiset.add(s1);
        assertTrue(multiset.contains(s1));
        assertFalse(multiset.contains(s2));
        assertEquals(1, multiset.count(s1));
        assertEquals(0, multiset.count(s2));
    
        multiset.add(s1);
        multiset.add(s2, 3);
        assertEquals(2, multiset.count(s1));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  6. .teamcity/src/main/kotlin/projects/StageProject.kt

                // in gradleBuildSmokeTest, most of the tests are for using the configuration cache on gradle/gradle
                val configCacheTests = (functionalTests + specificBuildTypes).filter { it.name.lowercase().contains("configcache") || it.name.contains(GRADLE_BUILD_SMOKE_TEST_NAME) }
                if (configCacheTests.size > 1) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Oct 07 09:17:14 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/ImmutableRangeMapTest.java

              for (int i = MIN_BOUND; i <= MAX_BOUND; i++) {
                Integer expectedValue = null;
                if (range1.contains(i)) {
                  expectedValue = 1;
                } else if (range2.contains(i)) {
                  expectedValue = 2;
                }
    
                assertEquals(expectedValue, rangeMap.get(i));
              }
            }
          }
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/es/log/allcommon/EsAbstractConditionQuery.java

                throw new IllegalArgumentException(msg);
            }
        }
    
        protected String toRangeDateString(Date date, String format) {
            if (format.contains("epoch_millis")) {
                return Long.toString(date.getTime());
            } else if (format.contains("date_optional_time")) {
                final SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss");
                sdf.setTimeZone(TimeZone.getTimeZone("UTC"));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  9. src/bytes/example_test.go

    	if found {
    		// Found it!
    	}
    }
    
    func ExampleContains() {
    	fmt.Println(bytes.Contains([]byte("seafood"), []byte("foo")))
    	fmt.Println(bytes.Contains([]byte("seafood"), []byte("bar")))
    	fmt.Println(bytes.Contains([]byte("seafood"), []byte("")))
    	fmt.Println(bytes.Contains([]byte(""), []byte("")))
    	// Output:
    	// true
    	// false
    	// true
    	// true
    }
    
    func ExampleContainsAny() {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 07 17:22:36 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  10. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

        }
      }
    
      /**
       * Returns {@code true} if this queue contains the specified element. More formally, returns
       * {@code true} if and only if this queue contains at least one element {@code e} such that {@code
       * o.equals(e)}.
       *
       * @param o object to be checked for containment in this queue
       * @return {@code true} if this queue contains the specified element
       */
      @CanIgnoreReturnValue
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 22.5K bytes
    - Viewed (0)
Back to top