Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 2,085 for instances (0.04 sec)

  1. guava/src/com/google/common/base/Enums.java

    import java.util.EnumSet;
    import java.util.HashMap;
    import java.util.Map;
    import java.util.WeakHashMap;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Utility methods for working with {@link Enum} instances.
     *
     * @author Steve McKay
     * @since 9.0
     */
    @GwtIncompatible
    @J2ktIncompatible
    public final class Enums {
    
      private Enums() {}
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 01 13:41:58 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/Joiner.java

     * methods will throw {@link NullPointerException} if any given element is null.
     *
     * <p><b>Warning: joiner instances are always immutable</b>; a configuration method such as {@code
     * useForNull} has no effect on the instance it is invoked on! You must store and use the new joiner
     * instance returned by the method. This makes joiners thread-safe, and safe to store as {@code
     * static final} constants.
     *
     * {@snippet :
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 15:16:19 UTC 2025
    - 21K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/eventbus/Subscriber.java

        return (31 + method.hashCode()) * 31 + System.identityHashCode(target);
      }
    
      @Override
      public final boolean equals(@Nullable Object obj) {
        if (obj instanceof Subscriber) {
          Subscriber that = (Subscriber) obj;
          // Use == so that different equal instances will still receive events.
          // We only guard against the case that the same object is registered
          // multiple times
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  4. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlNode.java

                    .build();
        }
    
        /**
         * Returns a new builder for creating XmlNode instances.
         *
         * @return a new Builder instance
         */
        static Builder newBuilder() {
            return new Builder();
        }
    
        /**
         * Builder class for creating XmlNode instances.
         * <p>
         * This builder provides a fluent API for setting the various properties of an XML node.
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sat Jul 19 11:09:56 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  5. android/guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

      public void testAddNullReference() {
        assertThrows(NullPointerException.class, () -> equalsTester.addEqualityGroup((Object) null));
      }
    
      /** Test equalObjects after adding multiple instances at once with a null */
      public void testAddTwoEqualObjectsAtOnceWithNull() {
        assertThrows(
            NullPointerException.class,
            () -> equalsTester.addEqualityGroup(reference, equalObject1, null));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/ExtensibleEnums.java

     * This class provides factory methods for creating instances of extensible enums
     * such as Language, PathScope, and ProjectScope.
     *
     * @since 4.0.0
     */
    abstract class ExtensibleEnums {
    
        /**
         * Creates a new Language instance with the specified ID.
         *
         * @param id the identifier for the language
         * @return a new Language instance
         */
        static Language language(String id) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/UncaughtExceptionHandlers.java

    import com.google.common.annotations.VisibleForTesting;
    import java.lang.Thread.UncaughtExceptionHandler;
    import java.util.Locale;
    
    /**
     * Factories for {@link UncaughtExceptionHandler} instances.
     *
     * @author Gregory Kick
     * @since 8.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    public final class UncaughtExceptionHandlers {
      private UncaughtExceptionHandlers() {}
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Feb 10 21:03:40 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  8. docs/multi-tenancy/README.md

    ![Example-2](https://github.com/minio/minio/blob/master/docs/screenshots/Example-2.jpg?raw=true)
    
    ## 2. Distributed Deployment
    
    To host multiple tenants in a distributed environment, run several distributed MinIO Server instances concurrently.
    
    ### 2.1 Host Multiple Tenants on Multiple Drives (Erasure Code)
    
    Use the following commands to host 3 tenants on a 4-node distributed configuration:
    
    ```sh
    export MINIO_ROOT_USER=<TENANT1_ACCESS_KEY>
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

          Class<T> interfaceType, Function<? super T, ? extends T> wrapperFunction) {
        FreshValueGenerator generator = new FreshValueGenerator();
        T instance = generator.newFreshProxy(interfaceType);
        new EqualsTester()
            .addEqualityGroup(wrapperFunction.apply(instance), wrapperFunction.apply(instance))
            .addEqualityGroup(wrapperFunction.apply(generator.newFreshProxy(interfaceType)))
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/Futures.java

      public static <V extends @Nullable Object> ListenableFuture<V> immediateCancelledFuture() {
        ListenableFuture<Object> instance = ImmediateCancelledFuture.INSTANCE;
        if (instance != null) {
          return (ListenableFuture<V>) instance;
        }
        return new ImmediateCancelledFuture<>();
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 64.3K bytes
    - Viewed (0)
Back to top