Search Options

Results per page
Sort
Preferred Languages
Advance

Results 491 - 500 of 1,256 for science (5.36 sec)

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

    import com.google.errorprone.annotations.DoNotMock;
    
    /**
     * Implemented by references that have code to run after garbage collection of their referents.
     *
     * @see FinalizableReferenceQueue
     * @author Bob Lee
     * @since 2.0
     */
    @DoNotMock("Use an instance of one of the Finalizable*Reference classes")
    @J2ktIncompatible
    @GwtIncompatible
    public interface FinalizableReference {
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlReaderException.java

    package org.apache.maven.api.services.xml;
    
    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.services.MavenException;
    
    /**
     * An exception thrown while reading an XML file.
     *
     * @since 4.0.0
     */
    @Experimental
    public class XmlReaderException extends MavenException {
    
        private final Location location;
    
        /**
         * @param message the message for the exception
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/cache/CacheMetadata.java

    import org.apache.maven.api.annotations.Nullable;
    
    /**
     * Interface defining metadata for cache behavior and lifecycle management.
     * Implementations can specify how long cached data should be retained.
     *
     * @since 4.0.0
     */
    @Experimental
    public interface CacheMetadata {
    
        /**
         * Returns the cache retention that should be applied to the associated data.
         *
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/cache/RequestCacheFactory.java

    /**
     * Factory interface for creating new RequestCache instances.
     * Implementations should handle the creation and configuration of cache instances
     * based on the current Maven session and environment.
     *
     * @since 4.0.0
     * @see RequestCache
     */
    @Experimental
    public interface RequestCacheFactory {
    
        /**
         * Creates a new RequestCache instance.
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureBenchmarks.java

         * cancel(true)}.
         *
         * <p>The default implementation does nothing.
         *
         * @since 10.0
         */
        protected void interruptTask() {}
    
        /**
         * Returns true if this future was cancelled with {@code mayInterruptIfRunning} set to {@code
         * true}.
         *
         * @since 14.0
         */
        protected final boolean wasInterrupted() {
          return sync.wasInterrupted();
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jan 30 16:59:10 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableCollection.java

     *   }
     * }
     * }
     *
     * <h3>See also</h3>
     *
     * <p>See the Guava User Guide article on <a href=
     * "https://github.com/google/guava/wiki/ImmutableCollectionsExplained">immutable collections</a>.
     *
     * @since 2.0
     */
    @DoNotMock("Use ImmutableList.of or another implementation")
    @GwtCompatible
    @SuppressWarnings("serial") // we're overriding default serialization
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/eventbus/SubscriberExceptionHandler.java

     * the License.
     */
    
    package com.google.common.eventbus;
    
    /**
     * Handler for exceptions thrown by event subscribers.
     *
     * @since 16.0
     */
    public interface SubscriberExceptionHandler {
      /** Handles exceptions thrown by subscribers. */
      void handleException(Throwable exception, SubscriberExceptionContext context);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 894 bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/internal/cache2/RelayTest.kt

        assertThat(source1.readUtf8(10)).isEqualTo("abcdefghij")
        assertThat(source1.exhausted()).isTrue()
        source1.close()
        assertThat(relay1.isClosed).isTrue()
    
        // Since relay1 is closed, new sources cannot be created.
        assertThat(relay1.newSource()).isNull()
        val relay2 = read(file)
        assertThat(relay2.metadata()).isEqualTo(metadata)
        val source2 = relay2.newSource()!!.buffer()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/JdkFutureAdapters.java

     *
     * <p>For interoperability between {@code ListenableFuture} and <b>{@code CompletableFuture}</b>,
     * consider <a href="https://github.com/lukas-krecan/future-converter">Future Converter</a>.
     *
     * @author Sven Mawson
     * @since 10.0 (replacing {@code Futures.makeListenable}, which existed in 1.0)
     */
    @J2ktIncompatible
    @GwtIncompatible
    public final class JdkFutureAdapters {
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/Sources.java

     * <ul>
     *   <li>Path sources - simple access to file content</li>
     *   <li>Build sources - POM files being actively built by Maven</li>
     *   <li>Resolved sources - POMs resolved from repositories</li>
     * </ul>
     *
     * @since 4.0.0
     */
    @Experimental
    public final class Sources {
    
        private Sources() {}
    
        /**
         * Creates a new source for the specified path.
         *
         * @param path the path to the file
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 8K bytes
    - Viewed (0)
Back to top