Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 479 for SET (0.02 seconds)

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

        SortedSet<String> set = of();
        assertThat(set.comparator()).isEqualTo(Ordering.natural());
      }
    
      public void testEmpty_headSet() {
        SortedSet<String> set = of();
        assertThat(set.headSet("c")).isSameInstanceAs(set);
      }
    
      public void testEmpty_tailSet() {
        SortedSet<String> set = of();
        assertThat(set.tailSet("f")).isSameInstanceAs(set);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 47.2K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

        SortedSet<String> set = of();
        assertThat(set.comparator()).isEqualTo(Ordering.natural());
      }
    
      public void testEmpty_headSet() {
        SortedSet<String> set = of();
        assertThat(set.headSet("c")).isSameInstanceAs(set);
      }
    
      public void testEmpty_tailSet() {
        SortedSet<String> set = of();
        assertThat(set.tailSet("f")).isSameInstanceAs(set);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 46.3K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java

        Set<String> set = of("a", "b");
        assertEquals(newHashSet("a", "b"), set);
      }
    
      public void testCreation_threeElements() {
        Set<String> set = of("a", "b", "c");
        assertEquals(newHashSet("a", "b", "c"), set);
      }
    
      public void testCreation_fourElements() {
        Set<String> set = of("a", "b", "c", "d");
        assertEquals(newHashSet("a", "b", "c", "d"), set);
      }
    
      public void testCreation_fiveElements() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 18.5K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/collect/ImmutableSetTest.java

        for (int i = 0; i < inputSize; i++) {
          builder.add(i % setSize);
        }
        ImmutableSet<Integer> set = builder.build();
        assertTrue(set instanceof RegularImmutableSet);
        assertEquals(
            "Input size " + inputSize + " and set size " + setSize,
            tableSize,
            ((RegularImmutableSet<Integer>) set).table.length);
      }
    
      public void testCopyOf_copiesImmutableSortedSet() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 14.1K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/collect/ImmutableSetTest.java

        for (int i = 0; i < inputSize; i++) {
          builder.add(i % setSize);
        }
        ImmutableSet<Integer> set = builder.build();
        assertTrue(set instanceof RegularImmutableSet);
        assertEquals(
            "Input size " + inputSize + " and set size " + setSize,
            tableSize,
            ((RegularImmutableSet<Integer>) set).table.length);
      }
    
      public void testCopyOf_copiesImmutableSortedSet() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 14.2K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/cache/CacheBuilderFactory.java

       */
      private Iterable<List<Object>> buildCartesianProduct(Set<?>... sets) {
        List<Set<Optional<?>>> optionalSets = Lists.newArrayListWithExpectedSize(sets.length);
        for (Set<?> set : sets) {
          Set<Optional<?>> optionalSet =
              Sets.newLinkedHashSet(Iterables.transform(set, Optional::fromNullable));
          optionalSets.add(optionalSet);
        }
        Set<List<Optional<?>>> cartesianProduct = Sets.cartesianProduct(optionalSets);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 7.5K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/graph/AbstractNetwork.java

      /**
       * Returns a {@link Set} whose methods throw {@link IllegalStateException} when the given node is
       * not present in this network.
       *
       * @since 33.1.0
       */
      protected final <T> Set<T> nodeInvalidatableSet(Set<T> set, N node) {
        return InvalidatableSet.of(
            set, () -> nodes().contains(node), () -> String.format(NODE_REMOVED_FROM_GRAPH, node));
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 10K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/collect/FluentIterableTest.java

      }
    
      public void testLast_iterable() {
        Set<String> set = ImmutableSet.of("a", "b", "c");
        assertThat(FluentIterable.from(set).last()).hasValue("c");
      }
    
      public void testLast_emptyIterable() {
        Set<String> set = new HashSet<>();
        assertThat(FluentIterable.from(set).last()).isAbsent();
      }
    
      public void testSkip_simple() {
        Collection<String> set = ImmutableSet.of("a", "b", "c", "d", "e");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 31.2K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/helper/RoleQueryHelperTest.java

            Set<String> roleSet = new HashSet<>();
            roleQueryHelperImpl.processHeader(request, roleSet);
            return roleSet;
        }
    
        private Set<String> buildByCookie(final RoleQueryHelper roleQueryHelperImpl, final HttpServletRequest request) {
            Set<String> roleSet = new HashSet<>();
            roleQueryHelperImpl.processCookie(request, roleSet);
            return roleSet;
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 28.8K bytes
    - Click Count (0)
  10. fastapi/encoders.py

                        return encoder_instance(obj)
        if include is not None and not isinstance(include, (set, dict)):
            include = set(include)  # type: ignore[assignment]  # ty: ignore[unused-ignore-comment]
        if exclude is not None and not isinstance(exclude, (set, dict)):
            exclude = set(exclude)  # type: ignore[assignment]  # ty: ignore[unused-ignore-comment]
        if isinstance(obj, BaseModel):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 10.9K bytes
    - Click Count (0)
Back to Top