Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 276 for ImmutableList (0.07 sec)

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

          return this;
        }
    
        private ImmutableList<Invokable<?, ?>> getFactoriesToTest() {
          ImmutableList.Builder<Invokable<?, ?>> builder = ImmutableList.builder();
          for (Invokable<?, ?> factory : factories) {
            if (returnTypeToTest.isAssignableFrom(factory.getReturnType().getRawType())) {
              builder.add(factory);
            }
          }
          ImmutableList<Invokable<?, ?>> factoriesToTest = builder.build();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableRangeSet.java

      }
    
      ImmutableRangeSet(ImmutableList<Range<C>> ranges) {
        this(ranges, /* complement= */ null);
      }
    
      private ImmutableRangeSet(
          ImmutableList<Range<C>> ranges, @Nullable ImmutableRangeSet<C> complement) {
        this.ranges = ranges;
        this.complement = complement;
      }
    
      private final transient ImmutableList<Range<C>> ranges;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 27.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/ForwardingListTest.java

                      @Override
                      protected List<String> create(String[] elements) {
                        return new StandardImplForwardingList<>(ImmutableList.copyOf(elements));
                      }
                    })
                .named("ForwardingList[ImmutableList] with standard implementations")
                .withFeatures(CollectionSize.ANY, CollectionFeature.ALLOWS_NULL_QUERIES)
                .createTestSuite());
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Lists.java

       *
       * {@snippet :
       * Lists.cartesianProduct(ImmutableList.of(
       *     ImmutableList.of(1, 2),
       *     ImmutableList.of("A", "B", "C")))
       * }
       *
       * <p>returns a list containing six lists in the following order:
       *
       * <ul>
       *   <li>{@code ImmutableList.of(1, "A")}
       *   <li>{@code ImmutableList.of(1, "B")}
       *   <li>{@code ImmutableList.of(1, "C")}
       *   <li>{@code ImmutableList.of(2, "A")}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 42.2K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/base/PreconditionsTest.java

       */
      private static ImmutableList<ImmutableList<Class<?>>> allSignatures(Class<?> predicateType) {
        ImmutableSet.Builder<ImmutableList<Class<?>>> allOverloads = ImmutableSet.builder();
        // The first two are for the overloads that don't take formatting args, e.g.
        // checkArgument(boolean) and checkArgument(boolean, Object)
        allOverloads.add(ImmutableList.<Class<?>>of(predicateType));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/base/PreconditionsTest.java

       */
      private static ImmutableList<ImmutableList<Class<?>>> allSignatures(Class<?> predicateType) {
        ImmutableSet.Builder<ImmutableList<Class<?>>> allOverloads = ImmutableSet.builder();
        // The first two are for the overloads that don't take formatting args, e.g.
        // checkArgument(boolean) and checkArgument(boolean, Object)
        allOverloads.add(ImmutableList.<Class<?>>of(predicateType));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/base/EquivalenceTest.java

        EquivalenceTester.of(Equivalence.equals().<String>pairwise())
            .addEquivalenceGroup(ImmutableList.<String>of())
            .addEquivalenceGroup(ImmutableList.of("a"))
            .addEquivalenceGroup(ImmutableList.of("b"))
            .addEquivalenceGroup(ImmutableList.of("a", "b"), ImmutableList.of("a", "b"))
            .test();
      }
    
      public void testPairwiseEquivalent_equals() {
        new EqualsTester()
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/base/EquivalenceTest.java

        EquivalenceTester.of(Equivalence.equals().<String>pairwise())
            .addEquivalenceGroup(ImmutableList.<String>of())
            .addEquivalenceGroup(ImmutableList.of("a"))
            .addEquivalenceGroup(ImmutableList.of("b"))
            .addEquivalenceGroup(ImmutableList.of("a", "b"), ImmutableList.of("a", "b"))
            .test();
      }
    
      public void testPairwiseEquivalent_equals() {
        new EqualsTester()
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/io/TempFileCreator.java

                        .build());
            FileAttribute<ImmutableList<AclEntry>> attribute =
                new FileAttribute<ImmutableList<AclEntry>>() {
                  @Override
                  public String name() {
                    return "acl:acl";
                  }
    
                  @Override
                  public ImmutableList<AclEntry> value() {
                    return acl;
                  }
                };
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/JdkBackedImmutableSet.java

     *
     * @author Louis Wasserman
     */
    @GwtIncompatible
    final class JdkBackedImmutableSet<E> extends IndexedImmutableSet<E> {
      private final Set<?> delegate;
      private final ImmutableList<E> delegateList;
    
      JdkBackedImmutableSet(Set<?> delegate, ImmutableList<E> delegateList) {
        this.delegate = delegate;
        this.delegateList = delegateList;
      }
    
      @Override
      E get(int index) {
        return delegateList.get(index);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 01 22:23:20 UTC 2025
    - 1.8K bytes
    - Viewed (0)
Back to top