Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 1,314 for collectionOf (0.28 sec)

  1. android/guava-tests/test/com/google/common/collect/LinkedListMultimapTest.java

        Set<Entry<String, Collection<Integer>>> set =
            Sets.newLinkedHashSet(
                asList(
                    immutableEntry("foo", (Collection<Integer>) asList(2, 3, 6)),
                    immutableEntry("bar", (Collection<Integer>) asList(4, 5, 10, 11)),
                    immutableEntry("baz", (Collection<Integer>) asList(7, 8)),
                    immutableEntry("dog", (Collection<Integer>) asList(9)),
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/TableCollectionTest.java

    import com.google.common.collect.testing.features.Feature;
    import java.util.Collection;
    import java.util.List;
    import java.util.Map;
    import java.util.Set;
    import java.util.SortedSet;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Collection tests for {@link Table} implementations.
     *
     * @author Jared Levy
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/TableCollectionTest.java

    import com.google.common.collect.testing.features.Feature;
    import java.util.Collection;
    import java.util.List;
    import java.util.Map;
    import java.util.Set;
    import java.util.SortedSet;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Collection tests for {@link Table} implementations.
     *
     * @author Jared Levy
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/MutableClassToInstanceMap.java

          @Override
          public Object[] toArray() {
            /*
             * standardToArray returns `@Nullable Object[]` rather than `Object[]` but only because it
             * can be used with collections that may contain null. This collection is a collection of
             * non-null Entry objects (Entry objects that might contain null values but are not
             * themselves null), so we can treat it as a plain `Object[]`.
             */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Iterators.java

      }
    
      /**
       * Adapts an {@code Iterator} to the {@code Enumeration} interface.
       *
       * <p>The {@code Iterable} equivalent of this method is either {@link Collections#enumeration} (if
       * you have a {@link Collection}), or {@code Iterators.asEnumeration(collection.iterator())}.
       */
      public static <T extends @Nullable Object> Enumeration<T> asEnumeration(Iterator<T> iterator) {
        checkNotNull(iterator);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 50.3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/ImmutableSetTest.java

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static com.google.common.truth.Truth.assertThat;
    import static java.util.Collections.singleton;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java

          E e1, E e2, E e3, E e4, E e5, E e6, E... remaining) {
        int size = remaining.length + 6;
        List<E> all = Lists.newArrayListWithCapacity(size);
        Collections.addAll(all, e1, e2, e3, e4, e5, e6);
        Collections.addAll(all, remaining);
        return copyOf(Ordering.natural(), all);
      }
    
      /**
       * Returns an immutable sorted multiset containing the given elements sorted by their natural
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 35.4K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/primitives/BytesTest.java

    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.collect.testing.Helpers;
    import com.google.common.testing.NullPointerTester;
    import java.util.Arrays;
    import java.util.Collection;
    import java.util.Collections;
    import java.util.List;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Unit test for {@link Bytes}.
     *
     * @author Kevin Bourrillion
     */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/AbstractBiMap.java

        }
    
        @Override
        public boolean containsAll(Collection<?> c) {
          return standardContainsAll(c);
        }
    
        @Override
        public boolean removeAll(Collection<?> c) {
          return standardRemoveAll(c);
        }
    
        @Override
        public boolean retainAll(Collection<?> c) {
          return standardRetainAll(c);
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Aug 24 01:40:03 UTC 2023
    - 14.6K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java

    import static com.google.common.collect.testing.features.MapFeature.ALLOWS_ANY_NULL_QUERIES;
    import static com.google.common.truth.Truth.assertThat;
    import static java.util.Collections.emptyList;
    import static java.util.Collections.emptySet;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 25.4K bytes
    - Viewed (0)
Back to top