Search Options

Results per page
Sort
Preferred Languages
Advance

Results 391 - 400 of 656 for apply (0.02 sec)

  1. android/guava-tests/test/com/google/common/net/HostAndPortTest.java

        } catch (IllegalArgumentException e) {
          // Make sure we expected this.
          assertThat(expectHost).isNull();
          return;
        }
        assertThat(expectHost).isNotNull();
    
        // Apply withDefaultPort(), yielding hp2.
        boolean badDefaultPort = defaultPort < 0 || defaultPort > 65535;
        HostAndPort hp2 = null;
        try {
          hp2 = hp.withDefaultPort(defaultPort);
          assertFalse(badDefaultPort);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/Suppliers.java

          this.function = checkNotNull(function);
          this.supplier = checkNotNull(supplier);
        }
    
        @Override
        @ParametricNullness
        public T get() {
          return function.apply(supplier.get());
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          if (obj instanceof SupplierComposition) {
            SupplierComposition<?, ?> that = (SupplierComposition<?, ?>) obj;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  3. LICENSE

          of your accepting any such warranty or additional liability.
    
       END OF TERMS AND CONDITIONS
    
       APPENDIX: How to apply the Apache License to your work.
    
          To apply the Apache License to your work, attach the following
          boilerplate notice, with the fields enclosed by brackets "[]"
          replaced with your own identifying information. (Don't include
    Registered: Tue Dec 30 12:39:10 UTC 2025
    - Last Modified: Mon Nov 29 17:31:56 UTC 2021
    - 13.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/OrderingTest.java

        AT2(2),
        AT3(3),
        AT4(4),
        AT5(5),
        ;
    
        final int index;
    
        CharAtFunction(int index) {
          this.index = index;
        }
    
        @Override
        public Character apply(String string) {
          return string.charAt(index);
        }
      }
    
      private static Ordering<String> byCharAt(int index) {
        return Ordering.<Character>natural().onResultOf(CharAtFunction.values()[index]);
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Oct 10 23:13:45 UTC 2025
    - 42.8K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/OrderingTest.java

        AT2(2),
        AT3(3),
        AT4(4),
        AT5(5),
        ;
    
        final int index;
    
        CharAtFunction(int index) {
          this.index = index;
        }
    
        @Override
        public Character apply(String string) {
          return string.charAt(index);
        }
      }
    
      private static Ordering<String> byCharAt(int index) {
        return Ordering.<Character>natural().onResultOf(CharAtFunction.values()[index]);
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Oct 10 23:13:45 UTC 2025
    - 42.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Iterables.java

        // implementation.
        int from = 0;
        int to = 0;
    
        for (; from < list.size(); from++) {
          T element = list.get(from);
          if (!predicate.apply(element)) {
            if (from > to) {
              try {
                list.set(to, element);
              } catch (UnsupportedOperationException e) {
                slowRemoveIfForRemainingElements(list, predicate, to, from);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 16 18:35:28 UTC 2025
    - 43.8K bytes
    - Viewed (0)
  7. maven-tests/mvnw.cmd

        $MVN_CMD = "mvnd.cmd"
        break
      }
      default {
        $USE_MVND = $false
        $MVN_CMD = $script -replace '^mvnw','mvn'
        break
      }
    }
    
    # apply MVNW_REPOURL and calculate MAVEN_HOME
    # maven home pattern: ~/.m2/wrapper/dists/{apache-maven-<version>,maven-mvnd-<version>-<platform>}/<hash>
    if ($env:MVNW_REPOURL) {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Sep 25 18:22:49 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Interners.java

        private final Interner<E> interner;
    
        InternerFunction(Interner<E> interner) {
          this.interner = interner;
        }
    
        @Override
        public E apply(E input) {
          return interner.intern(input);
        }
    
        @Override
        public int hashCode() {
          return interner.hashCode();
        }
    
        @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 6K bytes
    - Viewed (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeStrategy.java

        /**
         * Template method that handles common logging and error handling.
         * Subclasses implement the actual upgrade logic in doApply().
         */
        @Override
        public final UpgradeResult apply(UpgradeContext context, Map<Path, Document> pomMap) {
            context.info(getDescription());
            context.indent();
    
            try {
                UpgradeResult result = doApply(context, pomMap);
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/google/MultimapPutIterableTester.java

      public void testPutAllNullValueSingle_unsupported() {
        multimap().putAll(k1(), newArrayList((V) null));
        expectUnchanged();
      }
    
      // In principle, it would be nice to apply these two tests to keys with existing values, too.
    
      @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_VALUES)
      public void testPutAllNullValueNullLast_unsupported() {
        int size = getNumElements();
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 20:54:16 UTC 2025
    - 7.4K bytes
    - Viewed (0)
Back to top