Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 266 for Factory (0.03 sec)

  1. android/guava/src/com/google/common/base/Supplier.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * A class that can supply objects of a single type; a pre-Java-8 version of {@link
     * java.util.function.Supplier java.util.function.Supplier}. Semantically, this could be a factory,
     * generator, builder, closure, or something else entirely. No guarantees are implied by this
     * interface.
     *
     * <p>The {@link Suppliers} class provides common suppliers and related utilities.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jun 19 17:20:48 UTC 2025
    - 3K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/features/MapFeature.java

      RESTRICTS_KEYS,
      RESTRICTS_VALUES,
      SUPPORTS_PUT,
      SUPPORTS_REMOVE,
      FAILS_FAST_ON_CONCURRENT_MODIFICATION,
      /**
       * Indicates that the constructor or factory method of a map, usually an immutable map, throws an
       * {@link IllegalArgumentException} when presented with duplicate keys instead of discarding all
       * but one.
       */
      REJECTS_DUPLICATES_AT_CREATION,
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jan 30 16:59:10 UTC 2025
    - 3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/EnumMultisetTest.java

        ms.add(Color.RED, 2);
    
        Set<Object> uniqueEntries = Sets.newIdentityHashSet();
        uniqueEntries.addAll(ms.entrySet());
        assertEquals(3, uniqueEntries.size());
      }
    
      // Wrapper of EnumMultiset factory methods, because we need to skip create(Class).
      // create(Enum1.class) is equal to create(Enum2.class) but testEquals() expects otherwise.
      // For the same reason, we need to skip create(Iterable, Class).
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/ListsTest.java

      public void testNewLinkedListEmpty() {
        @SuppressWarnings("UseCollectionConstructor") // test of factory method
        LinkedList<Integer> list = Lists.newLinkedList();
        assertEquals(emptyList(), list);
      }
    
      public void testNewLinkedListFromCollection() {
        @SuppressWarnings("UseCollectionConstructor") // test of factory method
        LinkedList<Integer> list = Lists.newLinkedList(SOME_COLLECTION);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.4K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/features/CollectionFeature.java

       * collections. If not specified, the collection tests will examine the value returned by {@link
       * Object#toString}.
       */
      NON_STANDARD_TOSTRING,
    
      /**
       * Indicates that the constructor or factory method of a collection, usually an immutable set,
       * throws an {@link IllegalArgumentException} when presented with duplicate elements instead of
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/RegularImmutableTable.java

                : ImmutableSet.copyOf(ImmutableList.sortedCopyOf(columnComparator, columnSpaceBuilder));
    
        return forOrderedComponents(cellList, rowSpace, columnSpace);
      }
    
      /** A factory that chooses the most space-efficient representation of the table. */
      static <R, C, V> RegularImmutableTable<R, C, V> forOrderedComponents(
          ImmutableList<Cell<R, C, V>> cellList,
          ImmutableSet<R> rowSpace,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Apr 08 13:05:15 UTC 2025
    - 7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/util/ErrorToWarnRewritePolicy.java

                        return event;
                    }
                    return new Log4jLogEvent.Builder(event).setLevel(Level.WARN).build();
                }
            }
            return event;
        }
    
        /**
         * Factory method to create an ErrorToWarnRewritePolicy instance.
         *
         * @param loggerNamePrefix comma-separated list of logger name prefixes
         * @return a new ErrorToWarnRewritePolicy instance
         */
        @PluginFactory
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/MapCreationTester.java

    import java.lang.reflect.Method;
    import java.util.List;
    import java.util.Map.Entry;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests creation (typically through a constructor or static factory
     * method) of a map. Can't be invoked directly; please see {@link
     * com.google.common.collect.testing.MapTestSuiteBuilder}.
     *
     * @author Chris Povirk
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/exec/ThumbnailGenerator.java

    import org.kohsuke.args4j.Option;
    import org.lastaflute.di.core.external.GenericExternalContext;
    import org.lastaflute.di.core.external.GenericExternalContextComponentDefRegister;
    import org.lastaflute.di.core.factory.SingletonLaContainerFactory;
    import org.opensearch.monitor.jvm.JvmInfo;
    import org.opensearch.monitor.os.OsProbe;
    import org.opensearch.monitor.process.ProcessProbe;
    
    import jakarta.annotation.Resource;
    
    /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/beans/BeanDesc.java

     */
    package org.codelibs.core.beans;
    
    import java.lang.reflect.Type;
    import java.lang.reflect.TypeVariable;
    import java.util.Map;
    
    import org.codelibs.core.beans.factory.BeanDescFactory;
    
    /**
     * Interface for handling JavaBeans metadata.
     * <p>
     * Instances of {@link BeanDesc} are obtained from {@link BeanDescFactory}.
     * </p>
     *
     * <pre>
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 24 01:52:43 UTC 2025
    - 7.9K bytes
    - Viewed (0)
Back to top