Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 211 - 220 of 491 for Factory (0.05 seconds)

  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.
     *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Jun 19 17:20:48 GMT 2025
    - 3K bytes
    - Click Count (0)
  2. internal/logger/target/kafka/kafka_scram_client_contrib.go

    // each authentication attempt.
    type XDGSCRAMClient struct {
    	*scram.Client
    	*scram.ClientConversation
    	scram.HashGeneratorFcn
    }
    
    // Begin constructs a SCRAM client component based on a given hash.Hash
    // factory receiver.  This constructor will normalize the username, password
    // and authzID via the SASLprep algorithm, as recommended by RFC-5802.  If
    // SASLprep fails, the method returns an error.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  3. README.md

    ```
    
    ### Gradle Dependency
    ```gradle
    implementation 'org.codelibs:corelib:0.7.0'
    ```
    
    ## 📖 Usage Examples
    
    ### Bean Utilities
    ```java
    import org.codelibs.core.beans.*;
    import org.codelibs.core.beans.factory.BeanDescFactory;
    import org.codelibs.core.beans.util.BeanUtil;
    import org.codelibs.core.beans.util.CopyOptions;
    
    // Bean metadata introspection
    BeanDesc beanDesc = BeanDescFactory.getBeanDesc(MyBean.class);
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sun Aug 31 02:56:02 GMT 2025
    - 12.7K bytes
    - Click Count (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt

       * parameter.
       */
      private fun sampleValuesMap(): Map<Class<*>, Any> {
        TestValueFactory().use { factory ->
          val address = factory.newAddress("a")
          val route = factory.newRoute(address)
          val pool = factory.newConnectionPool()
          val url = "https://example.com/".toHttpUrl()
          val request = Request(url = url)
          val response =
            Response
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Nov 05 18:28:35 GMT 2025
    - 70.5K bytes
    - Click Count (0)
  5. 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).
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 6K bytes
    - Click Count (0)
  6. build-logic-commons/basics/src/main/kotlin/gradlebuild.minify.gradle.kts

                }
            }
        }
        afterEvaluate {
            // Without afterEvaluate, configurations.all runs before the configurations' roles are set.
            // This is yet another reason we need configuration factory methods.
            // workaround for https://github.com/gradle/gradle/issues/12459
            // note: constraints can't be used here because they end up in gradle module metadata
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Dec 25 16:18:05 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  7. 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
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Oct 30 16:15:19 GMT 2024
    - 4.1K bytes
    - Click Count (0)
  8. 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);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 35.4K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

      private Iterable<LoadingCache<Object, Object>> caches() {
        // lots of different ways to configure a LoadingCache
        CacheBuilderFactory factory = cacheFactory();
        return Iterables.transform(
            factory.buildAllPermutations(),
            new Function<CacheBuilder<Object, Object>, LoadingCache<Object, Object>>() {
              @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 30 22:03:28 GMT 2025
    - 15.7K bytes
    - Click Count (0)
  10. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/metadata/HasKotlinFlagsMetadataQuery.kt

        fun match(kmProperty: KmProperty): Boolean
        fun match(kmFunction: KmFunction): Boolean
        fun match(kmPropertyAccessorAttributes: KmPropertyAccessorAttributes): Boolean
    
        companion object Factory {
            fun visibility(visibility: Visibility): AttributePredicate = object: AttributePredicate {
                override fun match(kmClass: KmClass) = kmClass.visibility == visibility
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Jul 04 09:21:38 GMT 2025
    - 5.8K bytes
    - Click Count (0)
Back to Top