Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 301 - 310 of 1,144 for equalTo (0.05 seconds)

  1. guava-tests/test/com/google/common/collect/FilteredMultimapTest.java

    @GwtIncompatible // nottested
    @NullUnmarked
    public class FilteredMultimapTest extends TestCase {
    
      private static final Predicate<Entry<String, Integer>> ENTRY_PREDICATE =
          entry ->
              !Objects.equals(entry.getKey(), "badkey") && !Objects.equals(entry.getValue(), 55556);
    
      protected Multimap<String, Integer> create() {
        Multimap<String, Integer> unfiltered = HashMultimap.create();
        unfiltered.put("foo", 55556);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Feb 12 03:49:18 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/CompactHashMap.java

          int bucketLength = 0;
          do {
            entryIndex = next - 1;
            entry = entries[entryIndex];
            if (CompactHashing.getHashPrefix(entry, mask) == hashPrefix
                && Objects.equals(key, keys[entryIndex])) {
              @SuppressWarnings("unchecked") // known to be a V
              V oldValue = (V) values[entryIndex];
    
              values[entryIndex] = value;
              accessEntry(entryIndex);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 39.6K bytes
    - Click Count (0)
  3. guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java

                  @Override
                  public int hashCode() {
                    return map.hashCode();
                  }
    
                  @Override
                  public boolean equals(@Nullable Object o) {
                    return map.equals(o);
                  }
    
                  @Override
                  public String toString() {
                    return map.toString();
                  }
    
                  @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu May 22 16:18:11 GMT 2025
    - 11.8K bytes
    - Click Count (0)
  4. compat/maven-model/src/main/java/org/apache/maven/model/InputSource.java

        }
    
        @Override
        public boolean equals(Object o) {
            if (this == o) {
                return true;
            }
            if (o == null || getClass() != o.getClass()) {
                return false;
            }
            InputSource that = (InputSource) o;
            return java.util.Objects.equals(modelId, that.modelId)
                    && java.util.Objects.equals(location, that.location)
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  5. cmd/xl-storage-format-v2.go

    	for k, v := range j.MetaUser {
    		// https://github.com/google/security-research/security/advisories/GHSA-76wf-9vgp-pj7w
    		if equals(k, xhttp.AmzMetaUnencryptedContentLength, xhttp.AmzMetaUnencryptedContentMD5) {
    			continue
    		}
    		if equals(k, "x-amz-storage-class") && v == storageclass.STANDARD {
    			continue
    		}
    
    		fi.Metadata[k] = v
    	}
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 65.6K bytes
    - Click Count (1)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/TypeMetaData.java

                varargs == that.varargs &&
                wildcard == that.wildcard &&
                Objects.equals(name, that.name) &&
                Objects.equals(typeArgs, that.typeArgs) &&
                Objects.equals(upperBounds, that.upperBounds) &&
                Objects.equals(lowerBounds, that.lowerBounds);
        }
    
        @Override
        public int hashCode() {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 6.1K bytes
    - Click Count (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/toolchain/DefaultToolchain.java

            return logger;
        }
    
        @Override
        public boolean equals(Object obj) {
            if (obj == null) {
                return false;
            }
    
            if (this == obj) {
                return true;
            }
    
            if (obj instanceof DefaultToolchain other) {
                if (!Objects.equals(type, other.type)) {
                    return false;
                }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Feb 12 13:13:28 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/graph/IncidentEdgeSet.java

          Object target = endpointPair.target();
          return (node.equals(source) && successorsOrEmpty(node).contains(target))
              || (node.equals(target) && predecessorsOrEmpty(node).contains(source));
        } else {
          Set<N> adjacent = graph.adjacentNodes(node);
          Object nodeU = endpointPair.nodeU();
          Object nodeV = endpointPair.nodeV();
    
          return (node.equals(nodeV) && adjacent.contains(nodeU))
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 07 15:57:03 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/BiMapEntrySetTester.java

      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testSetValue_valueAbsent() {
        for (Entry<K, V> entry : getMap().entrySet()) {
          if (entry.getKey().equals(k0())) {
            assertEquals("entry.setValue() should return the old value", v0(), entry.setValue(v3()));
          }
        }
        expectReplacement(entry(k0(), v3()));
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 3K bytes
    - Click Count (0)
  10. compat/maven-builder-support/src/main/java/org/apache/maven/building/FileSource.java

        }
    
        @Override
        public boolean equals(Object obj) {
            if (this == obj) {
                return true;
            }
    
            if (obj == null) {
                return false;
            }
    
            if (!FileSource.class.equals(obj.getClass())) {
                return false;
            }
    
            FileSource other = (FileSource) obj;
            return this.path.equals(other.path);
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jan 15 18:51:29 GMT 2025
    - 3K bytes
    - Click Count (0)
Back to Top