Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 124 for modifiable (0.23 sec)

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

     * the License.
     */
    
    package com.google.common.collect.testing.google;
    
    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;
    import static com.google.common.collect.testing.features.CollectionFeature.SUPPORTS_ITERATOR_REMOVE;
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionIteratorTester.java

    package com.google.common.collect.testing.testers;
    
    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;
    import static com.google.common.collect.testing.features.CollectionFeature.KNOWN_ORDER;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/PeekingIteratorTest.java

        }
      }
    
      private <T extends @Nullable Object> void actsLikeIteratorHelper(final List<T> list) {
        // Check with modifiable copies of the list
        new PeekingIteratorTester<T>(list).test();
    
        // Check with unmodifiable lists
        new IteratorTester<T>(
            list.size() * 2 + 2, UNMODIFIABLE, list, IteratorTester.KnownOrder.KNOWN_ORDER) {
          @Override
          protected Iterator<T> newTargetIterator() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 9K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/LinkedHashMultimapTest.java

    import static com.google.common.collect.Sets.newLinkedHashSet;
    import static com.google.common.collect.testing.Helpers.mapEntry;
    import static com.google.common.collect.testing.IteratorFeature.MODIFIABLE;
    import static com.google.common.truth.Truth.assertThat;
    import static java.util.Arrays.asList;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetIteratorTester.java

     * the License.
     */
    
    package com.google.common.collect.testing.google;
    
    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;
    import static com.google.common.collect.testing.features.CollectionFeature.SUPPORTS_ITERATOR_REMOVE;
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  6. guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java

                3, MODIFIABLE, newArrayList(1, 2), IteratorTester.KnownOrder.KNOWN_ORDER) {
              @Override
              protected Iterator<Integer> newTargetIterator() {
                return ImmutableList.of(1, 2).iterator();
              }
            };
        assertFailure(tester);
      }
    
      public void testUnknownOrder() {
        new IteratorTester<Integer>(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 12:41:04 GMT 2023
    - 10.4K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/AbstractMultimapAsMapImplementsMapTest.java

        extends MapInterfaceTest<String, Collection<Integer>> {
    
      public AbstractMultimapAsMapImplementsMapTest(
          boolean modifiable, boolean allowsNulls, boolean supportsIteratorRemove) {
        super(allowsNulls, allowsNulls, false, modifiable, modifiable, supportsIteratorRemove);
      }
    
      protected void populate(Multimap<String, Integer> multimap) {
        multimap.put("one", 1);
        multimap.put("two", 2);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 3K bytes
    - Viewed (0)
  8. android/guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java

                3, MODIFIABLE, newArrayList(1, 2), IteratorTester.KnownOrder.KNOWN_ORDER) {
              @Override
              protected Iterator<Integer> newTargetIterator() {
                return ImmutableList.of(1, 2).iterator();
              }
            };
        assertFailure(tester);
      }
    
      public void testUnknownOrder() {
        new IteratorTester<Integer>(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 17 12:41:04 GMT 2023
    - 10.4K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/LinkedListMultimapTest.java

    import static com.google.common.collect.Sets.newHashSet;
    import static com.google.common.collect.Sets.newLinkedHashSet;
    import static com.google.common.collect.testing.IteratorFeature.MODIFIABLE;
    import static com.google.common.collect.testing.IteratorFeature.SUPPORTS_REMOVE;
    import static com.google.common.collect.testing.IteratorFeature.SUPPORTS_SET;
    import static com.google.common.truth.Truth.assertThat;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/MultimapsTest.java

        assertUnmodifiableIterableInTandem(
            unmodifiable.asMap().entrySet(), multimap.asMap().entrySet());
    
        assertEquals(multimap.toString(), unmodifiable.toString());
        assertEquals(multimap.hashCode(), unmodifiable.hashCode());
        assertEquals(multimap, unmodifiable);
    
        assertThat(unmodifiable.asMap().get("bar")).containsExactly(5, -1);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 42.2K bytes
    - Viewed (0)
Back to top