Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 324 for setS (0.02 sec)

  1. android/guava/src/com/google/common/collect/Sets.java

       *
       * <p>Results are undefined if {@code set1} and {@code set2} are sets based on different
       * equivalence relations, for example if {@code set1} is a {@link HashSet} and {@code set2} is a
       * {@link TreeSet} or the {@link Map#keySet} of an {@code IdentityHashMap}.
       */
      public static <E extends @Nullable Object> SetView<E> difference(Set<E> set1, Set<?> set2) {
        checkNotNull(set1, "set1");
        checkNotNull(set2, "set2");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 81.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

        assertTrue(set.containsAll(Sets.newTreeSet(asList("a", "b", "f"))));
        assertFalse(set.containsAll(Sets.newTreeSet(asList("d"))));
        assertFalse(set.containsAll(Sets.newTreeSet(asList("z"))));
        assertFalse(set.containsAll(Sets.newTreeSet(asList("b", "d"))));
        assertFalse(set.containsAll(Sets.newTreeSet(asList("f", "d", "a"))));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 46.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/SetsTest.java

        checkHashCode(cartesianProduct(set(1, num), set(2, num - 1)));
        checkHashCode(cartesianProduct(set(1, num), set(2, num - 1), set(3, num + 1)));
    
        // a bigger one
        checkHashCode(
            cartesianProduct(set(1, num, num + 1), set(2), set(3, num + 2), set(4, 5, 6, 7, 8)));
      }
    
      public void testPowerSetEmpty() {
        ImmutableSet<Integer> elements = ImmutableSet.of();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 45.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/SetViewTest.java

        Set<Integer> set2 = newHashSet(2, 3);
        Set<Integer> difference = difference(set1, set2);
        assertThat(difference).containsExactly(1);
        set1.add(0);
        assertThat(difference).containsExactly(0, 1);
        set2.remove(2);
        assertThat(difference).containsExactly(0, 1, 2);
      }
    
      public void testSymmetricDifference_isView() {
        Set<Integer> set1 = newHashSet(1, 2);
        Set<Integer> set2 = newHashSet(2, 3);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.9K bytes
    - Viewed (0)
  5. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSet.java

        Collections.addAll(set, elements);
        for (E element : set) {
          checkNotNull(element);
        }
    
        switch (set.size()) {
          case 0:
            return of();
          case 1:
            return new SingletonImmutableSet<E>(set.iterator().next());
          default:
            return new RegularImmutableSet<E>(set);
        }
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/job/ExecJob.java

         * This method sets the job executor and then calls the abstract execute method.
         *
         * @param jobExecutor the job executor to use for execution
         * @return the execution result message or summary
         */
        public String execute(final JobExecutor jobExecutor) {
            jobExecutor(jobExecutor);
            return execute();
        }
    
        /**
         * Sets the job executor for this job.
         *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/api/ApiResult.java

                super();
            }
    
            /**
             * Sets the ID of the updated item.
             * @param id The ID to set.
             * @return This ApiUpdateResponse instance.
             */
            public ApiUpdateResponse id(final String id) {
                this.id = id;
                return this;
            }
    
            /**
             * Sets whether the item was created or updated.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/ThreadFactoryBuilder.java

       * the builder as documented on each method (except for the rarely used {@link #setThreadFactory},
       * which does not have an equivalent).
       */
      public ThreadFactoryBuilder() {}
    
      /**
       * Sets the naming format to use when naming threads ({@link Thread#setName}) which are created
       * with this ThreadFactory.
       *
       * <p><b>Java 21+ users:</b> use {@link Thread.Builder#name(String, long)} instead. Note that
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:35:26 UTC 2025
    - 9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/FilteredKeySetMultimap.java

        return (Set<Entry<K, V>>) super.entries();
      }
    
      @Override
      Set<Entry<K, V>> createEntries() {
        return new EntrySet();
      }
    
      private final class EntrySet extends Entries implements Set<Entry<K, V>> {
        @Override
        public int hashCode() {
          return Sets.hashCodeImpl(this);
        }
    
        @Override
        public boolean equals(@Nullable Object o) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/score/ScoreBooster.java

         */
        public int getPriority() {
            return priority;
        }
    
        /**
         * Sets the priority of this score booster.
         * @param priority The priority.
         */
        public void setPriority(final int priority) {
            this.priority = priority;
        }
    
        /**
         * Sets the request timeout.
         * @param bulkRequestTimeout The request timeout.
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 6.6K bytes
    - Viewed (0)
Back to top