Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 281 - 290 of 1,801 for equals (0.05 seconds)

  1. guava/src/com/google/common/collect/ForwardingTable.java

        return delegate().size();
      }
    
      @Override
      public Collection<V> values() {
        return delegate().values();
      }
    
      @Override
      public boolean equals(@Nullable Object obj) {
        return (obj == this) || delegate().equals(obj);
      }
    
      @Override
      public int hashCode() {
        return delegate().hashCode();
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 3.8K bytes
    - Click Count (0)
  2. android/guava-testlib/src/com/google/common/testing/RelationshipTester.java

       * identical inputs: This sounds like it ought to be a problem here, since the goals of this class
       * include testing that {@code equals()} is reflexive and is tolerant of {@code null}. However,
       * there's no problem. The reason: {@link EqualsTester} tests {@code null} and identical inputs
       * directly against {@code equals()} rather than through the {@code Equivalence}.
       */
      private final Equivalence<? super T> equivalence;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/collect/SynchronizedMapTest.java

        public Set<Entry<K, V>> entrySet() {
          assertTrue(Thread.holdsLock(mutex));
          return super.entrySet();
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          assertTrue(Thread.holdsLock(mutex));
          return super.equals(obj);
        }
    
        @Override
        public int hashCode() {
          assertTrue(Thread.holdsLock(mutex));
          return super.hashCode();
        }
    
        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 6K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/hash/Funnels.java

        public String toString() {
          return "Funnels.stringFunnel(" + charset.name() + ")";
        }
    
        @Override
        public boolean equals(@Nullable Object o) {
          if (o instanceof StringCharsetFunnel) {
            StringCharsetFunnel funnel = (StringCharsetFunnel) o;
            return this.charset.equals(funnel.charset);
          }
          return false;
        }
    
        @Override
        public int hashCode() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jul 17 15:26:41 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  5. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/PluginsMetadataGenerator.java

        }
    
        private PluginInfo extractPluginInfo(Artifact artifact) {
            // sanity: jar, no classifier and file exists
            if (artifact != null
                    && "jar".equals(artifact.getExtension())
                    && "".equals(artifact.getClassifier())
                    && artifact.getPath() != null) {
                Path artifactPath = artifact.getPath();
                if (Files.isRegularFile(artifactPath)) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Mar 25 09:45:07 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/ForwardingTable.java

        return delegate().size();
      }
    
      @Override
      public Collection<V> values() {
        return delegate().values();
      }
    
      @Override
      public boolean equals(@Nullable Object obj) {
        return (obj == this) || delegate().equals(obj);
      }
    
      @Override
      public int hashCode() {
        return delegate().hashCode();
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 3.8K bytes
    - Click Count (0)
  7. compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/extension/model/io/xpp3/CoreExtensionsXpp3Reader.java

        private boolean checkFieldWithDuplicate(
                XmlPullParser parser, String tagName, String alias, java.util.Set<String> parsed)
                throws XmlPullParserException {
            if (!(parser.getName().equals(tagName) || parser.getName().equals(alias))) {
                return false;
            }
            if (!parsed.add(tagName)) {
                throw new XmlPullParserException("Duplicated tag: '" + tagName + "'", parser, null);
            }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Oct 27 13:24:03 GMT 2025
    - 25.3K bytes
    - Click Count (0)
  8. build-conventions/src/main/java/org/elasticsearch/gradle/internal/conventions/EclipseConventionPlugin.java

            EclipseProject eclipseProject = eclipseModel.getProject();
    
            // Name all the non-root projects after their path so that paths get grouped together when imported into eclipse.
            if (project.getPath().equals(":") == false) {
                eclipseProject.setName(project.getPath());
                if (Os.isFamily(Os.FAMILY_WINDOWS)) {
                    eclipseProject.setName(eclipseProject.getName().replace(':', '_'));
                }
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Jul 01 09:43:51 GMT 2021
    - 6.4K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/TreeMultimap.java

     * {@link Comparator#compare} instead of {@link Object#equals} to determine equivalence of
     * instances.
     *
     * <p><b>Warning:</b> The comparators or comparables used must be <i>consistent with equals</i> as
     * explained by the {@link Comparable} class specification. Otherwise, the resulting multiset will
     * violate the general contract of {@link SetMultimap}, which is specified in terms of {@link
     * Object#equals}.
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  10. guava-testlib/src/com/google/common/testing/RelationshipTester.java

       * identical inputs: This sounds like it ought to be a problem here, since the goals of this class
       * include testing that {@code equals()} is reflexive and is tolerant of {@code null}. However,
       * there's no problem. The reason: {@link EqualsTester} tests {@code null} and identical inputs
       * directly against {@code equals()} rather than through the {@code Equivalence}.
       */
      private final Equivalence<? super T> equivalence;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 5.9K bytes
    - Click Count (0)
Back to Top