Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 391 - 400 of 1,118 for setA (0.12 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

        return generateTreeSet(freshElement);
      }
    
      @Generates
      static <E extends Comparable<? super E>> TreeSet<E> generateTreeSet(E freshElement) {
        TreeSet<E> set = Sets.newTreeSet();
        set.add(freshElement);
        return set;
      }
    
      @Generates
      static <E extends Comparable<? super E>> ImmutableSortedSet<E> generateImmutableSortedSet(
          E freshElement) {
        return ImmutableSortedSet.of(freshElement);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:45:58 GMT 2026
    - 28.7K bytes
    - Click Count (0)
  2. guava-testlib/src/com/google/common/testing/FakeTicker.java

       *
       * @since 28.0
       */
      @GwtIncompatible
      @J2ktIncompatible
      @CanIgnoreReturnValue
      public FakeTicker advance(Duration duration) {
        return advance(duration.toNanos());
      }
    
      /**
       * Sets the increment applied to the ticker whenever it is queried.
       *
       * <p>The default behavior is to auto increment by zero. i.e: The ticker is left unchanged when
       * queried.
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Apr 14 15:16:19 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/ArrayTable.java

          return null;
        }
        return set(rowIndex, columnIndex, null);
      }
    
      // TODO(jlevy): Add eraseRow and eraseColumn methods?
    
      @Override
      public int size() {
        return rowList.size() * columnList.size();
      }
    
      /**
       * Returns an unmodifiable set of all row key / column key / value triplets. Changes to the table
       * will update the returned set.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Aug 13 19:39:21 GMT 2025
    - 26.2K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/util/concurrent/SimpleTimeLimiter.java

        throw e;
      }
    
      private static Set<Method> findInterruptibleMethods(Class<?> interfaceType) {
        Set<Method> set = new HashSet<>();
        for (Method m : interfaceType.getMethods()) {
          if (declaresInterruptedEx(m)) {
            set.add(m);
          }
        }
        return set;
      }
    
      private static boolean declaresInterruptedEx(Method method) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 08 18:35:13 GMT 2025
    - 9.6K bytes
    - Click Count (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/CollectionTestSuiteBuilder.java

        }
    
        @Override
        public Iterable<E> order(List<E> insertionOrder) {
          return gen.order(insertionOrder);
        }
      }
    
      private static Set<Feature<?>> computeReserializedCollectionFeatures(Set<Feature<?>> features) {
        Set<Feature<?>> derivedFeatures = new HashSet<>(features);
        derivedFeatures.remove(SERIALIZABLE);
        derivedFeatures.remove(SERIALIZABLE_INCLUDING_VIEWS);
        return derivedFeatures;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/graph/BaseGraph.java

    package com.google.common.graph;
    
    import java.util.Set;
    
    /**
     * A non-public interface for the methods shared between {@link Graph} and {@link ValueGraph}.
     *
     * @author James Sexton
     * @param <N> Node parameter type
     */
    interface BaseGraph<N> extends ArchetypeGraph<N> {
      //
      // Graph-level accessors
      //
    
      /** Returns all edges in this graph. */
      Set<EndpointPair<N>> edges();
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Nov 11 17:11:16 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  7. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/SinceAndIncubatingRulesKotlinTest.kt

            fun String.fooExt() {}
    
            fun Int.fooExt() {}
    
            val String.barExt: String
                get() = "bar"
    
            var Int.bazarExt: String
                get() = "bar"
                set(value) = Unit
    
            operator fun String.invoke(p: String, block: String.() -> Unit) = Unit
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Jun 06 17:52:09 GMT 2025
    - 17.8K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/MultimapBuilder.java

      private static final class HashSetSupplier<V extends @Nullable Object>
          implements Supplier<Set<V>>, Serializable {
        private final int expectedValuesPerKey;
    
        HashSetSupplier(int expectedValuesPerKey) {
          this.expectedValuesPerKey = checkNonnegative(expectedValuesPerKey, "expectedValuesPerKey");
        }
    
        @Override
        public Set<V> get() {
          return Platform.newHashSetWithExpectedSize(expectedValuesPerKey);
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 18K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/MultimapBuilder.java

      private static final class HashSetSupplier<V extends @Nullable Object>
          implements Supplier<Set<V>>, Serializable {
        private final int expectedValuesPerKey;
    
        HashSetSupplier(int expectedValuesPerKey) {
          this.expectedValuesPerKey = checkNonnegative(expectedValuesPerKey, "expectedValuesPerKey");
        }
    
        @Override
        public Set<V> get() {
          return Platform.newHashSetWithExpectedSize(expectedValuesPerKey);
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 18K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/math/QuantilesAlgorithmTest.java

    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.collect.ImmutableSet;
    import com.google.common.collect.Sets;
    import java.util.Map;
    import java.util.Random;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 3.7K bytes
    - Click Count (0)
Back to Top