Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 358 for setA (0.03 seconds)

  1. 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()
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 32.5K bytes
    - Click Count (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"))));
      }
    
    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)
  3. 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"))));
    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)
  4. guava-tests/test/com/google/common/collect/ImmutableSetTest.java

        BiPredicate<ImmutableSet<TypeWithDuplicates>, ImmutableSet<TypeWithDuplicates>> equivalence =
            (set1, set2) -> {
              if (!set1.equals(set2)) {
                return false;
              }
              for (int i = 0; i < set1.size(); i++) {
                if (!set1.asList().get(i).fullEquals(set2.asList().get(i))) {
                  return false;
                }
              }
              return true;
            };
    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)
  5. 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)
  6. 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)
  7. 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
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 163.4K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/cache/CacheBuilderSpec.java

     *   <li>{@code refreshAfterWrite=[duration]}: sets {@link CacheBuilder#refreshAfterWrite}.
     *   <li>{@code weakKeys}: sets {@link CacheBuilder#weakKeys}.
     *   <li>{@code softValues}: sets {@link CacheBuilder#softValues}.
     *   <li>{@code weakValues}: sets {@link CacheBuilder#weakValues}.
     *   <li>{@code recordStats}: sets {@link CacheBuilder#recordStats}.
     * </ul>
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 18.2K bytes
    - Click Count (0)
  9. guava/src/com/google/common/cache/CacheBuilderSpec.java

     *   <li>{@code refreshAfterWrite=[duration]}: sets {@link CacheBuilder#refreshAfterWrite}.
     *   <li>{@code weakKeys}: sets {@link CacheBuilder#weakKeys}.
     *   <li>{@code softValues}: sets {@link CacheBuilder#softValues}.
     *   <li>{@code weakValues}: sets {@link CacheBuilder#weakValues}.
     *   <li>{@code recordStats}: sets {@link CacheBuilder#recordStats}.
     * </ul>
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 18.2K bytes
    - Click Count (0)
  10. 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
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 157.6K bytes
    - Click Count (0)
Back to Top