Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 526 for Collections2 (0.04 sec)

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

            return Collections.unmodifiableSortedSet((SortedSet<E>) collection);
          } else if (collection instanceof Set) {
            return Collections.unmodifiableSet((Set<E>) collection);
          } else if (collection instanceof List) {
            return Collections.unmodifiableList((List<E>) collection);
          } else {
            return Collections.unmodifiableCollection(collection);
          }
        }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 86.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Sets.java

       * @throws IllegalArgumentException if {@code map} is not empty
       * @deprecated Use {@link Collections#newSetFromMap} instead.
       */
      @InlineMe(replacement = "Collections.newSetFromMap(map)", imports = "java.util.Collections")
      @Deprecated
      public static <E extends @Nullable Object> Set<E> newSetFromMap(
          Map<E, Boolean> map) {
        return Collections.newSetFromMap(map);
      }
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 81.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Synchronized.java

              };
            }
          };
        }
    
        // See Collections.CheckedMap.CheckedEntrySet for details on attacks.
    
        @Override
        public @Nullable Object[] toArray() {
          synchronized (mutex) {
            /*
             * toArrayImpl returns `@Nullable Object[]` rather than `Object[]` but only because it can
             * be used with collections that may contain null. This collection never contains nulls, so
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Aug 08 15:11:10 UTC 2025
    - 53K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Synchronized.java

              };
            }
          };
        }
    
        // See Collections.CheckedMap.CheckedEntrySet for details on attacks.
    
        @Override
        public @Nullable Object[] toArray() {
          synchronized (mutex) {
            /*
             * toArrayImpl returns `@Nullable Object[]` rather than `Object[]` but only because it can
             * be used with collections that may contain null. This collection never contains nulls, so
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Aug 08 15:11:10 UTC 2025
    - 56.9K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/suggest/settings/ElevateWordSettingsTest.java

                    new ElevateWord("a", 1.0f, Collections.singletonList("a"), Collections.singletonList("content"), null, null);
            ElevateWord elevateWord2 =
                    new ElevateWord("b", 0.0f, Collections.singletonList("b"), Collections.singletonList("content"), null, null);
            ElevateWord elevateWord3 = new ElevateWord("c", 100.0f, Collections.singletonList("c"), Collections.singletonList("content"),
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Sun Nov 23 13:04:17 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  6. README.md

    - **Collections** (`org.codelibs.core.collection`) - Enhanced collection utilities, array operations, and specialized map/set implementations including LRU caches and case-insensitive collections
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sun Aug 31 02:56:02 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  7. okhttp/src/androidMain/baseline-prof.txt

    Lkotlin/collections/CollectionsKt___CollectionsKt;
    Lkotlin/collections/EmptyIterator;
    Lkotlin/collections/EmptyList;
    Lkotlin/collections/EmptyMap;
    Lkotlin/collections/EmptySet;
    Lkotlin/collections/IntIterator;
    Lkotlin/collections/MapsKt__MapsJVMKt;
    Lkotlin/collections/MapsKt___MapsKt;
    Lkotlin/collections/SetsKt__SetsKt;
    Lkotlin/collections/builders/ListBuilder$Itr;
    Lkotlin/collections/builders/ListBuilder;
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Dec 30 23:28:56 UTC 2024
    - 127.9K bytes
    - Viewed (1)
  8. android/guava-testlib/src/com/google/common/collect/testing/IteratorTester.java

     *
     * <p>For example, to test {@link java.util.Collections#unmodifiableList(java.util.List)
     * Collections.unmodifiableList}'s iterator:
     *
     * {@snippet :
     * List<String> expectedElements =
     *     Arrays.asList("a", "b", "c", "d", "e");
     * List<String> actualElements =
     *     Collections.unmodifiableList(
     *         Arrays.asList("a", "b", "c", "d", "e"));
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 20:54:16 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  9. samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/ClientAndServer.java

        server.setProtocols(Collections.singletonList(Protocol.H2_PRIOR_KNOWLEDGE));
        server.enqueue(new MockResponse().setBody("hello"));
        server.start();
    
        OkHttpClient client = new OkHttpClient.Builder()
            .socketFactory(new UnixDomainSocketFactory(socketFile))
            .protocols(Collections.singletonList(Protocol.H2_PRIOR_KNOWLEDGE))
            .build();
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Dec 24 03:46:30 UTC 2018
    - 2.1K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutIterableTester.java

      public void testPutAllEmptyCollectionOnAbsentKey() {
        assertFalse(multimap().putAll(k3(), Collections.emptyList()));
        expectUnchanged();
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      public void testPutAllEmptyIterableOnAbsentKey() {
        assertFalse(multimap().putAll(k3(), Collections::emptyIterator));
        expectUnchanged();
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 20:54:16 UTC 2025
    - 7.4K bytes
    - Viewed (0)
Back to top