Search Options

Results per page
Sort
Preferred Languages
Advance

Results 641 - 650 of 1,777 for Equals (0.32 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/project/EmptyLifecycleBindingsInjector.java

                    public Type type() {
                        return null;
                    }
    
                    @Override
                    public Map<String, PluginContainer> plugins() {
                        if ("JAR".equals(id)) {
                            return Map.of(
                                    DEFAULT,
                                    PluginContainer.newBuilder()
                                            .plugins(List.of(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/MultimapsTest.java

        multimap2.put("foo", 1);
        assertFalse(multimapView.equals(multimap2));
        multimap2.put("bar", 1);
        assertFalse(multimapView.equals(multimap2));
        ListMultimap<String, Integer> listMultimap =
            new ImmutableListMultimap.Builder<String, Integer>().put("foo", 1).put("bar", 2).build();
        assertFalse("SetMultimap equals ListMultimap", multimapView.equals(listMultimap));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 38.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/hash/Hashing.java

            bitSum += function.bits();
          }
          return bitSum;
        }
    
        @Override
        public boolean equals(@CheckForNull Object object) {
          if (object instanceof ConcatenatedHashFunction) {
            ConcatenatedHashFunction other = (ConcatenatedHashFunction) object;
            return Arrays.equals(functions, other.functions);
          }
          return false;
        }
    
        @Override
        public int hashCode() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jul 19 16:02:36 UTC 2024
    - 29.3K bytes
    - Viewed (0)
  4. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java

        }
    
        public boolean equals(Object obj) {
            if (this == obj) {
                return true;
            }
            if (!(obj instanceof VersionRange)) {
                return false;
            }
            VersionRange other = (VersionRange) obj;
    
            return Objects.equals(recommendedVersion, other.recommendedVersion)
                    && Objects.equals(restrictions, other.restrictions);
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 19K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/DependencyScope.java

        @Nonnull
        public String id() {
            return id;
        }
    
        public boolean isTransitive() {
            return transitive;
        }
    
        public boolean is(String id) {
            return id().equals(id);
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Aug 27 21:13:34 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/TransformedArtifact.java

                result = "";
            } else {
                String current = sha1(src);
                String existing = sourceState.get();
                if (!Files.exists(target) || !Objects.equals(current, existing)) {
                    defaultConsumerPomArtifactTransformer.transform(project, session, src, target);
                    Files.setLastModifiedTime(target, Files.getLastModifiedTime(src));
                }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  7. guava/src/com/google/common/hash/BloomFilterStrategies.java

        int dataLength() {
          return data.length();
        }
    
        @Override
        public boolean equals(@CheckForNull Object o) {
          if (o instanceof LockFreeBitArray) {
            LockFreeBitArray lockFreeBitArray = (LockFreeBitArray) o;
            // TODO(lowasser): avoid allocation here
            return Arrays.equals(toPlainArray(data), toPlainArray(lockFreeBitArray.data));
          }
          return false;
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 10.7K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/platform/android/AndroidCertificateChainCleaner.kt

        } catch (ce: CertificateException) {
          throw SSLPeerUnverifiedException(ce.message).apply { initCause(ce) }
        }
      }
    
      override fun equals(other: Any?): Boolean =
        other is AndroidCertificateChainCleaner &&
          other.trustManager === this.trustManager
    
      override fun hashCode(): Int = System.identityHashCode(trustManager)
    
      companion object {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/graph/EdgesConnecting.java

        return getConnectingEdge() == null ? 0 : 1;
      }
    
      @Override
      public boolean contains(@CheckForNull Object edge) {
        E connectingEdge = getConnectingEdge();
        return (connectingEdge != null && connectingEdge.equals(edge));
      }
    
      @CheckForNull
      private E getConnectingEdge() {
        return nodeToOutEdge.get(targetNode);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 2.2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/SynchronizedQueueTest.java

        create().remove();
        create().add("foo");
        create().addAll(ImmutableList.of("foo"));
        create().clear();
        create().contains("foo");
        create().containsAll(ImmutableList.of("foo"));
        create().equals(new ArrayDeque<>(ImmutableList.of("foo")));
        create().hashCode();
        create().isEmpty();
        create().iterator();
        create().remove("foo");
        create().removeAll(ImmutableList.of("foo"));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Aug 19 20:50:58 UTC 2024
    - 4.7K bytes
    - Viewed (0)
Back to top