Search Options

Results per page
Sort
Preferred Languages
Advance

Results 5251 - 5260 of 6,972 for Class3 (0.03 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/UnhashableObject.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * An unhashable object to be used in testing as values in our collections.
     *
     * @author Regina O'Dell
     */
    @GwtCompatible
    public class UnhashableObject implements Comparable<UnhashableObject> {
      private final int value;
    
      public UnhashableObject(int value) {
        this.value = value;
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Apr 10 20:12:40 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/collect/InternersBenchmark.java

    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Benchmarking interners.
     *
     * @author Dimitris Andreou
     */
    @NullUnmarked
    public class InternersBenchmark {
      @CanIgnoreReturnValue
      @Benchmark
      int weakInterner(int reps) {
        Interner<String> interner = Interners.newWeakInterner();
        for (int i = 0; i < reps; i++) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Feb 11 19:03:19 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/FinalizableSoftReference.java

     * the garbage collector reclaims the referent. This is a simpler alternative to using a {@link
     * 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
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  4. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/RegularImmutableMultiset.java

     * the License.
     */
    package com.google.common.collect;
    
    import java.util.Collection;
    import org.jspecify.annotations.Nullable;
    
    /** Never actually created; instead delegates to JdkBackedImmutableMultiset. */
    final class RegularImmutableMultiset<E> extends ImmutableMultiset<E> {
      static final ImmutableMultiset<Object> EMPTY =
          JdkBackedImmutableMultiset.create(ImmutableList.of());
    
      RegularImmutableMultiset() {}
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 14:59:07 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  5. 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)
  6. guava-tests/test/com/google/common/collect/MapsTransformValuesTest.java

    import java.util.Map;
    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());
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  7. 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());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/UnmodifiableRowSortedTableRowTest.java

    import com.google.common.annotations.GwtCompatible;
    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)
  9. guava-tests/test/com/google/common/collect/UnmodifiableTableColumnMapTest.java

    import com.google.common.annotations.GwtCompatible;
    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)
  10. guava-tests/test/com/google/common/collect/UnmodifiableTableColumnTest.java

    import com.google.common.annotations.GwtCompatible;
    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)
Back to top