Search Options

Results per page
Sort
Preferred Languages
Advance

Results 881 - 890 of 1,770 for equal (0.05 sec)

  1. okhttp-brotli/src/main/kotlin/okhttp3/brotli/internal/Uncompress.kt

      }
      val body = response.body
      val encoding = response.header("Content-Encoding") ?: return response
    
      val decompressedSource =
        when {
          encoding.equals("br", ignoreCase = true) ->
            BrotliInputStream(body.source().inputStream()).source().buffer()
          encoding.equals("gzip", ignoreCase = true) ->
            GzipSource(body.source()).buffer()
          else -> return response
        }
    
      return response.newBuilder()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 01 13:19:01 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultLifecycleRegistry.java

                    return all.keySet().stream()
                            .filter(id -> !Lifecycle.CLEAN.equals(id)
                                    && !Lifecycle.DEFAULT.equals(id)
                                    && !Lifecycle.SITE.equals(id))
                            .map(id -> wrap(all.get(id)))
                            .collect(Collectors.toList());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java

          if (m.getName().equals("keySet") && m.getReturnType().equals(SortedSet.class)) {
            return;
          }
        }
        fail("No bridge method found");
      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public void testAsMapBridgeMethods() {
        for (Method m : TreeMultimap.class.getMethods()) {
          if (m.getName().equals("asMap") && m.getReturnType().equals(SortedMap.class)) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/Enums.java

        protected String doBackward(T enumValue) {
          return enumValue.name();
        }
    
        @Override
        public boolean equals(@CheckForNull Object object) {
          if (object instanceof StringConverter) {
            StringConverter<?> that = (StringConverter<?>) object;
            return this.enumClass.equals(that.enumClass);
          }
          return false;
        }
    
        @Override
        public int hashCode() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 26 11:56:44 UTC 2023
    - 5K bytes
    - Viewed (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ModelBuilderSupport.java

                Node node = childNodes.item(i);
                if (node instanceof Element) {
                    Element childElement = (Element) node;
                    if (childElement.getTagName().equals(childName)) {
                        matches.add(childElement);
                    }
                }
            }
            return matches;
        }
    
        protected Element getChild(Element element, String childName) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.2K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java

        assertTrue(c.containsAll(of("a", "b", "c")));
      }
    
      public void testEquals_sameType() {
        Collection<String> c = of("a", "b", "c");
        assertTrue(c.equals(of("a", "b", "c")));
        assertFalse(c.equals(of("a", "b", "d")));
      }
    
      abstract <E extends Comparable<E>> ImmutableSet.Builder<E> builder();
    
      public void testBuilderWithNonDuplicateElements() {
        ImmutableSet<String> set =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/base/CaseFormat.java

          return targetFormat.to(sourceFormat, s);
        }
    
        @Override
        public boolean equals(@CheckForNull Object object) {
          if (object instanceof StringConverter) {
            StringConverter that = (StringConverter) object;
            return sourceFormat.equals(that.sourceFormat) && targetFormat.equals(that.targetFormat);
          }
          return false;
        }
    
        @Override
        public int hashCode() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 19 20:20:14 UTC 2022
    - 6.3K bytes
    - Viewed (0)
  8. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilder.java

                                        return properties;
                                    } else if ("getUserProperties".equals(method.getName())) {
                                        return Map.of();
                                    } else if ("getService".equals(method.getName())) {
                                        if (args[0] == ToolchainsXmlFactory.class) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  9. compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/BootstrapCoreExtensionManager.java

            if (STRATEGY_PARENT_FIRST.equals(classLoadingStrategy)) {
                realm.importFrom(parentRealm, "");
            } else if (STRATEGY_PLUGIN.equals(classLoadingStrategy)) {
                coreExports.getExportedPackages().forEach((p, cl) -> realm.importFrom(cl, p));
                providedArtifacts = coreExports.getExportedArtifacts();
            } else if (STRATEGY_SELF_FIRST.equals(classLoadingStrategy)) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  10. guava/module.json

              "module": "jsr305",
              "version": {
                "requires": "${jsr305.version}"
              }
            },
            {
              "group": "org.checkerframework",
              "module": "checker-qual",
              "version": {
                "requires": "${checker.version}"
              }
            },
            {
              "group": "com.google.errorprone",
              "module": "error_prone_annotations",
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Sep 23 17:17:08 UTC 2024
    - 8.2K bytes
    - Viewed (0)
Back to top