Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 394 for iterable (0.1 sec)

  1. android/guava/src/com/google/common/cache/Cache.java

       * <? extends Object> is mostly the same as <?> to plain Java. But to nullness checkers, they
       * differ: <? extends Object> means "non-null types," while <?> means "all types."
       */
      ImmutableMap<K, V> getAllPresent(Iterable<? extends Object> keys);
    
      /**
       * Associates {@code value} with {@code key} in this cache. If the cache previously contained a
       * value associated with {@code key}, the old value is replaced by {@code value}.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/convert/DateConversionUtil.java

    import static java.text.DateFormat.LONG;
    import static java.text.DateFormat.MEDIUM;
    import static java.text.DateFormat.SHORT;
    import static java.text.DateFormat.getDateInstance;
    import static org.codelibs.core.collection.MultiIterator.iterable;
    import static org.codelibs.core.lang.StringUtil.isEmpty;
    import static org.codelibs.core.lang.StringUtil.isNotEmpty;
    import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull;
    
    import java.text.DateFormat;
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 19.6K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

       * instance.
       */
      private final Map<Type, Integer> emptyInstanceGenerated = new HashMap<>();
    
      final <T> void addSampleInstances(Class<T> type, Iterable<? extends T> instances) {
        sampleInstances.putAll(checkNotNull(type), checkNotNull(instances));
      }
    
      /**
       * Returns a fresh instance for {@code type} if possible. The returned instance could be:
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 28.7K bytes
    - Viewed (0)
  4. android/guava-testlib/test/com/google/common/collect/testing/HelpersTest.java

        list.add("a");
        try {
          assertEmpty(list);
          throw new Error();
        } catch (AssertionFailedError expected) {
        }
        try {
          assertEmpty(
              new Iterable<String>() {
                @Override
                public Iterator<String> iterator() {
                  return singleton("a").iterator();
                }
              });
          throw new Error();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Apr 12 15:07:59 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/SampleElements.java

    /**
     * A container class for the five sample elements we need for testing.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @NullMarked
    public class SampleElements<E extends @Nullable Object> implements Iterable<E> {
      // TODO: rename e3, e4 => missing1, missing2
      private final E e0;
      private final E e1;
      private final E e2;
      private final E e3;
      private final E e4;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  6. guava-testlib/test/com/google/common/collect/testing/HelpersTest.java

        list.add("a");
        try {
          assertEmpty(list);
          throw new Error();
        } catch (AssertionFailedError expected) {
        }
        try {
          assertEmpty(
              new Iterable<String>() {
                @Override
                public Iterator<String> iterator() {
                  return singleton("a").iterator();
                }
              });
          throw new Error();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Apr 12 15:07:59 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/google/SortedMapGenerators.java

        @SuppressWarnings("unchecked")
        @Override
        public Entry<String, Integer>[] createArray(int length) {
          return (Entry<String, Integer>[]) new Entry<?, ?>[length];
        }
    
        @Override
        public Iterable<Entry<String, Integer>> order(List<Entry<String, Integer>> insertionOrder) {
          return new Ordering<Entry<String, Integer>>() {
            @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/NavigableMapTestSuiteBuilder.java

        public NavigableMap<K, V> create(Object... entries) {
          NavigableMap<K, V> map = (NavigableMap<K, V>) delegate.create(entries);
          return map.descendingMap();
        }
    
        @Override
        public Iterable<Entry<K, V>> order(List<Entry<K, V>> insertionOrder) {
          insertionOrder = castOrCopyToList(delegate.order(insertionOrder));
          reverse(insertionOrder);
          return insertionOrder;
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/AbstractSortedSetMultimap.java

       * Multimap} interface.
       *
       * <p>Any duplicates in {@code values} will be stored in the multimap once.
       */
      @CanIgnoreReturnValue
      @Override
      public SortedSet<V> replaceValues(@ParametricNullness K key, Iterable<? extends V> values) {
        return (SortedSet<V>) super.replaceValues(key, values);
      }
    
      /**
       * Returns a map view that associates each key with the corresponding values in the multimap.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Mar 20 13:05:10 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/ListTestSuiteBuilder.java

        }
    
        @Override
        public E[] createArray(int length) {
          return gen.createArray(length);
        }
    
        @Override
        public Iterable<E> order(List<E> insertionOrder) {
          return gen.order(insertionOrder);
        }
      }
    
      private static Set<Feature<?>> computeReserializedCollectionFeatures(Set<Feature<?>> features) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 6.4K bytes
    - Viewed (0)
Back to top