Search Options

Results per page
Sort
Preferred Languages
Advance

Results 531 - 540 of 1,099 for Collections (0.07 sec)

  1. src/test/java/org/codelibs/fess/util/WebApiUtilTest.java

                WebApiUtil.setObject("intValue", 123);
                WebApiUtil.setObject("booleanValue", true);
                WebApiUtil.setObject("objectValue", new Object());
    
                // Test with collections
                java.util.List<String> list = java.util.Arrays.asList("item1", "item2");
                WebApiUtil.setObject("listValue", list);
    
                java.util.Map<String, String> map = new java.util.HashMap<>();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/hash/Hashing.java

    import com.google.errorprone.annotations.Immutable;
    import com.google.j2objc.annotations.J2ObjCIncompatible;
    import java.security.Key;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Collections;
    import java.util.Iterator;
    import java.util.List;
    import java.util.zip.Adler32;
    import java.util.zip.CRC32;
    import java.util.zip.CRC32C;
    import java.util.zip.Checksum;
    import javax.crypto.spec.SecretKeySpec;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 22:06:57 UTC 2025
    - 31.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableListMultimap.java

        return new Builder<K, V>().putAll(entries).build();
      }
    
      /** Creates an ImmutableListMultimap from an asMap.entrySet. */
      static <K, V> ImmutableListMultimap<K, V> fromMapEntries(
          Collection<? extends Map.Entry<? extends K, ? extends Collection<? extends V>>> mapEntries,
          @Nullable Comparator<? super V> valueComparator) {
        if (mapEntries.isEmpty()) {
          return of();
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

    import static java.util.Collections.frequency;
    import static junit.framework.Assert.assertEquals;
    import static junit.framework.Assert.fail;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Collection;
    import java.util.Iterator;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

    import static java.util.Collections.frequency;
    import static junit.framework.Assert.assertEquals;
    import static junit.framework.Assert.fail;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Collection;
    import java.util.Iterator;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/Joiner.java

              /*
               * We first initialized toJoin to the size of the input collection. However, that size can
               * go out of date (for a collection like CopyOnWriteArrayList, which may have been safely
               * modified concurrently), or it might have been only an estimate to begin with (for a
               * collection like ConcurrentHashMap, which sums up several counters that may not be in
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 15:16:19 UTC 2025
    - 21K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/cache/CacheExpirationTest.java

        // wait for entries to expire, but don't call expireEntries
        ticker.advance(EXPIRING_TIME * 10, MILLISECONDS);
    
        // add a single unexpired entry
        cache.getUnchecked(KEY_PREFIX + 11);
    
        // collections views shouldn't expose expired entries
        assertEquals(1, Iterators.size(cache.asMap().entrySet().iterator()));
        assertEquals(1, Iterators.size(cache.asMap().keySet().iterator()));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/collection/CollectionsUtil.java

        }
    
        /**
         * Returns {@literal true} if the given {@link Collection} is {@literal null} or empty.
         *
         * @param collection the collection
         * @return {@literal true} if the collection is {@literal null} or empty
         */
        public static boolean isEmpty(final Collection<?> collection) {
            return collection == null || collection.isEmpty();
        }
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 49.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ArrayTable.java

      }
    
      /**
       * Returns an unmodifiable collection of all values, which may contain duplicates. Changes to the
       * table will update the returned collection.
       *
       * <p>The returned collection's iterator traverses the values of the first row key, the values of
       * the second row key, and so on.
       *
       * @return collection of values
       */
      @Override
      public Collection<@Nullable V> values() {
        return super.values();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 13 19:39:21 UTC 2025
    - 26.8K bytes
    - Viewed (0)
  10. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.6K bytes
    - Viewed (0)
Back to top