Search Options

Results per page
Sort
Preferred Languages
Advance

Results 861 - 870 of 1,770 for equal (0.02 sec)

  1. android/guava/src/com/google/common/graph/AbstractValueGraph.java

      }
    
      @Override
      public final boolean equals(@CheckForNull Object obj) {
        if (obj == this) {
          return true;
        }
        if (!(obj instanceof ValueGraph)) {
          return false;
        }
        ValueGraph<?, ?> other = (ValueGraph<?, ?>) obj;
    
        return isDirected() == other.isDirected()
            && nodes().equals(other.nodes())
            && edgeValueMap(this).equals(edgeValueMap(other));
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 17 13:59:28 UTC 2023
    - 4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/graph/TestUtil.java

        // Properties not covered by equals()
        assertThat(graphA.allowsSelfLoops()).isEqualTo(graphB.allowsSelfLoops());
        assertThat(graphA.nodeOrder()).isEqualTo(graphB.nodeOrder());
    
        assertThat(graphA).isEqualTo(graphB);
      }
    
      static void assertStronglyEquivalent(ValueGraph<?, ?> graphA, ValueGraph<?, ?> graphB) {
        // Properties not covered by equals()
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/query/QueryFieldConfig.java

                if (f.equals(field)) {
                    return true;
                }
            }
            return false;
        }
    
        public boolean isFacetField(final String field) {
            if (StringUtil.isBlank(field)) {
                return false;
            }
            boolean flag = false;
            for (final String f : facetFields) {
                if (field.equals(f)) {
                    flag = true;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jul 22 04:30:56 UTC 2024
    - 16K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableCollection.java

     * with {@link Collection} itself). Prefer subtypes such as {@link ImmutableSet} or {@link
     * ImmutableList}, which have well-defined {@link #equals} semantics, thus avoiding a common source
     * of bugs and confusion.
     *
     * <h3>About <i>all</i> {@code Immutable-} collections</h3>
     *
     * <p>The remainder of this documentation applies to every public {@code Immutable-} type in this
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Aug 12 16:59:15 UTC 2024
    - 18.8K bytes
    - Viewed (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t10/ProjectInheritanceTest.java

            System.out.println(a.getScope());
            assertTrue(a.getScope().equals("test"), "Incorrect scope for " + a.getDependencyConflictId());
    
            // transitive dep, overridden b depMgmt
            assertTrue(b.getScope().equals("runtime"), "Incorrect scope for " + b.getDependencyConflictId());
    
            // direct dep, overrides depMgmt
            assertTrue(c.getScope().equals("runtime"), "Incorrect scope for " + c.getDependencyConflictId());
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/reflect/ClassPath.java

              if (!resourceName.equals(JarFile.MANIFEST_NAME)) {
                builder.add(ResourceInfo.of(f, resourceName, classloader));
              }
            }
          }
        }
    
        @Override
        public boolean equals(@CheckForNull Object obj) {
          if (obj instanceof LocationInfo) {
            LocationInfo that = (LocationInfo) obj;
            return home.equals(that.home) && classloader.equals(that.classloader);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jan 05 17:43:40 UTC 2022
    - 24.9K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/mdo/profiles.mdo

          </fields>
          <!-- prevent modello generation of an incorrect equals method. Could be avoided by using <identity/> tags to mark ID as the only identity field -->
          <codeSegments>
            <codeSegment>
              <version>1.0.0</version>
              <code><![CDATA[
                public boolean equals( Object obj )
                {
                    return super.equals( obj );
                }
              ]]></code>
            </codeSegment>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/graph/DefaultGraphBuilder.java

            boolean makeBoth = MavenExecutionRequest.REACTOR_MAKE_BOTH.equals(makeBehavior);
    
            boolean makeUpstream = makeBoth || MavenExecutionRequest.REACTOR_MAKE_UPSTREAM.equals(makeBehavior);
            boolean makeDownstream = makeBoth || MavenExecutionRequest.REACTOR_MAKE_DOWNSTREAM.equals(makeBehavior);
    
            if ((makeBehavior != null && !makeBehavior.isEmpty()) && !makeUpstream && !makeDownstream) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/BuildTimestampValueSource.java

            super(false);
            this.startTime = startTime;
            this.format = format;
        }
    
        public Object getValue(String expression) {
            if ("build.timestamp".equals(expression) || "maven.build.timestamp".equals(expression)) {
                if (formattedDate == null && startTime != null) {
                    formattedDate = new SimpleDateFormat(format).format(startTime);
                }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/netbios/Name.java

        }
        public boolean equals( Object obj ) {
            Name n;
    
            if( !( obj instanceof Name )) {
                return false;
            }
            n = (Name)obj;
            if( scope == null && n.scope == null ) {
                return name.equals( n.name ) && hexCode == n.hexCode;
            }
            return name.equals( n.name ) && hexCode == n.hexCode && scope.equals( n.scope );
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 6.6K bytes
    - Viewed (0)
Back to top