Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 304 for submit (0.16 sec)

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

        Set<Feature<?>> keySetFeatures = computeCommonDerivedCollectionFeatures(mapFeatures);
    
        // TODO(lowasser): make this trigger only if the map is a submap
        // currently, the KeySetGenerator won't work properly for a subset of a keyset of a submap
        keySetFeatures.add(CollectionFeature.SUBSET_VIEW);
        if (mapFeatures.contains(MapFeature.ALLOWS_NULL_KEYS)) {
          keySetFeatures.add(CollectionFeature.ALLOWS_NULL_VALUES);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 12.1K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java

        }
    
        @Override
        public Entry<K, V>[] createArray(int length) {
          return delegate.createArray(length);
        }
      }
    
      /** Two bounds (from and to) define how to build a subMap. */
      public enum Bound {
        INCLUSIVE,
        EXCLUSIVE,
        NO_BOUND;
      }
    
      public static class SortedSetSubsetTestSetGenerator<E extends @Nullable Object>
          implements TestSortedSetGenerator<E> {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 18.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/SetsTest.java

        assertEquals(ImmutableSortedSet.of(4, 6, 8, 10), Sets.subSet(set, Range.atLeast(4)));
        assertEquals(ImmutableSortedSet.of(8, 10), Sets.subSet(set, Range.atLeast(7)));
        assertEquals(empty, Sets.subSet(set, Range.atLeast(20)));
    
        assertEquals(set, Sets.subSet(set, Range.greaterThan(0)));
        assertEquals(ImmutableSortedSet.of(6, 8, 10), Sets.subSet(set, Range.greaterThan(4)));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 49.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Maps.java

          }
    
          @Override
          public SortedSet<E> subSet(
              @ParametricNullness E fromElement, @ParametricNullness E toElement) {
            return removeOnlySortedSet(super.subSet(fromElement, toElement));
          }
    
          @Override
          public NavigableSet<E> subSet(
              @ParametricNullness E fromElement,
              boolean fromInclusive,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 159.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

      }
    
      public void testSingle_subSet() {
        SortedSet<String> set = of("e");
        assertTrue(set.subSet("c", "g") instanceof ImmutableSortedSet);
        assertThat(set.subSet("c", "g")).contains("e");
        assertThat(set.subSet("e", "g")).contains("e");
        assertSame(this.<String>of(), set.subSet("f", "g"));
        assertSame(this.<String>of(), set.subSet("c", "e"));
        assertSame(this.<String>of(), set.subSet("c", "d"));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 46.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

      }
    
      public void testSingle_subSet() {
        SortedSet<String> set = of("e");
        assertTrue(set.subSet("c", "g") instanceof ImmutableSortedSet);
        assertThat(set.subSet("c", "g")).contains("e");
        assertThat(set.subSet("e", "g")).contains("e");
        assertSame(this.<String>of(), set.subSet("f", "g"));
        assertSame(this.<String>of(), set.subSet("c", "e"));
        assertSame(this.<String>of(), set.subSet("c", "d"));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 45.2K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ImmutableSortedMap.java

              keySet.getSubSet(fromIndex, toIndex), valueList.subList(fromIndex, toIndex));
        }
      }
    
      /**
       * This method returns a {@code ImmutableSortedMap}, consisting of the entries whose keys are less
       * than {@code toKey}.
       *
       * <p>The {@link SortedMap#headMap} documentation states that a submap of a submap throws an
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 50.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/net/InternetDomainName.java

     * but was not itself a public suffix. However, this test is no longer accurate. There are many
     * domains which are both public suffixes and addressable as hosts; {@code "uk.com"} is one example.
     * Using the subset of public suffixes that are {@linkplain #isRegistrySuffix() registry suffixes},
     * one can get a better result, as only a few registry suffixes are addressable. However, the most
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 05 20:47:23 GMT 2024
    - 28K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/testers/ListSubListTester.java

      }
    
      @CollectionSize.Require(absent = {ZERO, ONE})
      public void testSubList_ofSubListNonEmpty() {
        List<E> subList = getList().subList(0, 2).subList(1, 2);
        assertEquals(
            "subList(0, 2).subList(1, 2) "
                + "should be a single-element list of the element at index 1",
            Collections.singletonList(getOrderedElements().get(1)),
            subList);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/ContiguousSetTest.java

        assertThat(set.subSet(1, 4)).containsExactly(1, 2, 3).inOrder();
        assertThat(set.subSet(2, 4)).containsExactly(2, 3).inOrder();
        assertThat(set.subSet(3, 4)).containsExactly(3).inOrder();
        assertThat(set.subSet(3, 3)).isEmpty();
        assertThat(set.subSet(2, 3)).containsExactly(2).inOrder();
        assertThat(set.subSet(1, 3)).containsExactly(1, 2).inOrder();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 19.1K bytes
    - Viewed (0)
Back to top