Search Options

Results per page
Sort
Preferred Languages
Advance

Results 371 - 380 of 1,313 for Collection (0.1 sec)

  1. guava-testlib/src/com/google/common/collect/testing/ListTestSuiteBuilder.java

        }
        return derivedSuites;
      }
    
      static class ReserializedListGenerator<E> implements TestListGenerator<E> {
        final OneSizeTestContainerGenerator<Collection<E>, E> gen;
    
        private ReserializedListGenerator(OneSizeTestContainerGenerator<Collection<E>, E> gen) {
          this.gen = gen;
        }
    
        @Override
        public SampleElements<E> samples() {
          return gen.samples();
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/LinkedHashMultimapTest.java

      public void testAsSetIteration() {
        Set<Entry<String, Collection<Integer>>> set =
            newLinkedHashSet(
                asList(
                    immutableEntry("foo", (Collection<Integer>) newHashSet(2, 3, 6)),
                    immutableEntry("bar", (Collection<Integer>) newHashSet(4, 5, 10, 11)),
                    immutableEntry("baz", (Collection<Integer>) newHashSet(7, 8)),
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/primitives/Longs.java

       *     to primitives
       * @throws NullPointerException if {@code collection} or any of its elements is null
       * @since 1.0 (parameter was {@code Collection<Long>} before 12.0)
       */
      public static long[] toArray(Collection<? extends Number> collection) {
        if (collection instanceof LongArrayAsList) {
          return ((LongArrayAsList) collection).toLongArray();
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:52:18 UTC 2024
    - 29K bytes
    - Viewed (0)
  4. common-protos/k8s.io/api/resource/v1alpha2/generated.proto

      optional PodSchedulingContextSpec spec = 2;
    
      // Status describes where resources for the Pod can be allocated.
      // +optional
      optional PodSchedulingContextStatus status = 3;
    }
    
    // PodSchedulingContextList is a collection of Pod scheduling objects.
    message PodSchedulingContextList {
      // Standard list metadata
      // +optional
      optional k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  5. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RequestTraceHelper.java

    package org.apache.maven.repository.internal;
    
    import java.util.stream.Collectors;
    
    import org.apache.maven.model.Plugin;
    import org.eclipse.aether.RequestTrace;
    import org.eclipse.aether.collection.CollectRequest;
    import org.eclipse.aether.collection.CollectStepData;
    import org.eclipse.aether.resolution.ArtifactDescriptorRequest;
    import org.eclipse.aether.resolution.ArtifactRequest;
    import org.eclipse.aether.resolution.DependencyRequest;
    
    /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/SetCreationTester.java

      @CollectionSize.Require(absent = {ZERO, ONE})
      public void testCreateWithDuplicates_nullDuplicatesNotRejected() {
        E[] array = createArrayWithNullElement();
        array[0] = null;
        collection = getSubjectGenerator().create(array);
    
        List<E> expectedWithDuplicateRemoved = asList(array).subList(1, getNumElements());
        expectContents(expectedWithDuplicateRemoved);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/testers/SetCreationTester.java

      @CollectionSize.Require(absent = {ZERO, ONE})
      public void testCreateWithDuplicates_nullDuplicatesNotRejected() {
        E[] array = createArrayWithNullElement();
        array[0] = null;
        collection = getSubjectGenerator().create(array);
    
        List<E> expectedWithDuplicateRemoved = asList(array).subList(1, getNumElements());
        expectContents(expectedWithDuplicateRemoved);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ForwardingSet.java

       *
       * @since 7.0 (this version overrides the {@code ForwardingCollection} version as of 12.0)
       */
      @Override
      protected boolean standardRemoveAll(Collection<?> collection) {
        return Sets.removeAllImpl(this, checkNotNull(collection)); // for GWT
      }
    
      /**
       * A sensible definition of {@link #equals} in terms of {@link #size} and {@link #containsAll}. If
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 29 19:42:21 UTC 2021
    - 3.8K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/testers/AbstractSetTester.java

      /*
       * Previously we had a field named set that was initialized to the value of
       * collection in setUp(), but that caused problems when a tester changed the
       * value of set or collection but not both.
       */
      protected final Set<E> getSet() {
        return (Set<E>) collection;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  10. android/guava-testlib/test/com/google/common/collect/testing/OpenJdk6QueueTests.java

      }
    
      private static final List<Method> PQ_SUPPRESS = asList(getCreateWithNullUnsupportedMethod());
    
      @Override
      protected Collection<Method> suppressForPriorityBlockingQueue() {
        return PQ_SUPPRESS;
      }
    
      @Override
      protected Collection<Method> suppressForPriorityQueue() {
        return PQ_SUPPRESS;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
Back to top