Search Options

Results per page
Sort
Preferred Languages
Advance

Results 601 - 610 of 1,313 for Collection (0.11 sec)

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

    import java.util.ArrayList;
    import java.util.Collection;
    import java.util.Iterator;
    import java.util.List;
    import java.util.NavigableSet;
    import java.util.NoSuchElementException;
    import java.util.Set;
    import java.util.SortedSet;
    import junit.framework.TestCase;
    
    /**
     * Class that contains nested abstract tests for filtered collection views, along with their
     * implementation helpers.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 13K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/ListAddAtIndexTester.java

      @ListFeature.Require(SUPPORTS_ADD_WITH_INDEX)
      public void testAddAtIndexConcurrentWithIteration() {
        assertThrows(
            ConcurrentModificationException.class,
            () -> {
              Iterator<E> iterator = collection.iterator();
              getList().add(0, e3());
              iterator.next();
            });
      }
    
      @ListFeature.Require(absent = SUPPORTS_ADD_WITH_INDEX)
      public void testAddAtIndex_unsupportedNotPresent() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  3. common-protos/k8s.io/api/storage/v1alpha1/generated.proto

      // API is ResourceRequirements.Requests in a volume claim.
      //
      // +optional
      optional k8s.io.apimachinery.pkg.api.resource.Quantity maximumVolumeSize = 5;
    }
    
    // CSIStorageCapacityList is a collection of CSIStorageCapacity objects.
    message CSIStorageCapacityList {
      // Standard list metadata
      // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
      // +optional
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/SetsTest.java

    public class SetsTest extends TestCase {
    
      private static final IteratorTester.KnownOrder KNOWN_ORDER =
          IteratorTester.KnownOrder.KNOWN_ORDER;
    
      private static final Collection<Integer> EMPTY_COLLECTION = Arrays.<Integer>asList();
    
      private static final Collection<Integer> SOME_COLLECTION = asList(0, 1, 1);
    
      private static final Iterable<Integer> SOME_ITERABLE =
          new Iterable<Integer>() {
            @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 48.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Iterators.java

      /**
       * Adds all elements in {@code iterator} to {@code collection}. The iterator will be left
       * exhausted: its {@code hasNext()} method will return {@code false}.
       *
       * @return {@code true} if {@code collection} was modified as a result of this operation
       */
      @CanIgnoreReturnValue
      public static <T extends @Nullable Object> boolean addAll(
          Collection<T> addTo, Iterator<? extends T> iterator) {
        checkNotNull(addTo);
    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. build-logic/documentation/src/main/groovy/gradlebuild/docs/ReleaseNotes.java

        /**
         * The Jquery file to include in the release notes.
         */
        public abstract ConfigurableFileCollection getJquery();
    
        // TODO: Need staging root property too
    
        /**
         * The collection of rendered documentation.
         */
        public abstract RegularFileProperty getRenderedDocumentation();
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 1.6K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionSerializationTester.java

      @CollectionFeature.Require(SERIALIZABLE)
      public void testReserialize() {
        // For a bare Collection, the most we can guarantee is that the elements are preserved.
        assertEqualIgnoringOrder(actualContents(), SerializableTester.reserialize(actualContents()));
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  8. common-protos/k8s.io/api/scheduling/v1alpha1/generated.proto

      // One of Never, PreemptLowerPriority.
      // Defaults to PreemptLowerPriority if unset.
      // +optional
      optional string preemptionPolicy = 5;
    }
    
    // PriorityClassList is a collection of priority classes.
    message PriorityClassList {
      // Standard list metadata
      // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
      // +optional
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/RangeMap.java

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.errorprone.annotations.DoNotMock;
    import java.util.Collection;
    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.NoSuchElementException;
    import javax.annotation.CheckForNull;
    
    /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

     *
     * <p><b>Warning:</b> as with any sorted collection, you are strongly advised not to use a {@link
     * Comparator} or {@link Comparable} type whose comparison behavior is <i>inconsistent with
     * equals</i>. That is, {@code a.compareTo(b)} or {@code comparator.compare(a, b)} should equal zero
     * <i>if and only if</i> {@code a.equals(b)}. If this advice is not followed, the resulting
     * collection will not correctly obey its specification.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 36.9K bytes
    - Viewed (0)
Back to top