- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 2,218 for _Equal (0.12 sec)
-
guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java
assertFalse( "Should not contain key " + entry.getKey() + " mapped to value " + entry.getValue(), equal(getMap().get(entry.getKey()), entry.getValue())); } } private static boolean equal(@Nullable Object a, @Nullable Object b) { return a == b || (a != null && a.equals(b)); } // This one-liner saves us from some ugly casts
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 7.5K bytes - Viewed (0) -
docs/ru/docs/tutorial/path-params-numeric-validations.md
А также вы можете добавить валидацию числовых данных: * `gt`: больше (`g`reater `t`han) * `ge`: больше или равно (`g`reater than or `e`qual) * `lt`: меньше (`l`ess `t`han) * `le`: меньше или равно (`l`ess than or `e`qual) !!! info "Информация" `Query`, `Path` и другие классы, которые мы разберём позже, являются наследниками общего класса `Param`.
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 14.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/Helpers.java
import java.util.ListIterator; import java.util.Map; import java.util.Map.Entry; import java.util.Set; import org.checkerframework.checker.nullness.qual.Nullable; @GwtCompatible(emulated = true) @ElementTypesAreNonnullByDefault public class Helpers { // Clone of Objects.equal static boolean equal(@Nullable Object a, @Nullable Object b) { return a == b || (a != null && a.equals(b)); } // Clone of Lists.newArrayList
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 17.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/FilteredEntryMultimap.java
public Collection<V> get(@CheckForNull Object key) { Collection<V> result = unfiltered.asMap().get(key); if (result == null) { return null; } @SuppressWarnings("unchecked") // key is equal to a K, if not a K itself K k = (K) key; result = filterCollection(result, new ValuePredicate(k)); return result.isEmpty() ? null : result; } @Override @CheckForNull
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Apr 24 19:38:27 UTC 2024 - 11.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/Helpers.java
import java.util.ListIterator; import java.util.Map; import java.util.Map.Entry; import java.util.Set; import org.checkerframework.checker.nullness.qual.Nullable; @GwtCompatible(emulated = true) @ElementTypesAreNonnullByDefault public class Helpers { // Clone of Objects.equal static boolean equal(@Nullable Object a, @Nullable Object b) { return a == b || (a != null && a.equals(b)); } // Clone of Lists.newArrayList
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 17.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java
public final class ForwardingWrapperTester { private boolean testsEquals = false; /** * Asks for {@link Object#equals} and {@link Object#hashCode} to be tested. That is, forwarding * wrappers of equal instances should be equal. */ @CanIgnoreReturnValue public ForwardingWrapperTester includingEquals() { this.testsEquals = true; return this; } /**
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 08 17:31:55 UTC 2024 - 9.1K bytes - Viewed (0) -
pkg/url/url_test.go
"istio.io/istio/pkg/test/util/assert" ) func TestURL(t *testing.T) { assert.Equal(t, BaseURL, "https://istio.io/", "base url should be equal") assert.Equal(t, DocsURL, "https://istio.io/"+DocsVersion+"/docs/", "docs url should be equal") assert.Equal(t, OpsURL, "https://istio.io/"+DocsVersion+"/docs/ops/", "ops url should be equal") assert.Equal(t, DeploymentRequirements, "https://istio.io/"+DocsVersion+"/docs/ops/deployment/requirements/",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Mar 04 11:12:37 UTC 2024 - 1.7K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/values_test.go
// Compare types with schema against themselves if tc.lhs.Equal(tc.rhs) != types.Bool(tc.equal) { t.Errorf("expected Equals to return %v", tc.equal) } if tc.rhs.Equal(tc.lhs) != types.Bool(tc.equal) { t.Errorf("expected Equals to return %v", tc.equal) } // Compare types with schema against native types. This is slightly different than how
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 16 20:13:14 UTC 2024 - 17.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/FilteredEntryMultimap.java
public Collection<V> get(@CheckForNull Object key) { Collection<V> result = unfiltered.asMap().get(key); if (result == null) { return null; } @SuppressWarnings("unchecked") // key is equal to a K, if not a K itself K k = (K) key; result = filterCollection(result, new ValuePredicate(k)); return result.isEmpty() ? null : result; } @Override @CheckForNull
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Apr 24 19:38:27 UTC 2024 - 11.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/handlers/helpers_test.go
req.Header.Set("Accept", accept) acceptWithReq := &lazyAccept{req} assert.Equal(t, accept, fmt.Sprintf("%v", acceptWithReq)) acceptWithoutReq := &lazyAccept{} assert.Equal(t, "unknown", fmt.Sprintf("%v", acceptWithoutReq)) } func TestLazyVerb(t *testing.T) { assert.Equal(t, "unknown", fmt.Sprintf("%v", &lazyVerb{})) u, _ := url.Parse("?watch=true") req := &http.Request{Method: "GET", URL: u}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Sep 03 15:25:35 UTC 2023 - 5.4K bytes - Viewed (0)