Search Options

Results per page
Sort
Preferred Languages
Advance

Results 771 - 780 of 1,694 for implementors (0.11 sec)

  1. android/guava-tests/benchmark/com/google/common/collect/MinMaxPriorityQueueBenchmark.java

      }
    
      /**
       * Does a CPU intensive operation on Integer and returns a BigInteger Used to implement an
       * ordering that spends a lot of cpu.
       */
      static class ExpensiveComputation implements Function<Integer, BigInteger> {
        @Override
        public BigInteger apply(Integer from) {
          BigInteger v = BigInteger.valueOf(from);
          // Math.sin is very slow for values outside 4*pi
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/AbstractNavigableMap.java

     *
     * @author Louis Wasserman
     */
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    abstract class AbstractNavigableMap<K extends @Nullable Object, V extends @Nullable Object>
        extends IteratorBasedAbstractMap<K, V> implements NavigableMap<K, V> {
    
      @Override
      @CheckForNull
      public abstract V get(@CheckForNull Object key);
    
      @Override
      @CheckForNull
      public Entry<K, V> firstEntry() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jun 15 18:11:44 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  3. docs/features/interceptors.md

    Interceptors
    ============
    
    Interceptors are a powerful mechanism that can monitor, rewrite, and retry calls. Here's a simple interceptor that logs the outgoing request and the incoming response.
    
    ```java
    class LoggingInterceptor implements Interceptor {
      @Override public Response intercept(Interceptor.Chain chain) throws IOException {
        Request request = chain.request();
    
        long t1 = System.nanoTime();
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 8.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/CollectionBenchmarkSampleData.java

        }
        return set;
      }
    
      private Element newElement() {
        int value = random.nextInt();
        return isUserTypeFast ? new Element(value) : new SlowElement(value);
      }
    
      static class Element implements Comparable<Element> {
        final int hash;
    
        Element(int hash) {
          this.hash = hash;
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ForwardingTable.java

     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class ForwardingTable<
            R extends @Nullable Object, C extends @Nullable Object, V extends @Nullable Object>
        extends ForwardingObject implements Table<R, C, V> {
      /** Constructor for use by subclasses. */
      protected ForwardingTable() {}
    
      @Override
      protected abstract Table<R, C, V> delegate();
    
      @Override
      public Set<Cell<R, C, V>> cellSet() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 29 19:42:21 UTC 2021
    - 3.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableEnumMap.java

      }
    
      /*
       * This class is used to serialize ImmutableEnumMap instances.
       */
      @J2ktIncompatible // serialization
      private static class EnumSerializedForm<K extends Enum<K>, V> implements Serializable {
        final EnumMap<K, V> delegate;
    
        EnumSerializedForm(EnumMap<K, V> delegate) {
          this.delegate = delegate;
        }
    
        Object readResolve() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/collection/MultiIterator.java

     * for (String element : iterable(list, set, map.keySet())) {
     *     ...
     * }
     * </pre>
     *
     * @author koichik
     * @param <E>
     *            要素の型
     */
    public class MultiIterator<E> implements Iterator<E> {
    
        /** {@link Iterator}の配列 */
        protected final Iterator<E>[] iterators;
    
        /** 現在反復中の{@link Iterator}のインデックス */
        protected int index;
    
        /**
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/TransferListenerAdapter.java

    import org.apache.maven.wagon.repository.Repository;
    import org.apache.maven.wagon.resource.Resource;
    
    /**
     * TransferListenerAdapter
     */
    @Deprecated
    public class TransferListenerAdapter implements TransferListener {
    
        private final ArtifactTransferListener listener;
    
        private final Map<Resource, ArtifactTransferResource> artifacts;
    
        private final Map<Resource, Long> transfers;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5K bytes
    - Viewed (0)
  9. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/DefaultSettingsDecrypter.java

    /**
     * Decrypts passwords in the settings.
     *
     * @deprecated since 4.0.0
     */
    @Named
    @Singleton
    @Deprecated(since = "4.0.0")
    public class DefaultSettingsDecrypter implements SettingsDecrypter {
        private final SecDispatcher securityDispatcher;
    
        @Inject
        public DefaultSettingsDecrypter(SecDispatcher securityDispatcher) {
            this.securityDispatcher = securityDispatcher;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseInvokerRequest.java

    import org.apache.maven.api.cli.ParserRequest;
    import org.apache.maven.api.cli.extensions.CoreExtension;
    
    import static java.util.Objects.requireNonNull;
    
    public abstract class BaseInvokerRequest<T extends Options> implements InvokerRequest<T> {
        private final ParserRequest parserRequest;
        private final Path cwd;
        private final Path installationDirectory;
        private final Path userHomeDirectory;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.3K bytes
    - Viewed (0)
Back to top