Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for solution (0.04 sec)

  1. guava/src/com/google/common/collect/Comparators.java

        return optional.orElse(null);
      }
    
      /**
       * Returns the minimum of the two values. If the values compare as 0, the first is returned.
       *
       * <p>The recommended solution for finding the {@code minimum} of some values depends on the type
       * of your data and the number of elements you have. Read more in the Guava User Guide article on
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java

        }
    
        @Override
        public E aboveSamplesGreater() {
          throw new UnsupportedOperationException();
        }
      }
    
      /*
       * TODO(cpovirk): surely we can find a less ugly solution than a class that accepts 3 parameters,
       * exposes as many getters, does work in the constructor, and has both a superclass and a subclass
       */
      public static class SortedMapSubmapTestMapGenerator<
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jan 30 16:59:10 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/eventbus/EventBus.java

     *
     * <p>Event subscriber methods must accept only one argument: the event.
     *
     * <p>Subscribers should not, in general, throw. If they do, the EventBus will catch and log the
     * exception. This is rarely the right solution for error handling and should not be relied upon; it
     * is intended solely to help find problems during development.
     *
     * <p>The EventBus guarantees that it will not call a subscriber method from multiple threads
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/reflect/TypeResolver.java

          return resolveGenericArrayType((GenericArrayType) type);
        } else if (type instanceof WildcardType) {
          return resolveWildcardType((WildcardType) type);
        } else {
          // if Class<?>, no resolution needed, we are done.
          return type;
        }
      }
    
      @CanIgnoreReturnValue
      Type[] resolveTypesInPlace(Type[] types) {
        for (int i = 0; i < types.length; i++) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/io/TempFileCreator.java

        // Android isolates apps' temporary directories since Jelly Bean:
        // https://github.com/google/guava/issues/4011#issuecomment-770020802
        // So we can create files there with any permissions and still get security from the isolation.
        return new JavaIoCreator();
      }
    
      /**
       * Creates the permissions normally used for Windows filesystems, looking up the user afresh, even
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/reflect/TypeResolver.java

          return resolveGenericArrayType((GenericArrayType) type);
        } else if (type instanceof WildcardType) {
          return resolveWildcardType((WildcardType) type);
        } else {
          // if Class<?>, no resolution needed, we are done.
          return type;
        }
      }
    
      @CanIgnoreReturnValue
      Type[] resolveTypesInPlace(Type[] types) {
        for (int i = 0; i < types.length; i++) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/net/HttpHeaders.java

      public static final String ORIGIN = "Origin";
    
      /**
       * The HTTP <a href="https://github.com/WICG/origin-isolation">{@code Origin-Isolation}</a> header
       * field name.
       *
       * @since 30.1
       */
      public static final String ORIGIN_ISOLATION = "Origin-Isolation";
    
      /** The HTTP {@code Proxy-Authorization} header field name. */
      public static final String PROXY_AUTHORIZATION = "Proxy-Authorization";
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Mar 27 20:37:16 UTC 2025
    - 35.4K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/io/FilesSimplifyPathTest.java

      public void testConsecutiveParentsAfterPresent() {
        assertEquals("../..", simplifyPath("./../../"));
        assertEquals("../..", simplifyPath("./.././../"));
      }
    
      /*
       * We co-opt some URI resolution tests for our purposes.
       * Some of the tests have queries and anchors that are a little silly here.
       */
    
      /** http://gbiv.com/protocols/uri/rfc/rfc2396.html#rfc.section.C.1 */
      public void testRfc2396Normal() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 11K bytes
    - Viewed (0)
  9. guava/src/com/google/common/reflect/Types.java

       * symmetry. Moreover, we don't want to reconstruct a native type variable {@code <A>} using our
       * implementation unless some of its bounds have changed in resolution. This avoids creating
       * unequal TypeVariable implementation unnecessarily. When the bounds do change, however, it's
       * fine for the synthetic TypeVariable to be unequal to any native TypeVariable anyway.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 23.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/base/login/FessLoginAssist.java

             *
             * @param <CREDENTIAL> the credential type
             * @param credentialType the class of the credential type
             * @param oneArgLambda the function to apply for credential resolution
             */
            public <CREDENTIAL extends LoginCredential> void resolve(final Class<CREDENTIAL> credentialType,
                    final Function<CREDENTIAL, OptionalEntity<FessUser>> oneArgLambda) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 12.1K bytes
    - Viewed (0)
Back to top