Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for Deque (0.07 sec)

  1. guava/src/com/google/common/collect/Queues.java

       *
       * @param deque the deque to be wrapped in a synchronized view
       * @return a synchronized view of the specified deque
       * @since 15.0
       */
      @J2ktIncompatible // Synchronized
      public static <E extends @Nullable Object> Deque<E> synchronizedDeque(Deque<E> deque) {
        return Synchronized.deque(deque, null);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 26 14:11:14 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Queues.java

       *
       * @param deque the deque to be wrapped in a synchronized view
       * @return a synchronized view of the specified deque
       * @since 15.0
       */
      @J2ktIncompatible // Synchronized
      public static <E extends @Nullable Object> Deque<E> synchronizedDeque(Deque<E> deque) {
        return Synchronized.deque(deque, null);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 26 14:11:14 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/SynchronizedDequeTest.java

        Deque<String> outer = Synchronized.deque(inner, inner.mutex);
        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 = Lists.newLinkedList();
        public final Object mutex = new Object[0]; // something Serializable
    
        @Override
        public boolean offer(E o) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 06 17:23:04 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/cache/CacheLoaderTest.java

    import com.google.common.collect.ImmutableList;
    import com.google.common.collect.ImmutableMap;
    import com.google.common.collect.Queues;
    import com.google.common.util.concurrent.ListenableFuture;
    import java.util.Deque;
    import java.util.Map;
    import java.util.concurrent.Executor;
    import java.util.concurrent.Future;
    import java.util.concurrent.atomic.AtomicInteger;
    import junit.framework.TestCase;
    
    /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/ReactorReader.java

        private Map<String, Map<String, Map<String, MavenProject>>> allProjects;
        private Path projectLocalRepository;
        // projectId -> Deque<lifecycle>
        private final Map<String, Deque<String>> lifecycles = new ConcurrentHashMap<>();
    
        @Inject
        ReactorReader(MavenSession session) {
            this.session = session;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  6. fastapi/_compat.py

    sequence_annotation_to_type = {
        Sequence: list,
        List: list,
        list: list,
        Tuple: tuple,
        tuple: tuple,
        Set: set,
        set: set,
        FrozenSet: frozenset,
        frozenset: frozenset,
        Deque: deque,
        deque: deque,
    }
    
    sequence_types = tuple(sequence_annotation_to_type.keys())
    
    if PYDANTIC_V2:
        from pydantic import PydanticSchemaGenerationError as PydanticSchemaGenerationError
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 12 09:36:32 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/SourceMetaDataVisitor.java

    import gradlebuild.docs.dsl.source.model.PropertyMetaData;
    import gradlebuild.docs.dsl.source.model.TypeMetaData;
    import gradlebuild.docs.model.ClassMetaDataRepository;
    
    import java.util.ArrayList;
    import java.util.Deque;
    import java.util.LinkedList;
    import java.util.List;
    import java.util.Locale;
    import java.util.regex.Matcher;
    import java.util.regex.Pattern;
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Aug 19 15:07:24 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/Dispatcher.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3
    
    import java.util.ArrayDeque
    import java.util.Collections
    import java.util.Deque
    import java.util.concurrent.ExecutorService
    import java.util.concurrent.SynchronousQueue
    import java.util.concurrent.ThreadPoolExecutor
    import java.util.concurrent.TimeUnit
    import java.util.concurrent.locks.ReentrantLock
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Jun 20 14:10:53 UTC 2024
    - 9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/TreeTraverser.java

    import com.google.common.annotations.Beta;
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.base.Function;
    import java.util.ArrayDeque;
    import java.util.Deque;
    import java.util.Iterator;
    import java.util.Queue;
    import java.util.function.Consumer;
    import javax.annotation.CheckForNull;
    
    /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Synchronized.java

      }
    
      static <E extends @Nullable Object> Deque<E> deque(Deque<E> deque, @CheckForNull Object mutex) {
        return new SynchronizedDeque<>(deque, mutex);
      }
    
      static final class SynchronizedDeque<E extends @Nullable Object> extends SynchronizedQueue<E>
          implements Deque<E> {
    
        SynchronizedDeque(Deque<E> delegate, @CheckForNull Object mutex) {
          super(delegate, mutex);
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 53.4K bytes
    - Viewed (0)
Back to top