Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 551 - 560 of 1,482 for e_vals (0.24 seconds)

  1. android/guava-tests/test/com/google/common/collect/ImmutableListTest.java

      }
    
      public void testEquals_immutableList() {
        Collection<String> c = ImmutableList.of("a", "b", "c");
        assertTrue(c.equals(ImmutableList.of("a", "b", "c")));
        assertFalse(c.equals(ImmutableList.of("a", "c", "b")));
        assertFalse(c.equals(ImmutableList.of("a", "b")));
        assertFalse(c.equals(ImmutableList.of("a", "b", "c", "d")));
      }
    
      public void testBuilderAdd() {
        ImmutableList<String> list =
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 24.4K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultArtifactManager.java

            if (session.getMavenSession().getAllProjects() != null) {
                for (MavenProject project : session.getMavenSession().getAllProjects()) {
                    if (id.equals(id(project.getArtifact()))
                            && project.getArtifact().getFile() != null) {
                        return Optional.of(project.getArtifact().getFile().toPath());
                    }
                }
            }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 16:01:38 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/AbstractListMultimap.java

       * in the same order. If the value orderings disagree, the multimaps will not be considered equal.
       */
      @Override
      public boolean equals(@Nullable Object object) {
        return super.equals(object);
      }
    
      @GwtIncompatible @J2ktIncompatible   private static final long serialVersionUID = 6588350623831699109L;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Apr 12 15:07:59 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  4. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/CheckstylePrecommitPlugin.java

            // configure inputs and outputs so up to date works properly
            copyCheckstyleConf.configure(t -> t.getOutputs().files(checkstyleSuppressions, checkstyleConf));
            if ("jar".equals(checkstyleConfUrl.getProtocol())) {
                try {
                    JarURLConnection jarURLConnection = (JarURLConnection) checkstyleConfUrl.openConnection();
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Jun 17 08:59:22 GMT 2021
    - 5.5K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/Sets.java

          }
          return false;
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          if (obj instanceof PowerSet) {
            PowerSet<?> that = (PowerSet<?>) obj;
            return inputSet.keySet().equals(that.inputSet.keySet());
          }
          return super.equals(obj);
        }
    
        @Override
        public int hashCode() {
          /*
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 83K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/primitives/SignedBytes.java

       * signed.
       *
       * <p>The returned comparator is inconsistent with {@link Object#equals(Object)} (since arrays
       * support only identity equality), but it is consistent with {@link
       * java.util.Arrays#equals(byte[], byte[])}.
       *
       * @since 2.0
       */
      public static Comparator<byte[]> lexicographicalComparator() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 7.2K bytes
    - Click Count (0)
  7. 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)
  8. guava-tests/test/com/google/common/collect/ImmutableEnumMapTest.java

        Collector<Entry<AnEnum, Integer>, ?, ImmutableMap<AnEnum, Integer>> collector =
            toImmutableEnumMap(Entry::getKey, Entry::getValue);
        Equivalence<ImmutableMap<AnEnum, Integer>> equivalence =
            Equivalence.equals().<Entry<AnEnum, Integer>>pairwise().onResultOf(ImmutableMap::entrySet);
        CollectorTester.of(collector, equivalence)
            .expectCollects(
                ImmutableMap.of(AnEnum.A, 1, AnEnum.C, 2, AnEnum.E, 3),
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  9. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/NoticeTask.java

                    if (seen.containsKey(name)) {
                        File prevFile = seen.get(name);
                        String previousFileText = readFileToString(prevFile, "UTF-8");
                        if (previousFileText.equals(readFileToString(file, "UTF-8")) == false) {
                            throw new RuntimeException(
                                "Two different notices exist for dependency '" + name + "': " + prevFile + " and " + file
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 6.9K bytes
    - Click Count (0)
  10. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/transform/RestTestTransformer.java

                    Map.Entry<String, JsonNode> testObject = testsIterator.next();
                    String testName = testObject.getKey();
                    if ("setup".equals(testName)) {
                        setupSection = test;
                    }
                    if ("teardown".equals(testName)) {
                        teardownSection = test;
                    }
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Jul 12 17:42:01 GMT 2021
    - 8.1K bytes
    - Click Count (0)
Back to Top