Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 319 for INSTANCES (0.04 sec)

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

      }
    
      private <T> T pickInstance(T[] instances, T defaultValue) {
        return pickInstance(Arrays.asList(instances), defaultValue);
      }
    
      private <T> T pickInstance(Collection<T> instances, T defaultValue) {
        if (instances.isEmpty()) {
          return defaultValue;
        }
        // generateInt() is 1-based.
        return Iterables.get(instances, (generateInt() - 1) % instances.size());
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 28.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/ComparisonChainTest.java

        ImmutableList<Foo> instances =
            ImmutableList.of(
                new Foo("a", 1, TriState.TRUE),
                new Foo("a", 2, TriState.TRUE),
                new Foo("b", 1, TriState.FALSE),
                new Foo("b", 1, TriState.TRUE),
                new Foo("b", 1, null));
        for (Foo a : instances) {
          for (Foo b : instances) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 03:05:13 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

       *       is used to construct the sample instances. In case of tie, the candidate constructors or
       *       factories are tried one after another until one can be used to construct sample
       *       instances.
       *   <li>For the constructor or static factory method used to construct instances, it's checked
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/dict/DictionaryManager.java

     * This class provides functionality to retrieve, store, and manage various
     * dictionary files such as synonyms, kuromoji, protwords, and stopwords.
     * It coordinates with DictionaryCreator instances to handle different
     * dictionary types and manages file synchronization through ConfigSync.
     *
     */
    public class DictionaryManager {
        private static final Logger logger = LogManager.getLogger(DictionaryManager.class);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/io/CharSource.java

     * CharSource} is not an open, stateful stream of characters that can be read and closed. Instead,
     * it is an immutable <i>supplier</i> of {@code Reader} instances.
     *
     * <p>{@code CharSource} provides two kinds of methods:
     *
     * <ul>
     *   <li><b>Methods that return a reader:</b> These methods should return a <i>new</i>, independent
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  6. guava/src/com/google/common/io/CharSource.java

     * CharSource} is not an open, stateful stream of characters that can be read and closed. Instead,
     * it is an immutable <i>supplier</i> of {@code Reader} instances.
     *
     * <p>{@code CharSource} provides two kinds of methods:
     *
     * <ul>
     *   <li><b>Methods that return a reader:</b> These methods should return a <i>new</i>, independent
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/graph/ImmutableValueGraph.java

    import com.google.errorprone.annotations.Immutable;
    import com.google.errorprone.annotations.InlineMe;
    
    /**
     * A {@link ValueGraph} whose elements and structural relationships will never change. Instances of
     * this class may be obtained with {@link #copyOf(ValueGraph)}.
     *
     * <p>See the Guava User's Guide's <a
     * href="https://github.com/google/guava/wiki/GraphsExplained#immutable-implementations">discussion
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  8. android/guava-tests/benchmark/com/google/common/collect/SetIterationBenchmark.java

    import com.google.common.collect.CollectionBenchmarkSampleData.Element;
    import java.util.Set;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Test iteration speed at various size for {@link Set} instances.
     *
     * @author Christopher Swenson
     */
    @NullUnmarked
    public class SetIterationBenchmark {
      @Param({
        "3", "6", "11", "23", "45", "91", "181", "362", "724", "1448", "2896", "5793", "11585", "23170",
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2K bytes
    - Viewed (0)
  9. android/guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java

      }
    
      private static void assertFreshInstance(Class<?> type, int instances) {
        assertFreshInstance(TypeToken.of(type), instances);
      }
    
      private static void assertFreshInstance(TypeToken<?> type, int instances) {
        FreshValueGenerator generator = new FreshValueGenerator();
        EqualsTester tester = new EqualsTester();
        for (int i = 0; i < instances; i++) {
          tester.addEqualityGroup(generator.generateFresh(type));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/MapDifference.java

       * given object is also a {@code MapDifference} and the values returned by the {@link
       * #entriesOnlyOnLeft()}, {@link #entriesOnlyOnRight()}, {@link #entriesInCommon()} and {@link
       * #entriesDiffering()} of the two instances are equal.
       */
      @Override
      boolean equals(@Nullable Object object);
    
      /**
       * Returns the hash code for this instance. This is defined as the hash code of
       *
       * {@snippet :
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 3.4K bytes
    - Viewed (0)
Back to top