Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2041 - 2050 of 2,861 for links (0.02 sec)

  1. android/guava-tests/test/com/google/common/math/DoubleUtilsTest.java

    import static org.junit.Assert.assertThrows;
    
    import java.lang.reflect.Method;
    import java.math.BigInteger;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for {@link DoubleUtils}.
     *
     * @author Louis Wasserman
     */
    @NullUnmarked
    public class DoubleUtilsTest extends TestCase {
      @AndroidIncompatible // no FpUtils and no Math.nextDown in old versions
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/TransposedTableTest.java

    import static com.google.common.collect.Tables.transpose;
    
    import com.google.common.annotations.GwtCompatible;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Test cases for {@link Tables#transpose}.
     *
     * @author Jared Levy
     */
    @GwtCompatible
    @NullMarked
    public class TransposedTableTest extends AbstractTableTest<Character> {
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/primitives/PrimitivesTest.java

    import com.google.common.testing.NullPointerTester;
    import java.util.Set;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unit test for {@link Primitives}.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @NullUnmarked
    public class PrimitivesTest extends TestCase {
      public void testIsWrapperType() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/LenientSerializableTester.java

    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.util.Collection;
    import java.util.Set;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Variant of {@link SerializableTester} that does not require the reserialized object's class to be
     * identical to the original.
     *
     * @author Chris Povirk
     */
    /*
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/FilteredMultimapValues.java

    import java.util.AbstractCollection;
    import java.util.Collection;
    import java.util.Iterator;
    import java.util.Map.Entry;
    import java.util.Objects;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Implementation for {@link FilteredMultimap#values()}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    final class FilteredMultimapValues<K extends @Nullable Object, V extends @Nullable Object>
        extends AbstractCollection<V> {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/RegularImmutableList.java

    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.annotations.VisibleForTesting;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Implementation of {@link ImmutableList} backed by a simple array.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @SuppressWarnings("serial") // uses writeReplace(), not default serialization
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/reflect/TypeParameter.java

    import java.lang.reflect.Type;
    import java.lang.reflect.TypeVariable;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Captures a free type variable that can be used in {@link TypeToken#where}. For example:
     *
     * {@snippet :
     * static <T> TypeToken<List<T>> listOf(Class<T> elementType) {
     *   return new TypeToken<List<T>>() {}
     *       .where(new TypeParameter<T>() {}, elementType);
     * }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/base/VerifyTest.java

    import com.google.common.annotations.J2ktIncompatible;
    import junit.framework.AssertionFailedError;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /** Unit test for {@link com.google.common.base.Verify}. */
    @GwtCompatible
    @NullUnmarked
    public class VerifyTest extends TestCase {
      public void testVerify_simple_success() {
        verify(true);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  9. guava-tests/benchmark/com/google/common/base/ObjectsBenchmark.java

     * limitations under the License.
     */
    
    package com.google.common.base;
    
    import com.google.caliper.Benchmark;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Some microbenchmarks for the {@link com.google.common.base.Objects} class.
     *
     * @author Ben L. Titzer
     */
    @NullUnmarked
    public class ObjectsBenchmark {
    
      private static final Integer I0 = -45;
      private static final Integer I1 = -1;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/net/UrlEscapersTest.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.escape.UnicodeEscaper;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for the {@link UrlEscapers} class.
     *
     * @author David Beaumont
     */
    @GwtCompatible
    @NullUnmarked
    public class UrlEscapersTest extends TestCase {
      public void testUrlFormParameterEscaper() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.7K bytes
    - Viewed (0)
Back to top