Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,446 for set2 (0.03 sec)

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

      }
    
      /**
       * Construct a new {@link java.util.Set} that is the intersection of the given sets.
       *
       * @deprecated Use {@link com.google.common.collect.Sets#intersection(Set, Set)} instead.
       */
      @Deprecated
      public static <T> Set<T> intersection(Set<? extends T> set1, Set<? extends T> set2) {
        Set<T> result = copyToSet(set1);
        result.retainAll(set2);
        return result;
      }
    
      private FeatureUtil() {}
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

        assertTrue(set.containsAll(Sets.newTreeSet()));
        assertTrue(set.containsAll(Sets.newTreeSet(asList("b"))));
        assertTrue(set.containsAll(Sets.newTreeSet(asList("a", "f"))));
        assertTrue(set.containsAll(Sets.newTreeSet(asList("a", "b", "f"))));
        assertFalse(set.containsAll(Sets.newTreeSet(asList("d"))));
        assertFalse(set.containsAll(Sets.newTreeSet(asList("z"))));
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 45.8K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/Maps.java

          Set<K> set, Function<? super K, V> function) {
        return new AsMapView<>(set, function);
      }
    
      /**
       * Returns a view of the sorted set as a map, mapping keys from the set according to the specified
       * function.
       *
       * <p>Specifically, for each {@code k} in the backing set, the returned map has an entry mapping
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 17 22:50:48 UTC 2025
    - 163.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Maps.java

          Set<K> set, Function<? super K, V> function) {
        return new AsMapView<>(set, function);
      }
    
      /**
       * Returns a view of the sorted set as a map, mapping keys from the set according to the specified
       * function.
       *
       * <p>Specifically, for each {@code k} in the backing set, the returned map has an entry mapping
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 17:50:58 UTC 2025
    - 157.6K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

       *
       *   private static final class FooFactoryForTest {
       *     public static Foo create(String a, String b, int c, boolean d) {
       *       return Foo.builder()
       *           .setA(a)
       *           .setB(b)
       *           .setC(c)
       *           .setD(d)
       *           .build();
       *     }
       *   }
       *
       *   public void testEquals() {
       *     new ClassSanityTester()
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/witness/WitnessRegistrationTest.java

            long seq1 = registration.getNextSequenceNumber();
            long seq2 = registration.getNextSequenceNumber();
            long seq3 = registration.getNextSequenceNumber();
    
            assertEquals(1, seq1);
            assertEquals(2, seq2);
            assertEquals(3, seq3);
            assertTrue(seq2 > seq1);
            assertTrue(seq3 > seq2);
        }
    
        @Test
        void testHeartbeatUpdate() throws InterruptedException {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/lang/ObjectUtilTest.java

             * @param i
             *            the i to set
             */
            public void setI(final int i) {
                this.i = i;
            }
    
            /**
             * @return the i
             */
            public int getI() {
                return i;
            }
    
            /**
             * @param s
             *            the s to set
             */
            public void setS(final String s) {
                this.s = s;
            }
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/beans/util/BeanUtilTest.java

        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testCopy_BeanToMap() throws Exception {
            final HogeDto hoge = new HogeDto();
            hoge.setA("A");
            hoge.setB(true);
            hoge.setC(3);
            final Map<String, Object> map = newHashMap();
            BeanUtil.copyBeanToMap(hoge, map);
            assertThat(map, is(notNullValue()));
            assertThat(map.get("a"), is((Object) "A"));
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 34.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/RoleQueryHelper.java

                defaultRoleList.add(name);
            }));
        }
    
        /**
         * Builds a set of roles from the request.
         * @param searchRequestType The type of the search request.
         * @return A set of roles.
         */
        public Set<String> build(final SearchRequestType searchRequestType) {
            final Set<String> roleSet = new HashSet<>();
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/pager/RelatedQueryPager.java

        }
    
        /**
         * Gets the total number of records in the result set.
         *
         * @return the total record count
         */
        public int getAllRecordCount() {
            return allRecordCount;
        }
    
        /**
         * Sets the total number of records in the result set.
         *
         * @param allRecordCount the total record count to set
         */
        public void setAllRecordCount(final int allRecordCount) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7.2K bytes
    - Viewed (0)
Back to top