Search Options

Results per page
Sort
Preferred Languages
Advance

Results 381 - 390 of 1,777 for Equals (0.07 sec)

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

      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testSetValue() {
        for (Entry<K, V> entry : getMap().entrySet()) {
          if (entry.getKey().equals(k0())) {
            assertEquals("entry.setValue() should return the old value", v0(), entry.setValue(v3()));
            break;
          }
        }
        expectReplacement(entry(k0(), v3()));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

        private fun isDot(input: String): Boolean {
          return input == "." || input.equals("%2e", ignoreCase = true)
        }
    
        private fun isDotDot(input: String): Boolean {
          return input == ".." ||
            input.equals("%2e.", ignoreCase = true) ||
            input.equals(".%2e", ignoreCase = true) ||
            input.equals("%2e%2e", ignoreCase = true)
        }
    
        /**
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 09 12:33:05 UTC 2024
    - 63.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/Files.java

       * @param from the source file
       * @param to the destination file
       * @throws IOException if an I/O error occurs
       * @throws IllegalArgumentException if {@code from.equals(to)}
       */
      public static void copy(File from, File to) throws IOException {
        checkArgument(!from.equals(to), "Source %s and destination %s must be different", from, to);
        asByteSource(from).copyTo(asByteSink(to));
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jul 22 19:03:12 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/ImmutableListTest.java

      }
    
      public void testEquals_immutableList() {
        Collection<String> c = ImmutableList.of("a", "b", "c");
        assertTrue(c.equals(ImmutableList.of("a", "b", "c")));
        assertFalse(c.equals(ImmutableList.of("a", "c", "b")));
        assertFalse(c.equals(ImmutableList.of("a", "b")));
        assertFalse(c.equals(ImmutableList.of("a", "b", "c", "d")));
      }
    
      public void testBuilderAdd() {
        ImmutableList<String> list =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/dict/stopwords/StopwordsItem.java

        }
    
        @Override
        public boolean equals(final Object obj) {
            if (this == obj) {
                return true;
            }
            if (obj == null || getClass() != obj.getClass()) {
                return false;
            }
            final StopwordsItem other = (StopwordsItem) obj;
            if (!input.equals(other.input)) {
                return false;
            }
            return true;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ForwardingMultiset.java

        return delegate().elementSet();
      }
    
      @Override
      public Set<Entry<E>> entrySet() {
        return delegate().entrySet();
      }
    
      @Override
      public boolean equals(@CheckForNull Object object) {
        return object == this || delegate().equals(object);
      }
    
      @Override
      public int hashCode() {
        return delegate().hashCode();
      }
    
      @CanIgnoreReturnValue
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java

            /* farthest is runtime and nearest has lower priority, change to runtime */
            if (Artifact.SCOPE_RUNTIME.equals(farthestArtifact.getScope())
                    && (Artifact.SCOPE_TEST.equals(nearestArtifact.getScope())
                            || Artifact.SCOPE_PROVIDED.equals(nearestArtifact.getScope()))) {
                updateScope = true;
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 36.7K bytes
    - Viewed (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/repository/metadata/TestMetadataSource.java

                throws ArtifactMetadataRetrievalException {
            Set<Artifact> dependencies = new HashSet<>();
    
            if ("g".equals(artifact.getArtifactId())) {
                Artifact a = null;
                try {
                    a = factory.createBuildArtifact("org.apache.maven", "h", "1.0", "jar");
                    dependencies.add(a);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/CumulativeScopeArtifactFilter.java

            return hash;
        }
    
        @Override
        public boolean equals(Object obj) {
            if (this == obj) {
                return true;
            }
    
            if (!(obj instanceof CumulativeScopeArtifactFilter)) {
                return false;
            }
    
            CumulativeScopeArtifactFilter that = (CumulativeScopeArtifactFilter) obj;
    
            return scopes.equals(that.scopes);
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/impl/RegexRule.java

            this.allRequired = allRequired;
        }
    
        @Override
        public boolean equals(final Object obj) {
            if (obj instanceof final RegexRule rule && allRequired == rule.isAllRequired() && defaultRule == rule.isDefaultRule()
                    && regexMap.equals(rule.regexMap)) {
                return true;
            }
            return false;
        }
    
        @Override
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 3.4K bytes
    - Viewed (0)
Back to top