Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 274 for Supplier (0.07 sec)

  1. android/guava/src/com/google/common/base/Present.java

      }
    
      @Override
      public Optional<T> or(Optional<? extends T> secondChoice) {
        checkNotNull(secondChoice);
        return this;
      }
    
      @Override
      public T or(Supplier<? extends T> supplier) {
        checkNotNull(supplier);
        return reference;
      }
    
      @Override
      public T orNull() {
        return reference;
      }
    
      @Override
      public Set<T> asSet() {
        return Collections.singleton(reference);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 01 17:18:04 UTC 2021
    - 2.4K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/RepositorySystemSupplier.java

     * memorized and kept as long as supplier instance is kept open.
     * <p>
     * This class is not thread safe and must be used from one thread only, while the constructed {@link RepositorySystem}
     * is thread safe.
     * <p>
     * Important: Given the instance of supplier memorizes the supplier {@link RepositorySystem} instance it supplies,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 45.6K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java

                Callable<T> supplier) {
            Supplier<T> s = asSupplier(supplier);
            if (cache == null) {
                return s.get();
            } else {
                return cache.computeIfAbsent(groupId, artifactId, version, tag.getName(), s);
            }
        }
    
        private static <T> T cache(ModelCache cache, Source source, ModelCacheTag<T> tag, Callable<T> supplier) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 83.6K bytes
    - Viewed (0)
  4. android/guava-tests/benchmark/com/google/common/util/concurrent/StripedBenchmark.java

    /** A benchmark comparing the various striped implementations. */
    @VmOptions({"-Xms12g", "-Xmx12g", "-d64"})
    public class StripedBenchmark {
      private static final Supplier<Lock> LOCK_SUPPLIER =
          new Supplier<Lock>() {
            @Override
            public Lock get() {
              return new ReentrantLock();
            }
          };
    
      @Param({"2", "8", "64", "1024", "65536"})
      int numStripes;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4K bytes
    - Viewed (0)
  5. guava-tests/benchmark/com/google/common/util/concurrent/StripedBenchmark.java

    /** A benchmark comparing the various striped implementations. */
    @VmOptions({"-Xms12g", "-Xmx12g", "-d64"})
    public class StripedBenchmark {
      private static final Supplier<Lock> LOCK_SUPPLIER =
          new Supplier<Lock>() {
            @Override
            public Lock get() {
              return new ReentrantLock();
            }
          };
    
      @Param({"2", "8", "64", "1024", "65536"})
      int numStripes;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/validation/FessActionValidator.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.validation;
    
    import org.lastaflute.core.message.UserMessages;
    import org.lastaflute.core.message.supplier.UserMessagesCreator;
    import org.lastaflute.web.servlet.request.RequestManager;
    import org.lastaflute.web.validation.ActionValidator;
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/StandardRowSortedTable.java

     */
    
    package com.google.common.collect;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.base.Supplier;
    import com.google.j2objc.annotations.WeakOuter;
    import java.util.Comparator;
    import java.util.Map;
    import java.util.Set;
    import java.util.SortedMap;
    import java.util.SortedSet;
    import javax.annotation.CheckForNull;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jul 15 15:41:16 UTC 2021
    - 4.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Tables.java

              java.util.function.Supplier<I> tableSupplier) {
        return TableCollectors.<T, R, C, V, I>toTable(
            rowFunction, columnFunction, valueFunction, tableSupplier);
      }
    
      /**
       * Returns a {@link Collector} that accumulates elements into a {@code Table} created using the
       * specified supplier, whose cells are generated by applying the provided mapping functions to the
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessApiFailureHook.java

     */
    package org.codelibs.fess.mylasta.direction.sponsor;
    
    import java.io.IOException;
    import java.io.PrintWriter;
    import java.io.StringWriter;
    import java.util.UUID;
    import java.util.function.Supplier;
    import java.util.stream.Collectors;
    
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.fess.Constants;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/config/exentity/WebConfig.java

    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Collections;
    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    import java.util.function.Supplier;
    import java.util.regex.Pattern;
    
    import org.apache.http.auth.UsernamePasswordCredentials;
    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.fess.Constants;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 9.8K bytes
    - Viewed (0)
Back to top