Search Options

Results per page
Sort
Preferred Languages
Advance

Results 621 - 630 of 1,314 for Collections (0.07 sec)

  1. android/guava/src/com/google/common/collect/Synchronized.java

      }
    
      private static <E extends @Nullable Object> Collection<E> typePreservingCollection(
          Collection<E> collection, @CheckForNull Object mutex) {
        if (collection instanceof SortedSet) {
          return sortedSet((SortedSet<E>) collection, mutex);
        }
        if (collection instanceof Set) {
          return set((Set<E>) collection, mutex);
        }
        if (collection instanceof List) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 53.4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/Synchronized.java

      }
    
      private static <E extends @Nullable Object> Collection<E> typePreservingCollection(
          Collection<E> collection, @CheckForNull Object mutex) {
        if (collection instanceof SortedSet) {
          return sortedSet((SortedSet<E>) collection, mutex);
        }
        if (collection instanceof Set) {
          return set((Set<E>) collection, mutex);
        }
        if (collection instanceof List) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 57.2K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/TreeRangeMap.java

            };
          }
    
          @Override
          public Collection<V> values() {
            return new Maps.Values<Range<K>, V>(this) {
              @Override
              public boolean removeAll(Collection<?> c) {
                return removeEntryIf(compose(in(c), Maps.<V>valueFunction()));
              }
    
              @Override
              public boolean retainAll(Collection<?> c) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableSetMultimap.java

          // Only trust the size of `values` if it is a Set and therefore probably already deduplicated.
          if (values instanceof Set<?>) {
            Set<?> collection = (Set<?>) values;
            return max(defaultExpectedValues, collection.size());
          } else {
            return defaultExpectedValues;
          }
        }
    
        /**
         * {@inheritDoc}
         *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

            Object argValue = generate(paramType);
            if (argValue == null) {
              // When a parameter of a @Generates method cannot be created,
              // The type most likely is a collection.
              // Our distinct proxy doesn't work for collections.
              // So just refuse to generate.
              return null;
            }
            args.add(argValue);
          }
          return invokeGeneratorMethod(generate, args.toArray());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  6. fastapi/_compat.py

    from collections import deque
    from copy import copy
    from dataclasses import dataclass, is_dataclass
    from enum import Enum
    from functools import lru_cache
    from typing import (
        Any,
        Callable,
        Deque,
        Dict,
        FrozenSet,
        List,
        Mapping,
        Sequence,
        Set,
        Tuple,
        Type,
        Union,
    )
    
    from fastapi.exceptions import RequestErrorModel
    from fastapi.types import IncEx, ModelNameMap, UnionType
    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. android/guava/src/com/google/common/collect/ImmutableSetMultimap.java

          // Only trust the size of `values` if it is a Set and therefore probably already deduplicated.
          if (values instanceof Set<?>) {
            Set<?> collection = (Set<?>) values;
            return max(defaultExpectedValues, collection.size());
          } else {
            return defaultExpectedValues;
          }
        }
    
        /**
         * {@inheritDoc}
         *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java

    import java.net.InetAddress;
    import java.net.UnknownHostException;
    import java.nio.charset.StandardCharsets;
    import java.text.SimpleDateFormat;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Collections;
    import java.util.Date;
    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.function.BiConsumer;
    import java.util.function.BiFunction;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Oct 20 02:08:03 UTC 2024
    - 86.1K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

            Object argValue = generate(paramType);
            if (argValue == null) {
              // When a parameter of a @Generates method cannot be created,
              // The type most likely is a collection.
              // Our distinct proxy doesn't work for collections.
              // So just refuse to generate.
              return null;
            }
            args.add(argValue);
          }
          return invokeGeneratorMethod(generate, args.toArray());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Range.java

      }
    
      @SuppressWarnings("unchecked") // this method may throw CCE
      static int compareOrThrow(Comparable left, Comparable right) {
        return left.compareTo(right);
      }
    
      /** Needed to serialize sorted collections of Ranges. */
      private static class RangeLexOrdering extends Ordering<Range<?>> implements Serializable {
        static final Ordering<?> INSTANCE = new RangeLexOrdering();
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 27.8K bytes
    - Viewed (0)
Back to top