- Sort Score
- Result 10 results
- Languages All
Results 601 - 610 of 1,771 for Equalf (0.09 sec)
-
guava-tests/test/com/google/common/collect/GeneralRangeTest.java
for (Integer i : IN_ORDER_VALUES) { GeneralRange<@Nullable Integer> range = GeneralRange.range(ORDERING, i, CLOSED, i, CLOSED); for (Integer j : IN_ORDER_VALUES) { assertEquals(Objects.equal(i, j), range.contains(j)); } } } public void testSingletonRange() { GeneralRange<@Nullable Integer> range = GeneralRange.range(ORDERING, 3, CLOSED, 3, CLOSED); for (Integer i : IN_ORDER_VALUES) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 8.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListReplaceAllTester.java
} @ListFeature.Require(SUPPORTS_SET) public void testReplaceAll_changesSome() { getList().replaceAll(e -> e.equals(samples.e0()) ? samples.e3() : e); E[] expected = createSamplesArray(); for (int i = 0; i < expected.length; i++) { if (expected[i].equals(samples.e0())) { expected[i] = samples.e3(); } } expectContents(expected); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:51:04 UTC 2024 - 2.5K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Present.java
"the Function passed to Optional.transform() must not return null.")); } @Override public boolean equals(@CheckForNull Object object) { if (object instanceof Present) { Present<?> other = (Present<?>) object; return reference.equals(other.reference); } return false; } @Override public int hashCode() { return 0x598df91c + reference.hashCode(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 01 17:18:04 UTC 2021 - 2.4K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/ConsolePasswordPrompt.java
} @Override public Optional<String> configTemplate() { return Optional.empty(); } @Override public String handle(String config) throws SecDispatcherException { if (NAME.equals(config)) { try { return prompter.promptForPassword("Enter the master password: "); } catch (PrompterException e) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Iterators.java
} } return result; } /** * Determines whether two iterators contain equal elements in the same order. More specifically, * this method returns {@code true} if {@code iterator1} and {@code iterator2} contain the same * number of elements and every element of {@code iterator1} is equal to the corresponding element * of {@code iterator2}. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 50.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ExplicitOrdering.java
throw new IncomparableValueException(value); } return rank; } @Override public boolean equals(@CheckForNull Object object) { if (object instanceof ExplicitOrdering) { ExplicitOrdering<?> that = (ExplicitOrdering<?>) object; return this.rankMap.equals(that.rankMap); } return false; } @Override public int hashCode() { return rankMap.hashCode(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sun Jun 20 14:22:42 UTC 2021 - 2K bytes - Viewed (0) -
guava/src/com/google/common/collect/ExplicitOrdering.java
throw new IncomparableValueException(value); } return rank; } @Override public boolean equals(@CheckForNull Object object) { if (object instanceof ExplicitOrdering) { ExplicitOrdering<?> that = (ExplicitOrdering<?>) object; return this.rankMap.equals(that.rankMap); } return false; } @Override public int hashCode() { return rankMap.hashCode(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sun Jun 20 14:22:42 UTC 2021 - 2K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/aether/ReverseTreeRepositoryListener.java
*/ static boolean isInScope(Artifact artifact, Artifact nodeArtifact) { return Objects.equals(artifact.getGroupId(), nodeArtifact.getGroupId()) && Objects.equals(artifact.getArtifactId(), nodeArtifact.getArtifactId()) && Objects.equals(artifact.getVersion(), nodeArtifact.getVersion()); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 9.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/log/allcommon/EsAbstractConditionQuery.java
assertObjectNotNull("ck", ck); if (ck.equals(ConditionKey.CK_GREATER_THAN)) { builder.gt(value); } else if (ck.equals(ConditionKey.CK_GREATER_EQUAL)) { builder.gte(value); } else if (ck.equals(ConditionKey.CK_LESS_THAN)) { builder.lt(value); } else if (ck.equals(ConditionKey.CK_LESS_EQUAL)) { builder.lte(value); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 21.1K bytes - Viewed (0) -
cni/pkg/plugin/cnieventclient_test.go
data, err := io.ReadAll(req.Body) assert.NoError(t, err) var msg nodeagent.CNIPluginAddEvent err = json.Unmarshal(data, &msg) assert.NoError(t, err) assert.Equal(t, msg.PodName, testPod) assert.Equal(t, msg.PodNamespace, testNS) assert.Equal(t, msg.Netns, fakeCmdArgs.Netns) res.WriteHeader(http.StatusOK) res.Write([]byte("server happy")) })) defer func() { testServer.Close() }()
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Jul 02 18:48:50 UTC 2024 - 4.2K bytes - Viewed (0)