Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for impls (0.15 sec)

  1. android/guava/src/com/google/common/reflect/TypeToken.java

        return Types.toString(runtimeType);
      }
    
      /** Implemented to support serialization of subclasses. */
      protected Object writeReplace() {
        // TypeResolver just transforms the type to our own impls that are Serializable
        // except TypeVariable.
        return of(new TypeResolver().resolveType(runtimeType));
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 53.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ImmutableSetTest.java

        ImmutableSet<String> set =
            ImmutableSet.of("a", "b", "c", "c", "c", "c", "b", "b", "a", "a", "c", "c", "c", "a");
        assertThat(set).containsExactly("a", "b", "c").inOrder();
      }
    
      @GwtIncompatible("Builder impl")
      public void testBuilderForceCopy() {
        ImmutableSet.Builder<Integer> builder = ImmutableSet.builder();
        builder.add(-1);
        Object[] prevArray = null;
        for (int i = 0; i < 10; i++) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 13.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/Predicate.java

       * <i>typically</i> means that {@code this.apply(t) == that.apply(t)} for all {@code t} of type
       * {@code T}). Note that a {@code false} result from this method does not imply that the
       * predicates are known <i>not</i> to be interchangeable.
       */
      @Override
      boolean equals(@CheckForNull Object object);
    
      @Override
      default boolean test(@ParametricNullness T input) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/ListsImplTest.java

    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /** Tests the package level *impl methods directly using various types of lists. */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public class ListsImplTest extends TestCase {
    
      /** Describes how a list is modifiable */
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 26 16:35:21 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/math/LongMath.java

        72,
        70,
        69,
        68,
        67,
        67,
        66,
        66,
        66,
        66
      };
    
      /*
       * binomial(biggestSimpleBinomials[k], k) doesn't need to use the slower GCD-based impl, but
       * binomial(biggestSimpleBinomials[k] + 1, k) does.
       */
      @VisibleForTesting
      static final int[] biggestSimpleBinomials = {
        Integer.MAX_VALUE,
        Integer.MAX_VALUE,
        Integer.MAX_VALUE,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 44.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableSet.java

           */
          copyIfNecessary();
          this.impl = this.impl.combine(other.impl);
          return this;
        }
    
        @Override
        public ImmutableSet<E> build() {
          requireNonNull(impl); // see the comment on the field
          forceCopy = true;
          impl = impl.review();
          return impl.build();
        }
      }
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 35.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/Predicate.java

       * <i>typically</i> means that {@code this.apply(t) == that.apply(t)} for all {@code t} of type
       * {@code T}). Note that a {@code false} result from this method does not imply that the
       * predicates are known <i>not</i> to be interchangeable.
       */
      @Override
      boolean equals(@CheckForNull Object object);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/testing/EqualsTester.java

       * equal to any other equality groups added to this tester.
       *
       * <p>The {@code @Nullable} annotations on the {@code equalityGroup} parameter imply that the
       * objects, and the array itself, can be null. That is for programmer convenience, when the
       * objects come from factory methods that are themselves {@code @Nullable}. In reality neither the
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Oct 31 19:11:50 GMT 2023
    - 6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/ListsImplTest.java

    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /** Tests the package level *impl methods directly using various types of lists. */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public class ListsImplTest extends TestCase {
    
      /** Describes how a list is modifiable */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 16:35:21 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableRangeSet.java

       * Returns an {@link ImmutableSortedSet} containing the same values in the given domain
       * {@linkplain RangeSet#contains contained} by this range set.
       *
       * <p><b>Note:</b> {@code a.asSet(d).equals(b.asSet(d))} does not imply {@code a.equals(b)}! For
       * example, {@code a} and {@code b} could be {@code [2..4]} and {@code (1..5)}, or the empty
       * ranges {@code [3..3)} and {@code [4..4)}.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 26.9K bytes
    - Viewed (0)
Back to top