Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 1,054 for e_vals (0.12 sec)

  1. android/guava-tests/test/com/google/common/hash/HashCodeTest.java

        HashCode hashCodeB = HashCode.fromBytes(bytesB);
    
        // They aren't equal...
        assertFalse(hashCodeA.equals(hashCodeB));
    
        // But they still have the same Object#hashCode() value.
        // Technically not a violation of the equals/hashCode contract, but...?
        assertEquals(hashCodeA.hashCode(), hashCodeB.hashCode());
      }
    
      public void testRoundTripHashCodeUsingFromString() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/ExclusionSetFilter.java

            return hash;
        }
    
        @Override
        public boolean equals(Object obj) {
            if (this == obj) {
                return true;
            }
    
            if (!(obj instanceof ExclusionSetFilter)) {
                return false;
            }
    
            ExclusionSetFilter other = (ExclusionSetFilter) obj;
    
            return excludes.equals(other.excludes);
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  3. samples/guide/src/main/java/okhttp3/recipes/CacheResponse.java

          System.out.println("Response 2 network response:  " + response2.networkResponse());
        }
    
        System.out.println("Response 2 equals Response 1? " + response1Body.equals(response2Body));
      }
    
      public static void main(String... args) throws Exception {
        new CacheResponse(new File("CacheResponse.tmp")).run();
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun May 22 01:29:42 UTC 2016
    - 2.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SecurityBlob.java

            return new SecurityBlob(this.b.clone());
        }
    
    
        /*
         * (non-Javadoc)
         * 
         * @see java.lang.Object#equals(java.lang.Object)
         */
        @Override
        public boolean equals ( Object arg0 ) {
            try {
                SecurityBlob t = (SecurityBlob) arg0;
                for ( int i = 0; i < this.b.length; i++ ) {
                    if ( this.b[ i ] != t.b[ i ] ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.5K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/PathSource.java

            if (relatedPom != null) {
                return new PathSource(relatedPom);
            }
            return null;
        }
    
        @Override
        public boolean equals(Object o) {
            return this == o || o.getClass() == getClass() && Objects.equals(path, ((PathSource) o).path);
        }
    
        @Override
        public int hashCode() {
            return Objects.hash(path);
        }
    
        @Override
        public String toString() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Sep 18 11:42:07 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/DefaultModelBuilderTest.java

            ModelBuildingResult result = builder.build(request);
            Dependency dep = result.getEffectiveModel().getDelegate().getDependencyManagement().getDependencies().stream()
                    .filter(d -> "test:mydep:jar".equals(d.getManagementKey()))
                    .findFirst()
                    .get();
            assertEquals("0.2", dep.getVersion());
            assertEquals(0, result.getProblems().size());
        }
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/UnsignedLong.java

        checkNotNull(o);
        return UnsignedLongs.compare(value, o.value);
      }
    
      @Override
      public int hashCode() {
        return Longs.hashCode(value);
      }
    
      @Override
      public boolean equals(@CheckForNull Object obj) {
        if (obj instanceof UnsignedLong) {
          UnsignedLong other = (UnsignedLong) obj;
          return value == other.value;
        }
        return false;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Apr 22 13:09:25 UTC 2021
    - 8.9K bytes
    - Viewed (0)
  8. guava/src/com/google/common/primitives/UnsignedLong.java

        checkNotNull(o);
        return UnsignedLongs.compare(value, o.value);
      }
    
      @Override
      public int hashCode() {
        return Longs.hashCode(value);
      }
    
      @Override
      public boolean equals(@CheckForNull Object obj) {
        if (obj instanceof UnsignedLong) {
          UnsignedLong other = (UnsignedLong) obj;
          return value == other.value;
        }
        return false;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Apr 22 13:09:25 UTC 2021
    - 8.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/AbstractMapEntry.java

    import com.google.common.base.Objects;
    import java.util.Map.Entry;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Implementation of the {@code equals}, {@code hashCode}, and {@code toString} methods of {@code
     * Entry}.
     *
     * @author Jared Levy
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Aug 05 00:40:25 UTC 2021
    - 2K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/AbstractMapEntry.java

    import com.google.common.base.Objects;
    import java.util.Map.Entry;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Implementation of the {@code equals}, {@code hashCode}, and {@code toString} methods of {@code
     * Entry}.
     *
     * @author Jared Levy
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Aug 05 00:40:25 UTC 2021
    - 2K bytes
    - Viewed (0)
Back to top