Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 2,572 for Creates (0.09 sec)

  1. guava/src/com/google/common/util/concurrent/Callables.java

    @ElementTypesAreNonnullByDefault
    public final class Callables {
      private Callables() {}
    
      /** Creates a {@code Callable} which immediately returns a preset value each time it is called. */
      public static <T extends @Nullable Object> Callable<T> returning(@ParametricNullness T value) {
        return () -> value;
      }
    
      /**
       * Creates an {@link AsyncCallable} from a {@link Callable}.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 18:32:03 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelData.java

        private String artifactId;
    
        private String version;
    
        /**
         * Creates a new container for the specified model.
         *
         * @param model The model to wrap, may be {@code null}.
         */
        ModelData(Source source, Model model) {
            this.source = source;
            this.model = model;
        }
    
        /**
         * Creates a new container for the specified model.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/MoreExecutors.java

        executor.setThreadFactory(
            new ThreadFactoryBuilder()
                .setDaemon(true)
                .setThreadFactory(executor.getThreadFactory())
                .build());
      }
    
      /**
       * Creates an executor service that runs each task in the thread that invokes {@code
       * execute/submit}, as in {@code ThreadPoolExecutor.CallerRunsPolicy}. This applies both to
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 44.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/net/MediaType.java

        return create(AUDIO_TYPE, subtype);
      }
    
      /**
       * Creates a media type with the "font" type and the given subtype.
       *
       * @throws IllegalArgumentException if subtype is invalid
       */
      static MediaType createFontType(String subtype) {
        return create(FONT_TYPE, subtype);
      }
    
      /**
       * Creates a media type with the "image" type and the given subtype.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Sep 26 19:15:09 UTC 2024
    - 47.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/MoreObjects.java

        if (first != null) {
          return first;
        }
        if (second != null) {
          return second;
        }
        throw new NullPointerException("Both parameters are null");
      }
    
      /**
       * Creates an instance of {@link ToStringHelper}.
       *
       * <p>This is helpful for implementing {@link Object#toString()}. Specification by example:
       *
       * <pre>{@code
       * // Returns "ClassName{}"
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 10 15:41:27 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/IoTestCase.java

        return file;
      }
    
      /**
       * Creates a new temp dir for testing. The returned directory and all contents of it will be
       * deleted in the tear-down for this test.
       */
      protected final File createTempDir() throws IOException {
        File tempFile = File.createTempFile("IoTestCase", "");
        if (!tempFile.delete() || !tempFile.mkdir()) {
          throw new IOException("failed to create temp dir");
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 31 12:36:13 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

       *     begins. Consider replacing code that creates {@link ListenableFuture}s of closeable types,
       *     including those that pass them to this method, with {@link #submit(ClosingCallable,
       *     Executor)} in order to ensure that resources do not leak. Or, to start a pipeline with a
       *     {@link ListenableFuture} that doesn't create values that should be closed, use {@link
       *     ClosingFuture#from}.
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 08 19:36:35 UTC 2024
    - 98.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/ntlmssp/Type3Message.java

        private String workstation;
        private byte[] masterKey = null;
        private byte[] sessionKey = null;
        private byte[] mic = null;
        private boolean micRequired;
    
    
        /**
         * Creates a Type-3 message using default values from the current
         * environment.
         * 
         * @param tc
         *            context to use
         */
        public Type3Message ( CIFSContext tc ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 30.6K bytes
    - Viewed (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/ContainerCapsuleFactory.java

     * @param <C> the invoker context type
     */
    public interface ContainerCapsuleFactory<
            O extends Options, R extends InvokerRequest<O>, C extends LookupInvoker.LookupInvokerContext<O, R, C>> {
        /**
         * Creates container capsule.
         */
        @Nonnull
        ContainerCapsule createContainerCapsule(C context) throws InvokerException;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/JavaPathType.java

     *
     * <p>One path type is handled in a special way: unlike other options,
     * the paths specified in a {@code --patch-module} Java option is effective only for a specified module.
     * This type is created by calls to {@link #patchModule(String)} and a new instance must be created for
     * every module to patch.</p>
     *
     * <p>Path types are often exclusive. For example, a dependency should not be both on the Java class-path
     * and on the Java module-path.</p>
     *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Mon May 13 09:53:45 UTC 2024
    - 15K bytes
    - Viewed (0)
Back to top