Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 281 for supplier (0.04 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/Log.java

         *
         * @param error the error that caused this log
         */
        void debug(Throwable error);
    
        void debug(Supplier<String> content);
    
        void debug(Supplier<String> content, Throwable error);
    
        /**
         * {@return true if the <b>info</b> error level is enabled}
         */
        boolean isInfoEnabled();
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Sep 28 09:03:24 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/cache/RequestCache.java

         * @param supplier The function to execute and cache the result
         * @return The result from the supplier (either fresh or cached)
         * @throws RuntimeException Any exception thrown by the supplier will be cached and re-thrown on subsequent calls
         */
        <REQ extends Request<?>, REP extends Result<REQ>> REP request(REQ req, Function<REQ, REP> supplier);
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/logic/AccessContextLogic.java

        /**
         * Create the access context.
         * @param resource The access context resource.
         * @param userTypeSupplier The supplier of user type.
         * @param userBeanSupplier The supplier of user bean.
         * @param appTypeSupplier The supplier of application type.
         * @return The access context.
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/misc/LocaleUtil.java

                return defaultLocaleSupplier.get();
            }
            return Locale.ENGLISH;
        }
    
        /**
         * Sets the default locale supplier.
         *
         * @param localeSupplier
         *            the supplier for the default locale
         */
        public static void setDefault(final Supplier<Locale> localeSupplier) {
            defaultLocaleSupplier = localeSupplier;
        }
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/Striped.java

       * obtained from the passed supplier.
       *
       * @param stripes the minimum number of stripes (locks) required
       * @param supplier a {@code Supplier<L>} object to obtain locks from
       * @return a new {@code Striped<L>}
       * @since 33.5.0
       */
      public static <L> Striped<L> custom(int stripes, Supplier<L> supplier) {
        return new CompactStriped<>(stripes, supplier);
      }
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 16 22:01:32 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/hash/ChecksumHashFunctionTest.java

      }
    
      private static void assertChecksum(ImmutableSupplier<Checksum> supplier, String input) {
        byte[] bytes = HashTestUtils.ascii(input);
    
        Checksum checksum = supplier.get();
        checksum.update(bytes, 0, bytes.length);
        long value = checksum.getValue();
    
        String toString = "name";
        HashFunction func = new ChecksumHashFunction(supplier, 32, toString);
        assertEquals(toString, func.toString());
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  7. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/metadata/HasKotlinFlagsMetadataQuery.kt

        }
    
    
    private
    fun hasConstructorAttribute(constructorsSupplier: Supplier<MutableList<KmConstructor>>, jvmSignature: String, predicate: AttributePredicate) =
        constructorsSupplier.get().firstOrNull { c -> jvmSignature == c.signature?.toString() }?.let { predicate.match(it) } ?: false
    
    
    private
    fun hasFunctionAttribute(functionsSupplier: Supplier<MutableList<KmFunction>>, jvmSignature: String, predicate: AttributePredicate) =
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Fri Jul 04 09:21:38 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/CallablesTest.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.base.Supplier;
    import com.google.common.base.Suppliers;
    import com.google.common.util.concurrent.TestExceptions.SomeCheckedException;
    import java.util.concurrent.Callable;
    import java.util.concurrent.ExecutionException;
    import junit.framework.TestCase;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/Functions.java

          Supplier<T> supplier) {
        return new SupplierFunction<>(supplier);
      }
    
      /**
       * @see Functions#forSupplier
       */
      private static final class SupplierFunction<
              F extends @Nullable Object, T extends @Nullable Object>
          implements Function<F, T>, Serializable {
    
        private final Supplier<T> supplier;
    
        private SupplierFunction(Supplier<T> supplier) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 17:32:30 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/cache/CacheLoader.java

      /**
       * Returns a cache loader based on an <i>existing</i> supplier instance. Note that there's no need
       * to create a <i>new</i> supplier just to pass it in here; just subclass {@code CacheLoader} and
       * implement {@link #load load} instead.
       *
       * <p>The returned object is serializable if {@code supplier} is serializable.
       *
       * @param supplier the supplier to be used for loading values; must never return {@code null}
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 9.5K bytes
    - Viewed (0)
Back to top