Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2371 - 2380 of 3,901 for 1final (0.04 seconds)

  1. android/guava-tests/test/com/google/common/base/VerifyTest.java

        // Don't bother testing: Verify is like Preconditions. See the discussion on that class.
      }
    
      private static final Object IGNORE_ME =
          new Object() {
            @Override
            public String toString() {
              throw new AssertionFailedError();
            }
          };
    
      private static final String FORMAT = "I ate %s pies.";
    
      private static void checkMessage(Exception e) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  2. android/guava-tests/benchmark/com/google/common/math/DoubleMathBenchmark.java

     *
     * @author Louis Wasserman
     */
    @NullUnmarked
    public class DoubleMathBenchmark {
      private static final double[] positiveDoubles = new double[ARRAY_SIZE];
      private static final int[] factorials = new int[ARRAY_SIZE];
      private static final double[] doubles = new double[ARRAY_SIZE];
    
      @BeforeExperiment
      void setUp() {
        for (int i = 0; i < ARRAY_SIZE; i++) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 2.6K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/base/Absent.java

    import java.util.Collections;
    import java.util.Set;
    import org.jspecify.annotations.Nullable;
    
    /** Implementation of an {@link Optional} not containing a reference. */
    @GwtCompatible
    final class Absent<T> extends Optional<T> {
      static final Absent<Object> INSTANCE = new Absent<>();
    
      @SuppressWarnings("unchecked") // implementation is "fully variant"
      static <T> Optional<T> withType() {
        return (Optional<T>) INSTANCE;
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Apr 15 22:14:00 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/NullsFirstOrdering.java

    import org.jspecify.annotations.Nullable;
    
    /** An ordering that treats {@code null} as less than all other values. */
    @GwtCompatible
    final class NullsFirstOrdering<T extends @Nullable Object> extends Ordering<@Nullable T>
        implements Serializable {
      final Ordering<? super T> ordering;
    
      NullsFirstOrdering(Ordering<? super T> ordering) {
        this.ordering = ordering;
      }
    
      @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Jun 04 13:03:16 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/Streams.java

          }
        }
      }
    
      // Use this carefully - it doesn't implement value semantics
      private static final class TemporaryPair<A extends @Nullable Object, B extends @Nullable Object> {
        @ParametricNullness final A a;
        @ParametricNullness final B b;
    
        TemporaryPair(@ParametricNullness A a, @ParametricNullness B b) {
          this.a = a;
          this.b = b;
        }
      }
    
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 21 15:40:45 GMT 2025
    - 36.8K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/primitives/Booleans.java

          return Collections.emptyList();
        }
        return new BooleanArrayAsList(backingArray);
      }
    
      private static final class BooleanArrayAsList extends AbstractList<Boolean>
          implements RandomAccess, Serializable {
        final boolean[] array;
        final int start;
        final int end;
    
        BooleanArrayAsList(boolean[] array) {
          this(array, 0, array.length);
        }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Sep 25 15:01:23 GMT 2025
    - 20.6K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

     *       lazy {@link #asList} view).
     * </ul>
     *
     * @since 22.0
     */
    @GwtCompatible
    @Immutable
    public final class ImmutableLongArray implements Serializable {
      private static final ImmutableLongArray EMPTY = new ImmutableLongArray(new long[0]);
    
      /** Returns the empty array. */
      public static ImmutableLongArray of() {
        return EMPTY;
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Dec 12 14:49:24 GMT 2025
    - 22K bytes
    - Click Count (0)
  8. guava/src/com/google/common/primitives/Booleans.java

          return Collections.emptyList();
        }
        return new BooleanArrayAsList(backingArray);
      }
    
      private static final class BooleanArrayAsList extends AbstractList<Boolean>
          implements RandomAccess, Serializable {
        final boolean[] array;
        final int start;
        final int end;
    
        BooleanArrayAsList(boolean[] array) {
          this(array, 0, array.length);
        }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Sep 25 15:01:23 GMT 2025
    - 20.6K bytes
    - Click Count (0)
  9. guava/src/com/google/common/primitives/ImmutableIntArray.java

     *       lazy {@link #asList} view).
     * </ul>
     *
     * @since 22.0
     */
    @GwtCompatible
    @Immutable
    public final class ImmutableIntArray implements Serializable {
      private static final ImmutableIntArray EMPTY = new ImmutableIntArray(new int[0]);
    
      /** Returns the empty array. */
      public static ImmutableIntArray of() {
        return EMPTY;
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Dec 12 14:49:24 GMT 2025
    - 21.5K bytes
    - Click Count (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/google/ReflectionFreeAssertThrows.java

    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /** Replacements for JUnit's {@code assertThrows} that work under GWT/J2CL. */
    @GwtCompatible
    @NullMarked
    final class ReflectionFreeAssertThrows {
      interface ThrowingRunnable {
        void run() throws Throwable;
      }
    
      interface ThrowingSupplier {
        @Nullable Object get() throws Throwable;
      }
    
      @CanIgnoreReturnValue
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 6.3K bytes
    - Click Count (0)
Back to Top