- Sort Score
- Num 10 results
- Language All
Results 41 - 50 of 153 for Comparison (0.07 seconds)
-
src/main/java/org/codelibs/fess/dict/mapping/CharMappingItem.java
public boolean isDeleted() { return isUpdated() && newInputs.length == 0; } /** * Sorts both the current inputs and new inputs arrays in place. * This ensures consistent ordering for comparison and equality operations. */ public void sort() { if (inputs != null) { Arrays.sort(inputs); } if (newInputs != null) { Arrays.sort(newInputs);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 20 07:09:00 GMT 2025 - 7.9K bytes - Click Count (0) -
guava/src/com/google/common/collect/AbstractMultimap.java
public Map<K, Collection<V>> asMap() { Map<K, Collection<V>> result = asMap; return (result == null) ? asMap = createAsMap() : result; } abstract Map<K, Collection<V>> createAsMap(); // Comparison and hashing @Override public boolean equals(@Nullable Object object) { return Multimaps.equalsImpl(this, object); } /** * Returns the hash code for this multimap. *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 7K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Collections2.java
int permutations = 1; int n = 1; int r = 1; while (n < sortedInputList.size()) { int comparison = comparator.compare(sortedInputList.get(n - 1), sortedInputList.get(n)); if (comparison < 0) { // We move to the next non-repeated element. permutations = IntMath.saturatedMultiply(permutations, IntMath.binomial(n, r)); r = 0;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) -
guava/src/com/google/common/collect/Multimap.java
* may not be equal and may or may not have the same {@code hashCode}. The recommended subinterfaces * provide much stronger guarantees. * * <h3>Comparison to a map of collections</h3> * * <p>Multimaps are commonly used in places where a {@code Map<K, Collection<V>>} would otherwise * have appeared. The differences include: * * <ul>Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 15.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/crawler/FessCrawlerThreadTest.java
Set<RequestData> result = crawlerThread.getAnchorSet(urls); assertNotNull(result, "getAnchorSet should handle duplicates"); // Since it returns a Set, duplicates should be handled by URL comparison // The exact behavior depends on RequestData.equals() implementation assertTrue("Should have at most 5 items", result.size() <= 5); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 9.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/dict/stopwords/StopwordsItemTest.java
assertTrue(item1.equals(item2)); } @Test public void test_equals_withNullInput() { // Test equals with null input - should not throw, uses null-safe comparison StopwordsItem item1 = new StopwordsItem(1, null); StopwordsItem item2 = new StopwordsItem(2, null); StopwordsItem item3 = new StopwordsItem(1, "word");
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 11.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/dict/protwords/ProtwordsItemTest.java
assertTrue(item2.equals(item1)); } @Test public void test_equals_withNullInput() { // Test equals with null input - should not throw, uses null-safe comparison ProtwordsItem item1 = new ProtwordsItem(1, null); ProtwordsItem item2 = new ProtwordsItem(2, null); ProtwordsItem item3 = new ProtwordsItem(1, "word");
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 10.7K bytes - Click Count (0) -
api/maven-api-toolchain/src/main/mdo/toolchains.mdo
</field> </fields> <codeSegments> <codeSegment> <version>1.2.0+</version> <comment>Generated hashCode() and equals() based on identifier also calls its super, which breaks comparison </comment> <code> <![CDATA[ /** * Computes a hash value based on {@link #getType()} and {@link #getProvides()} values. */ public int hashCode() {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sun May 18 09:15:56 GMT 2025 - 9.5K bytes - Click Count (0) -
docs/debugging/s3-verify/main.go
} if !srcEOF && srcCtnt.Err != nil { log.Fatal(srcCtnt.Err) } if !tgtEOF && tgtCtnt.Err != nil { log.Fatal(tgtCtnt.Err) } // If source doesn't have objects anymore, comparison becomes obvious if srcEOF { fmt.Printf("only in target: %s\n", tgtCtnt.Key) tgtCtnt, tgtOk = <-tgtCh continue } // The same for target if tgtEOF {Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Jun 22 15:12:47 GMT 2022 - 8.4K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTreeHandleImplTest.java
} @Test @DisplayName("isSameTree: different types and delegated compare") void isSameTreeCoversBranches() { // Covers non-impl (false) and impl path delegating to connection comparison // Not an impl -> false assertFalse(handle.isSameTree(mock(SmbTreeHandle.class))); // Impl case delegates to treeConnection.isSameCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.4K bytes - Click Count (0)