Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 26 for Collections2 (0.07 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  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);
          }
        }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 86K bytes
    - Click Count (0)
  2. 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);
          }
        }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 86.3K bytes
    - Click Count (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
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Aug 08 15:11:10 GMT 2025
    - 53K bytes
    - Click Count (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
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Aug 08 15:11:10 GMT 2025
    - 56.9K bytes
    - Click Count (0)
  5. 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);
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 83K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/chat/ChatClient.java

            }
    
            return new ChatSearchResult(Collections.emptyList(), null, 0L);
        }
    
        /**
         * Validates a query and returns an empty result if invalid, or null if validation passed.
         */
        private ChatSearchResult validateQuery(final String query) {
            if (StringUtil.isBlank(query)) {
                return new ChatSearchResult(Collections.emptyList(), null, 0L);
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 56.6K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/llm/AbstractLlmClientTest.java

            assertEquals("original query", result);
        }
    
        @Test
        public void test_regenerateQuery_exception_returnsFailedQuery() {
            client.setChatResponse(null); // causes LlmException
    
            final String result = client.regenerateQuery("test question", "original query", "no_results", Collections.emptyList());
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 07:04:54 GMT 2026
    - 53K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/crawler/transformer/FessXpathTransformerTest.java

    package org.codelibs.fess.crawler.transformer;
    
    import java.io.ByteArrayInputStream;
    import java.io.StringWriter;
    import java.lang.reflect.Field;
    import java.net.URL;
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.Date;
    import java.util.HashMap;
    import java.util.LinkedHashMap;
    import java.util.List;
    import java.util.Map;
    import java.util.Set;
    import java.util.stream.Collectors;
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 62.9K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/collect/IteratorsTest.java

    import static com.google.common.truth.Truth.assertThat;
    import static java.util.Arrays.asList;
    import static java.util.Collections.emptyList;
    import static java.util.Collections.emptySet;
    import static java.util.Collections.singleton;
    import static java.util.Collections.singletonList;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 57.3K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

    import static com.google.common.truth.Truth.assertThat;
    import static java.util.Arrays.asList;
    import static java.util.Collections.emptyList;
    import static java.util.Collections.emptySet;
    import static java.util.Collections.singleton;
    import static java.util.Collections.singletonList;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 57.3K bytes
    - Click Count (0)
Back to Top