Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1781 - 1790 of 3,742 for Extend (0.03 sec)

  1. android/guava-testlib/test/com/google/common/collect/testing/MinimalCollectionTest.java

    import junit.framework.TestCase;
    
    /**
     * Unit test for {@link MinimalCollection}.
     *
     * @author Kevin Bourrillion
     */
    @AndroidIncompatible // test-suite builders
    public class MinimalCollectionTest extends TestCase {
      public static Test suite() {
        return CollectionTestSuiteBuilder.using(
                new TestStringCollectionGenerator() {
                  @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 25 16:19:30 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/FinalizableSoftReference.java

     * ReferenceQueue}.
     *
     * @author Bob Lee
     * @since 2.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    public abstract class FinalizableSoftReference<T> extends SoftReference<T>
        implements FinalizableReference {
      /**
       * Constructs a new finalizable soft reference.
       *
       * @param referent to softly reference
       * @param queue that should finalize the referent
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/UsingToStringOrdering.java

    import com.google.common.annotations.J2ktIncompatible;
    import java.io.Serializable;
    
    /** An ordering that uses the natural order of the string representation of the values. */
    @GwtCompatible
    final class UsingToStringOrdering extends Ordering<Object> implements Serializable {
      static final UsingToStringOrdering INSTANCE = new UsingToStringOrdering();
    
      @Override
      public int compare(Object left, Object right) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jun 04 13:03:16 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/MapsTransformValuesTest.java

    import org.jspecify.annotations.NullMarked;
    
    /**
     * Tests for {@link Maps#transformValues(Map, Function)}.
     *
     * @author Isaac Shum
     */
    @GwtCompatible
    @NullMarked
    public class MapsTransformValuesTest extends AbstractMapsTransformValuesTest {
      @Override
      protected Map<String, String> makeEmptyMap() {
        return transformValues(new HashMap<String, String>(), Functions.<String>identity());
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/CountTest.java

    import junit.framework.TestCase;
    import org.jspecify.annotations.NullMarked;
    
    /**
     * Tests for {@code Count}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @NullMarked
    public class CountTest extends TestCase {
      public void testGet() {
        assertEquals(20, new Count(20).get());
      }
    
      public void testGetAndAdd() {
        Count holder = new Count(20);
        assertEquals(20, holder.get());
        holder.add(1);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/UnmodifiableIteratorTest.java

    import org.jspecify.annotations.NullMarked;
    
    /**
     * Tests for {@link UnmodifiableIterator}.
     *
     * @author Jared Levy
     */
    @GwtCompatible
    @NullMarked
    public class UnmodifiableIteratorTest extends TestCase {
    
      @SuppressWarnings("DoNotCall")
      public void testRemove() {
        String[] array = {"a", "b", "c"};
    
        Iterator<String> iterator =
            new UnmodifiableIterator<String>() {
              int i;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/UnmodifiableRowSortedTableRowTest.java

    import com.google.common.collect.TableCollectionTest.RowTests;
    import java.util.Map;
    import org.jspecify.annotations.NullMarked;
    
    @GwtCompatible
    @NullMarked
    public class UnmodifiableRowSortedTableRowTest extends RowTests {
      public UnmodifiableRowSortedTableRowTest() {
        super(false, false, false, false, false);
      }
    
      @Override
      Table<Character, String, Integer> makeTable() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/UnmodifiableTableColumnMapTest.java

    import com.google.common.collect.TableCollectionTest.ColumnMapTests;
    import java.util.Map;
    import org.jspecify.annotations.NullMarked;
    
    @GwtCompatible
    @NullMarked
    public class UnmodifiableTableColumnMapTest extends ColumnMapTests {
      public UnmodifiableTableColumnMapTest() {
        super(false, false, false, false);
      }
    
      @Override
      Table<Integer, String, Character> makeTable() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/UnmodifiableTableColumnTest.java

    import com.google.common.collect.TableCollectionTest.ColumnTests;
    import java.util.Map;
    import org.jspecify.annotations.NullMarked;
    
    @GwtCompatible
    @NullMarked
    public class UnmodifiableTableColumnTest extends ColumnTests {
      public UnmodifiableTableColumnTest() {
        super(false, false, false, false, false);
      }
    
      @Override
      Table<String, Character, Integer> makeTable() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/testers/MapSizeTester.java

    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class MapSizeTester<K, V> extends AbstractMapTester<K, V> {
      public void testSize() {
        assertEquals("size():", getNumElements(), getMap().size());
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 1.4K bytes
    - Viewed (0)
Back to top