Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 648 for addIds (0.04 sec)

  1. src/main/java/org/codelibs/core/collection/LruHashMap.java

     */
    package org.codelibs.core.collection;
    
    import java.util.HashMap;
    import java.util.LinkedHashMap;
    import java.util.Map;
    
    /**
     * {@link HashMap} with an upper limit on the number of entries. When a new entry is added, the oldest entry is discarded using LRU if the limit is exceeded.
     *
     * @author koichik
     * @param <K> the key type
     * @param <V> the value type
     */
    public class LruHashMap<K, V> extends LinkedHashMap<K, V> {
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

          double prev = 0.0;
          for (double x : VALUES) {
            assertBitEquals(prev, aa.getAndSet(i, x));
            prev = x;
          }
        }
      }
    
      /** getAndAdd returns previous value and adds given value */
      public void testGetAndAdd() {
        AtomicDoubleArray aa = new AtomicDoubleArray(SIZE);
        for (int i : new int[] {0, SIZE - 1}) {
          for (double x : VALUES) {
            for (double y : VALUES) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrOpenAliasTest.java

            // and set its own specific fields (ptype, flags).
            // The fact that the object is successfully created implies the super constructor was called.
        }
    
        // Additional tests could be added here if MsrpcSamrOpenAlias had more methods or complex logic.
        // For this specific class, the constructor is the main point of logic.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  4. futures/failureaccess/src/com/google/common/util/concurrent/internal/InternalFutureFailureAccess.java

     * instead of {@code ListenableFuture}.
     *
     * <p>This class is GWT-compatible.
     *
     * @since {@code com.google.guava:failureaccess:1.0}, which was added as a dependency of Guava in
     *     Guava 27.0
     */
    public abstract class InternalFutureFailureAccess {
      /** Constructor for use by subclasses. */
      protected InternalFutureFailureAccess() {}
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataResolution.java

    /**
     *
     *
     */
    @Deprecated
    public class MetadataResolution {
        /** resolved MD  */
        private ArtifactMetadata artifactMetadata;
    
        /** repositories, added by this POM  */
        private Collection<ArtifactRepository> metadataRepositories;
        // -------------------------------------------------------------------
        public MetadataResolution(ArtifactMetadata artifactMetadata) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/cache/RemovalListener.java

      /**
       * Notifies the listener that a removal occurred at some point in the past.
       *
       * <p>This does not always signify that the key is now absent from the cache, as it may have
       * already been re-added.
       */
      // Technically should accept RemovalNotification<? extends K, ? extends V>, but because
      // RemovalNotification is guaranteed covariant, let's make users' lives simpler.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableSetMultimap.java

          return this;
        }
    
        /** Adds a key-value mapping to the built multimap if it is not already present. */
        @CanIgnoreReturnValue
        @Override
        public Builder<K, V> put(K key, V value) {
          super.put(key, value);
          return this;
        }
    
        /**
         * Adds an entry to the built multimap if it is not already present.
         *
         * @since 11.0
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.8K bytes
    - Viewed (0)
  8. guava/src/com/google/common/cache/RemovalListener.java

      /**
       * Notifies the listener that a removal occurred at some point in the past.
       *
       * <p>This does not always signify that the key is now absent from the cache, as it may have
       * already been re-added.
       */
      // Technically should accept RemovalNotification<? extends K, ? extends V>, but because
      // RemovalNotification is guaranteed covariant, let's make users' lives simpler.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/query/DefaultQueryBuilder.java

            } else {
                throw new IllegalArgumentException("Unknown query builder: " + queryBuilder);
            }
        }
    
        /**
         * Adds an inner query builder to the wrapped query.
         * For BoolQueryBuilder, adds as a should clause.
         * For DisMaxQueryBuilder, adds as a query.
         *
         * @param innerQueryBuilder the query builder to add
         * @return this instance for method chaining
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequest.java

        }
    
        /**
         * Adds a tag to filter by.
         * @param tag The tag.
         */
        public void addTag(final String tag) {
            tags.add(tag);
        }
    
        /**
         * Adds a role to filter by.
         * @param role The role.
         */
        public void addRole(final String role) {
            roles.add(role);
        }
    
        /**
         * Adds a field to filter by.
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 17.8K bytes
    - Viewed (0)
Back to top