Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2421 - 2430 of 4,422 for Final (0.03 seconds)

  1. android/guava-tests/test/com/google/common/util/concurrent/ListenableFutureTaskTest.java

      private ExecutorService exec;
    
      private final CountDownLatch runLatch = new CountDownLatch(1);
      private final CountDownLatch taskLatch = new CountDownLatch(1);
      private final CountDownLatch listenerLatch = new CountDownLatch(1);
    
      private volatile boolean throwException = false;
    
      private final ListenableFutureTask<Integer> task =
          ListenableFutureTask.create(
              () -> {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 4.7K bytes
    - Click Count (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/repository/MetadataResolutionResult.java

        }
    
        public MetadataResolutionResult setRepositories(final List<ArtifactRepository> repositories) {
            this.repositories = repositories;
    
            return this;
        }
    
        //
        // Internal
        //
    
        private <T> List<T> initList(final List<T> l) {
            if (l == null) {
                return new ArrayList<>();
            }
            return l;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/core/misc/LocaleUtil.java

         * @return {@link Locale}
         */
        public static Locale getLocale(final String localeStr) {
            if (localeStr == null || localeStr.isEmpty()) {
                return LocaleUtil.getDefault();
            }
    
            // Use Java's built-in locale parsing which handles various formats
            // including language, language_country, and language_country_variant
            final String[] parts = localeStr.split("_", 3);
    
            switch (parts.length) {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Feb 12 12:10:45 GMT 2026
    - 2.3K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/eventbus/outside/BaseSubscriberFinderTest.java

    import java.util.ArrayList;
    import java.util.List;
    
    public class BaseSubscriberFinderTest extends AbstractEventBusTest<Subscriber> {
      static class Subscriber {
        final List<Object> nonSubscriberEvents = new ArrayList<>();
        final List<Object> subscriberEvents = new ArrayList<>();
    
        public void notASubscriber(Object o) {
          nonSubscriberEvents.add(o);
        }
    
        @Subscribe
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/GoalSupport.java

    import org.codehaus.plexus.components.secdispatcher.SecDispatcher;
    
    /**
     * The support class for goal implementations.
     */
    public abstract class GoalSupport implements Goal {
        protected final MessageBuilderFactory messageBuilderFactory;
        protected final SecDispatcher secDispatcher;
    
        protected GoalSupport(MessageBuilderFactory messageBuilderFactory, SecDispatcher secDispatcher) {
            this.messageBuilderFactory = messageBuilderFactory;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.6K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/core/exception/InvalidKeyRuntimeException.java

     */
    public class InvalidKeyRuntimeException extends ClRuntimeException {
    
        private static final long serialVersionUID = -3176447530746274091L;
    
        /**
         * Creates a {@link InvalidKeyRuntimeException}.
         *
         * @param cause
         *            The cause of the exception
         */
        public InvalidKeyRuntimeException(final InvalidKeyException cause) {
            super("ECL0068", asArray(cause), cause);
        }
    
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jun 19 09:12:22 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/web/base/login/LocalUserCredential.java

        /**
         * Creates a new LocalUserCredential with the specified user and password.
         *
         * @param user the username
         * @param password the password
         */
        public LocalUserCredential(final String user, final String password) {
            super(user, password);
        }
    
        @Override
        public String getUserId() {
            return getUser();
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/DefaultGenerationListener.java

    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import java.util.LinkedList;
    
    public class DefaultGenerationListener implements GenerationListener {
        private static final Logger LOGGER = LoggerFactory.getLogger(DefaultGenerationListener.class);
        private final LinkedList<String> contextStack = new LinkedList<String>();
    
        @Override
        public void warning(String message) {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 1.3K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/ImmutableListMultimap.java

       *
       * <p>Example:
       *
       * {@snippet :
       * static final Multimap<Character, String> FIRST_LETTER_MULTIMAP =
       *     Stream.of("banana", "apple", "carrot", "asparagus", "cherry")
       *         .collect(toImmutableListMultimap(str -> str.charAt(0), str -> str.substring(1)));
       *
       * // is equivalent to
       *
       * static final Multimap<Character, String> FIRST_LETTER_MULTIMAP =
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Dec 09 15:58:48 GMT 2025
    - 19.5K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/collect/SynchronizedDequeTest.java

        outer.add("foo"); // necessary because we try to remove elements later on
        return outer;
      }
    
      private static final class TestDeque<E> implements Deque<E> {
        private final Deque<E> delegate = new LinkedList<>();
        private final Object mutex = new Object[0]; // something Serializable
    
        @Override
        public boolean offer(E o) {
          assertTrue(Thread.holdsLock(mutex));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jul 16 17:42:14 GMT 2025
    - 7.4K bytes
    - Click Count (0)
Back to Top