Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for IteratorFeature (0.16 sec)

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

       * interfaces.
       */
      public static final Set<IteratorFeature> UNMODIFIABLE = emptySet();
    
      /**
       * A set containing all of the optional features of the {@link Iterator} and {@link ListIterator}
       * interfaces.
       */
      public static final Set<IteratorFeature> MODIFIABLE =
          unmodifiableSet(new LinkedHashSet<>(asList(values())));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 03 18:22:43 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/ListListIteratorTester.java

    import static com.google.common.collect.testing.Helpers.copyToList;
    import static com.google.common.collect.testing.Helpers.getMethod;
    import static com.google.common.collect.testing.IteratorFeature.MODIFIABLE;
    import static com.google.common.collect.testing.IteratorFeature.UNMODIFIABLE;
    import static com.google.common.collect.testing.features.CollectionFeature.SUPPORTS_REMOVE;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/google/MultisetIteratorTester.java

     */
    
    package com.google.common.collect.testing.google;
    
    import static com.google.common.collect.testing.Helpers.getMethod;
    import static com.google.common.collect.testing.IteratorFeature.MODIFIABLE;
    import static com.google.common.collect.testing.IteratorFeature.UNMODIFIABLE;
    import static com.google.common.collect.testing.features.CollectionFeature.KNOWN_ORDER;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/IteratorTester.java

     *     Collections.unmodifiableList(
     *         Arrays.asList("a", "b", "c", "d", "e"));
     * IteratorTester<String> iteratorTester =
     *     new IteratorTester<String>(
     *         6,
     *         IteratorFeature.UNMODIFIABLE,
     *         expectedElements,
     *         IteratorTester.KnownOrder.KNOWN_ORDER) {
     *       @Override
     *       protected Iterator<String> newTargetIterator() {
     *         return actualElements.iterator();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

        }
    
        @Override
        public void remove() {
          throwIfInvalid(IteratorFeature.SUPPORTS_REMOVE);
    
          stackWithLastReturnedElementAtTop.pop();
          stackWithLastReturnedElementAtTop = null;
        }
    
        @Override
        public void set(E e) {
          throwIfInvalid(IteratorFeature.SUPPORTS_SET);
    
          stackWithLastReturnedElementAtTop.pop();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/testers/ListListIteratorTester.java

    import static com.google.common.collect.testing.Helpers.copyToList;
    import static com.google.common.collect.testing.Helpers.getMethod;
    import static com.google.common.collect.testing.IteratorFeature.MODIFIABLE;
    import static com.google.common.collect.testing.IteratorFeature.UNMODIFIABLE;
    import static com.google.common.collect.testing.features.CollectionFeature.SUPPORTS_REMOVE;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetIteratorTester.java

     */
    
    package com.google.common.collect.testing.google;
    
    import static com.google.common.collect.testing.Helpers.getMethod;
    import static com.google.common.collect.testing.IteratorFeature.MODIFIABLE;
    import static com.google.common.collect.testing.IteratorFeature.UNMODIFIABLE;
    import static com.google.common.collect.testing.features.CollectionFeature.KNOWN_ORDER;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionIteratorTester.java

    import static com.google.common.collect.testing.Helpers.copyToList;
    import static com.google.common.collect.testing.Helpers.mapEntry;
    import static com.google.common.collect.testing.IteratorFeature.MODIFIABLE;
    import static com.google.common.collect.testing.IteratorFeature.UNMODIFIABLE;
    import static com.google.common.collect.testing.features.CollectionFeature.ALLOWS_NULL_VALUES;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/testers/CollectionIteratorTester.java

    import static com.google.common.collect.testing.Helpers.copyToList;
    import static com.google.common.collect.testing.Helpers.mapEntry;
    import static com.google.common.collect.testing.IteratorFeature.MODIFIABLE;
    import static com.google.common.collect.testing.IteratorFeature.UNMODIFIABLE;
    import static com.google.common.collect.testing.features.CollectionFeature.ALLOWS_NULL_VALUES;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

        }
    
        @Override
        public void remove() {
          throwIfInvalid(IteratorFeature.SUPPORTS_REMOVE);
    
          stackWithLastReturnedElementAtTop.pop();
          stackWithLastReturnedElementAtTop = null;
        }
    
        @Override
        public void set(E e) {
          throwIfInvalid(IteratorFeature.SUPPORTS_SET);
    
          stackWithLastReturnedElementAtTop.pop();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 21.2K bytes
    - Viewed (0)
Back to top