Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 91 - 100 of 445 for PRE (0.04 seconds)

  1. android/guava/src/com/google/common/util/concurrent/UncaughtExceptionHandlers.java

       * application successfully.
       *
       * <p>Example usage:
       *
       * <pre>
       * public static void main(String[] args) {
       *   Thread.currentThread().setUncaughtExceptionHandler(UncaughtExceptionHandlers.systemExit());
       *   ...
       * </pre>
       *
       * <p>The returned handler logs any exception at severity {@code SEVERE} and then shuts down the
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 10 21:03:40 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  2. guava-testlib/src/com/google/common/testing/TestLogHandler.java

    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Tests may use this to intercept messages that are logged by the code under test. Example:
     *
     * <pre>
     *   TestLogHandler handler;
     *
     *   protected void setUp() throws Exception {
     *     super.setUp();
     *     handler = new TestLogHandler();
     *     SomeClass.logger.addHandler(handler);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2.8K bytes
    - Click Count (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/config/CredentialsConfig.java

     * and 5.x clients.</p>
     *
     * <p>Example usage:</p>
     * <pre>{@code
     * CredentialsConfig config = new CredentialsConfig();
     * config.setUsername("user");
     * config.setPassword("secret");
     *
     * // For NTLM authentication
     * config.setType(CredentialsType.NTLM);
     * config.setDomain("MYDOMAIN");
     * config.setWorkstation("MYWORKSTATION");
     * }</pre>
     */
    public class CredentialsConfig {
    
        /**
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Thu Jan 08 14:22:26 GMT 2026
    - 3.6K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

            if (StringUtil.isBlank(content)) {
                return "<pre class=\"" + style + "\">" + input.replaceAll("L[0-9]+:", StringUtil.EMPTY).trim() + "</pre>";
            }
            return "<pre class=\"" + style + " linenums:" + lineNum + "\">" + content + "</pre>";
        }
    
        /**
         * Retrieves a localized message for the given key.
         *
         * @param key the message key
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 25.4K bytes
    - Click Count (1)
  5. guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

     *
     * <pre>
     * public class PackageSanityTests extends AbstractPackageSanityTests {}
     * </pre>
     *
     * <p>Note that only top-level classes with either a non-private constructor or a non-private static
     * factory method to construct instances can have their instance methods checked. For example:
     *
     * <pre>
     * public class Address {
     *   private final String city;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 17.9K bytes
    - Click Count (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/Toolchain.java

     * </ul>
     *
     * <p>Example usage:</p>
     * <pre>
     * Toolchain toolchain = ...; // Obtain a Toolchain instance
     * String type = toolchain.getType(); // Get the type of the toolchain
     * String version = toolchain.getVersion(); // Get the version of the toolchain
     * </pre>
     *
     *
     * @since 4.0.0
     * @see JavaToolchain
     * @see org.apache.maven.api.services.ToolchainManager
     */
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 11 12:33:57 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/core/collection/ArrayIterator.java

    /**
     * Adaptor that makes an array into an {@link Iterator}.
     * <p>
     * Usage example:
     * </p>
     *
     * <pre>
     * import static org.codelibs.core.collection.ArrayIterator.*;
     *
     * String[] array = ...;
     * for (String element : iterable(array)) {
     *     ...
     * }
     * </pre>
     *
     * @author shot
     * @param <T> the type of array elements
     */
    public class ArrayIterator<T> implements Iterator<T> {
    
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jun 19 09:12:22 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/core/log/Logger.java

         * It is convenient to use a static import for {@link #format(String, Object...)}.
         * </p>
         *
         * <pre>
         * import static org.codelibs.core.log.Logger.format;
         *
         * Logger logger = Logger.getLogger(Xxx.class);
         * logger.log(format("DXXX0000", arg1, arg2, arg3));
         * </pre>
         *
         * @param logMessage
         *            Log message. Must not be {@literal null}.
         */
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Feb 12 12:10:45 GMT 2026
    - 13.5K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/core/beans/util/CopyOptionsUtil.java

     *
     * <pre>
     * import static org.codelibs.core.beans.util.CopyOptionsUtil.*;
     *
     * copyBeanToBean(srcBean, destBean, excludeNull());
     * </pre>
     * <p>
     * The return value of {@literal CopyOptionsUtil} is {@link CopyOptions},
     * so you can specify multiple options using method chaining.
     * </p>
     *
     * <pre>
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 10.6K bytes
    - Click Count (0)
  10. android/guava-testlib/src/com/google/common/testing/TestLogHandler.java

    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Tests may use this to intercept messages that are logged by the code under test. Example:
     *
     * <pre>
     *   TestLogHandler handler;
     *
     *   protected void setUp() throws Exception {
     *     super.setUp();
     *     handler = new TestLogHandler();
     *     SomeClass.logger.addHandler(handler);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2.8K bytes
    - Click Count (0)
Back to Top