Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 119 for instant (0.16 sec)

  1. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/MavenBuildTimestamp.java

         *             to {@link #MavenBuildTimestamp(Instant, String)} instead.
         */
        @Deprecated
        public MavenBuildTimestamp(Instant time, Properties properties) {
            this(time, properties != null ? properties.getProperty(BUILD_TIMESTAMP_FORMAT_PROPERTY) : null);
        }
    
        public MavenBuildTimestamp(Instant time, String timestampFormat) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  2. maven-api-impl/src/test/java/org/apache/maven/internal/impl/standalone/ApiRunner.java

            return injector.getInstance(Session.class);
        }
    
        static class DefaultSession extends AbstractSession {
    
            private final Map<String, String> systemProperties;
            private Instant startTime = Instant.now();
    
            DefaultSession(RepositorySystemSession session, RepositorySystem repositorySystem, Lookup lookup) {
                this(session, repositorySystem, Collections.emptyList(), null, lookup);
            }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultSession.java

        public int getDegreeOfConcurrency() {
            return getMavenSession().getRequest().getDegreeOfConcurrency();
        }
    
        @Nonnull
        @Override
        public Instant getStartTime() {
            return getMavenSession().getRequest().getStartTime().toInstant();
        }
    
        @Override
        public Path getRootDirectory() {
            return getMavenSession().getRequest().getRootDirectory();
        }
    
        @Override
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Apr 23 12:55:57 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelInterpolator.java

                valueSource.clearFeedback();
            }
        }
    
        static class BuildTimestampValueSource extends AbstractValueSource {
            private final Instant startTime;
            private final Map<String, String> properties;
    
            BuildTimestampValueSource(Instant startTime, Map<String, String> properties) {
                super(false);
                this.startTime = startTime;
                this.properties = properties;
            }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 20K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/SystemHelper.java

        public long getCurrentTimeAsLong() {
            return System.currentTimeMillis();
        }
    
        public LocalDateTime getCurrentTimeAsLocalDateTime() {
            final Instant instant = Instant.ofEpochMilli(getCurrentTimeAsLong());
            return LocalDateTime.ofInstant(instant, ZoneId.systemDefault());
        }
    
        public String getLogFilePath() {
            final String value = System.getProperty("fess.log.path");
            if (value != null) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Sat Apr 13 11:43:03 GMT 2024
    - 26.5K bytes
    - Viewed (2)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

        /**
         * Shortcut for {@code getService(ArtifactInstaller.class).install(...)}.
         *
         * @param artifacts the artifacts to install
         * @throws org.apache.maven.api.services.ArtifactInstallerException if the artifacts installation failed
         *
         * @see org.apache.maven.api.services.ArtifactInstaller#install(Session, Collection)
         */
        void installArtifacts(@Nonnull Artifact... artifacts);
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 30.2K bytes
    - Viewed (0)
  7. 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<>();
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 59.6K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/ReactorReader.java

                return determineBuildOutputDirectoryForArtifact(project, artifact);
            }
    
            // The fall-through indicates that the artifact cannot be found;
            // for instance if package produced nothing or classifier problems.
            return null;
        }
    
        private File determineBuildOutputDirectoryForArtifact(final MavenProject project, final Artifact artifact) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Sets.java

       * way {@code IdentityHashMap} handles key lookups.
       *
       * @since 8.0
       */
      public static <E extends @Nullable Object> Set<E> newIdentityHashSet() {
        return Collections.newSetFromMap(Maps.<E, Boolean>newIdentityHashMap());
      }
    
      /**
       * Creates an empty {@code CopyOnWriteArraySet} instance.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

       * under {@code directExecutor}: Not only might the wait for a lock be long, but if the running
       * thread was holding a lock, the listener may deadlock or break lock isolation.
       *
       * <p>This instance is equivalent to:
       *
       * <pre>{@code
       * final class DirectExecutor implements Executor {
       *   public void execute(Runnable r) {
       *     r.run();
       *   }
       * }
       * }</pre>
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 41.8K bytes
    - Viewed (0)
Back to top