Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 929 for nonNull (0.16 sec)

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

        extends Map<Class<? extends @NonNull B>, B> {
      /**
       * Returns the value the specified class is mapped to, or {@code null} if no entry for this class
       * is present. This will only return a value that was bound to this specific class, not a value
       * that may have been bound to a subtype.
       */
      @CheckForNull
      <T extends @NonNull B> T getInstance(Class<T> type);
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat Jun 17 14:40:53 UTC 2023
    - 3K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/internal/CoreRealm.java

         * Obtain the {@link ClassRealm} used for Maven Core.
         *
         * @return the class realm of core.
         */
        @Nonnull
        ClassRealm getRealm();
    
        /**
         * Shorthand method to obtain the {@link ClassWorld} used for Maven Core.
         *
         * @return the class world in use.
         */
        @Nonnull
        default ClassWorld getClassWorld() {
            return getRealm().getWorld();
        }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Jan 10 12:53:42 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultArtifactFactory.java

    import org.apache.maven.api.Artifact;
    import org.apache.maven.api.annotations.Nonnull;
    import org.apache.maven.api.di.Named;
    import org.apache.maven.api.di.Singleton;
    import org.apache.maven.api.services.ArtifactFactory;
    import org.apache.maven.api.services.ArtifactFactoryRequest;
    import org.eclipse.aether.artifact.ArtifactType;
    
    import static org.apache.maven.internal.impl.Utils.nonNull;
    
    @Named
    @Singleton
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 25 10:50:01 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverResult.java

         *
         * @return file paths to place on the different tool options
         */
        @Nonnull
        Map<PathType, List<Path>> getDispatchedPaths();
    
        /**
         * {@return all dependencies associated to their paths}.
         * Some dependencies may be associated to a null value if there is no path available.
         */
        @Nonnull
        Map<Dependency, Path> getDependencies();
    
        /**
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/reflect/TypeToInstanceMap.java

       */
      @CheckForNull
      <T extends @NonNull B> T getInstance(Class<T> type);
    
      /**
       * Returns the value the specified type is mapped to, or {@code null} if no entry for this type is
       * present. This will only return a value that was bound to this specific type, not a value that
       * may have been bound to a subtype.
       */
      @CheckForNull
      <T extends @NonNull B> T getInstance(TypeToken<T> type);
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat Apr 22 01:15:23 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  6. guava/src/com/google/common/reflect/TypeToInstanceMap.java

       */
      @CheckForNull
      <T extends @NonNull B> T getInstance(Class<T> type);
    
      /**
       * Returns the value the specified type is mapped to, or {@code null} if no entry for this type is
       * present. This will only return a value that was bound to this specific type, not a value that
       * may have been bound to a subtype.
       */
      @CheckForNull
      <T extends @NonNull B> T getInstance(TypeToken<T> type);
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat Apr 22 01:15:23 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/SessionData.java

         */
        <T> boolean replace(@Nonnull Key<T> key, @Nullable T oldValue, @Nullable T newValue);
    
        /**
         * Gets the session data associated with the specified key.
         *
         * @param key the key for which to retrieve the session data, must not be {@code null}
         * @return the session data associated with the key or {@code null} if none
         */
        @Nullable
        <T> T get(@Nonnull Key<T> key);
    
        /**
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 28 23:31:09 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  8. platforms/jvm/jvm-services/src/main/java/org/gradle/internal/jvm/inspection/InvalidJvmInstallationCacheInvalidator.java

    package org.gradle.internal.jvm.inspection;
    
    import javax.annotation.Nonnull;
    import java.io.Closeable;
    import java.io.IOException;
    
    public class InvalidJvmInstallationCacheInvalidator implements Closeable {
    
        @Nonnull
        private final ConditionalInvalidation<JvmInstallationMetadata> cache;
    
        public InvalidJvmInstallationCacheInvalidator(@Nonnull ConditionalInvalidation<JvmInstallationMetadata> cache) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  9. maven-embedder/src/test/java/org/apache/maven/cli/CLIManagerDocumentationTest.java

                sb.append("<code>");
    
                if (nonNull(option.getOpt())) {
                    sb.append("-<a name='");
                    sb.append(option.getOpt());
                    sb.append("'>");
                    sb.append(option.getOpt());
                    sb.append("</a>");
                }
    
                if (nonNull(option.getLongOpt())) {
                    if (nonNull(option.getOpt())) {
                        sb.append(", ");
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 09:06:12 UTC 2024
    - 4K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultMessageBuilderFactory.java

            return false;
        }
    
        @Override
        public int getTerminalWidth() {
            return -1;
        }
    
        @Override
        @Nonnull
        public MessageBuilder builder() {
            return new DefaultMessageBuilder();
        }
    
        @Override
        @Nonnull
        public MessageBuilder builder(int size) {
            return new DefaultMessageBuilder(new StringBuilder(size));
        }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 25 10:50:01 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top