Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 841 - 850 of 1,801 for equals (0.05 seconds)

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

          // similar to putInBothMaps, but set via entry
          if (Objects.equals(value, getValue())) {
            return value;
          }
          checkArgument(!containsValue(value), "value already present: %s", value);
          V oldValue = delegate.setValue(value);
          checkState(Objects.equals(value, get(getKey())), "entry no longer in map");
          updateInverseMap(getKey(), true, oldValue, value);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 15:50:50 GMT 2025
    - 13.5K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/util/OptionalUtilTest.java

            }
    
            @Override
            public boolean equals(Object obj) {
                if (this == obj)
                    return true;
                if (obj == null || getClass() != obj.getClass())
                    return false;
                CustomTestObject other = (CustomTestObject) obj;
                return value == other.value && (name != null ? name.equals(other.name) : other.name == null);
            }
    
            @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 13.3K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/helper/KeyMatchHelper.java

            if (boostList == null) {
                return Collections.emptyList();
            }
            for (final Tuple3<String, QueryBuilder, ScoreFunctionBuilder<?>> pair : boostList) {
                if (!keyMatch.getId().equals(pair.getValue1())) {
                    continue;
                }
                final FessConfig fessConfig = ComponentUtil.getFessConfig();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 10.1K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/exception/ResultOffsetExceededExceptionTest.java

            // Check that the current test method is in the stack trace
            boolean foundTestMethod = false;
            for (StackTraceElement element : stackTrace) {
                if (element.getMethodName().equals("test_stackTrace")) {
                    foundTestMethod = true;
                    break;
                }
            }
            assertTrue(foundTestMethod);
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.9K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/ImmutableClassToInstanceMap.java

       * Returns an immutable map containing the same entries as {@code map}. If {@code map} somehow
       * contains entries with duplicate keys (for example, if it is a {@code SortedMap} whose
       * comparator is not <i>consistent with equals</i>), the results of this method are undefined.
       *
       * <p><b>Note:</b> Despite what the method name suggests, if {@code map} is an {@code
       * ImmutableClassToInstanceMap}, no copy will actually be performed.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 7K bytes
    - Click Count (0)
  6. cmd/erasure-healing_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    
    	// After heal the meta file should be as expected.
    	if !fileInfoPreHeal1.Equals(fileInfoPostHeal1) {
    		t.Fatal("HealObject failed")
    	}
    	if !fileInfoPreHeal1.Equals(fileInfoPostHeal2) {
    		t.Fatal("HealObject failed")
    	}
    
    	err = os.RemoveAll(path.Join(fsDirs[0], bucket, object, "xl.meta"))
    	if err != nil {
    		t.Fatal(err)
    	}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 48.5K bytes
    - Click Count (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategy.java

                    }
                }
    
                // Check if this POM matches the parent coordinates
                if (parentGroupId.equals(groupId) && parentArtifactId.equals(artifactId) && parentVersion.equals(version)) {
                    return entry.getKey();
                }
            }
    
            return null; // Parent not found in local project
        }
    
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 37K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/Collections2.java

       * predicate)} and use the copy.
       *
       * <p><b>Warning:</b> {@code predicate} must be <i>consistent with equals</i>, as documented at
       * {@link Predicate#apply}. Do not provide a predicate such as {@code
       * Predicates.instanceOf(ArrayList.class)}, which is inconsistent with equals. (See {@link
       * Iterables#filter(Iterable, Class)} for related functionality.)
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 22.6K bytes
    - Click Count (0)
  9. 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));
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jan 05 22:13:21 GMT 2026
    - 32.8K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb1/smb1/NtlmPasswordAuthenticationTest.java

        @Test
        void testGetNameWithDefaultDomain() {
            NtlmPasswordAuthentication auth = new NtlmPasswordAuthentication("?", "user", "password");
            assertEquals("user", auth.getName());
        }
    
        // Test equals method
        @Test
        void testEquals() {
            NtlmPasswordAuthentication auth1 = new NtlmPasswordAuthentication("DOMAIN", "user", "password");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.7K bytes
    - Click Count (0)
Back to Top