Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 781 - 790 of 2,074 for complements (0.42 seconds)

  1. android/guava-tests/benchmark/com/google/common/util/concurrent/MoreExecutorsDirectExecutorBenchmark.java

          Executor executor() {
            return directExecutor();
          }
        };
    
        abstract Executor executor();
      }
    
      @Param Impl impl;
      Executor executor;
    
      static final class CountingRunnable implements Runnable {
        AtomicInteger integer = new AtomicInteger();
    
        @Override
        public void run() {
          integer.incrementAndGet();
        }
      }
    
      CountingRunnable countingRunnable = new CountingRunnable();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/cache/AbstractLoadingCache.java

     * an {@link UnsupportedOperationException}.
     *
     * @author Charles Fry
     * @since 11.0
     */
    @GwtIncompatible
    public abstract class AbstractLoadingCache<K, V> extends AbstractCache<K, V>
        implements LoadingCache<K, V> {
    
      /** Constructor for use by subclasses. */
      protected AbstractLoadingCache() {}
    
      @CanIgnoreReturnValue // TODO(b/27479612): consider removing this?
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 12:40:22 GMT 2026
    - 2.8K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/util/concurrent/ImmediateFuture.java

    /** Implementation of {@link Futures#immediateFuture}. */
    @GwtCompatible
    // TODO(cpovirk): Make this final (but that may break Mockito spy calls).
    class ImmediateFuture<V extends @Nullable Object> implements ListenableFuture<V> {
      static final ListenableFuture<?> NULL = new ImmediateFuture<@Nullable Object>(null);
    
      private static final LazyLogger log = new LazyLogger(ImmediateFuture.class);
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 3.4K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/NaturalOrdering.java

    import java.io.Serializable;
    import org.jspecify.annotations.Nullable;
    
    /** An ordering that uses the natural order of the values. */
    @GwtCompatible
    final class NaturalOrdering extends Ordering<Comparable<?>> implements Serializable {
      static final NaturalOrdering INSTANCE = new NaturalOrdering();
    
      /*
       * TODO: b/287198172 - Consider eagerly initializing these, maybe making them static. But that
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 01:34:19 GMT 2026
    - 3K bytes
    - Click Count (0)
  5. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/ExtensibleEnumProvider.java

     * to the specific provider interface being implemented.
     * <p>
     * Example implementation for a custom language provider:
     * <pre>
     * public class CustomLanguageProvider implements LanguageProvider {
     *     public Collection&lt;Language&gt; provides() {
     *         return Arrays.asList(
     *             language("kotlin"),
     *             language("scala")
     *         );
     *     }
     * }
     * </pre>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Apr 03 13:33:59 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  6. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/Invoker.java

     *
     * <p>The Invoker is designed to be flexible, allowing for different implementations
     * that can handle various types of {@link InvokerRequest InvokerRequests}. It also implements
     * {@link AutoCloseable} to ensure proper resource management.</p>
     *
     * @since 4.0.0
     */
    @Experimental
    public interface Invoker extends AutoCloseable {
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 31 20:56:58 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/management/DefaultDependencyManagementInjector.java

     */
    @SuppressWarnings({"checkstyle:methodname"})
    @Named
    @Singleton
    @Deprecated(since = "4.0.0")
    public class DefaultDependencyManagementInjector implements DependencyManagementInjector {
    
        private ManagementModelMerger merger = new ManagementModelMerger();
    
        @Override
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/artifact/metadata/TestMetadataSource.java

    import org.apache.maven.artifact.versioning.ArtifactVersion;
    import org.apache.maven.repository.legacy.metadata.MetadataResolutionRequest;
    
    @Named("test")
    @Singleton
    @Deprecated
    public class TestMetadataSource implements ArtifactMetadataSource {
        @Inject
        private ArtifactFactory factory;
    
        @Override
        public ResolutionGroup retrieve(
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/logging/Slf4jLoggerManager.java

     * {@link LoggerManager},
     * ignoring Plexus logger API parts that are not classical and probably not really used.
     *
     * @since 3.1
     */
    public class Slf4jLoggerManager implements LoggerManager {
    
        private final ILoggerFactory loggerFactory;
    
        public Slf4jLoggerManager() {
            loggerFactory = LoggerFactory.getILoggerFactory();
        }
    
        @Override
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Nov 08 08:49:11 GMT 2024
    - 2.9K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultExecutionEventCatapult.java

     * for technical reasons, it is not part of the public API. In particular, this class can be changed or deleted without
     * prior notice.
     *
     */
    @Named
    @Singleton
    public class DefaultExecutionEventCatapult implements ExecutionEventCatapult {
    
        @Override
        public void fire(ExecutionEvent.Type eventType, MavenSession session, MojoExecution mojoExecution) {
            fire(eventType, session, mojoExecution, null);
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.1K bytes
    - Click Count (0)
Back to Top