Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 451 for addKey (0.1 sec)

  1. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 18:00:07 UTC 2021
    - 2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/collection/LruHashSet.java

            return map.containsKey(o);
        }
    
        /**
         * Adds the specified element to this set if it is not already present.
         *
         * @param o
         *            element to be added to this set.
         * @return true if the set did not already contain the specified
         *         element.
         */
        @Override
        public boolean add(final E o) {
            return map.put(o, PRESENT) == null;
        }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. cmd/admin-handlers-users.go

    							Error:    err,
    						})
    				} else {
    					added.STSPolicies = append(added.STSPolicies, map[string][]string{u: strings.Split(pm.Policies, ",")})
    				}
    			}
    		}
    	}
    
    	if apiVer == "v2" {
    		iamr := madmin.ImportIAMResult{
    			Skipped: skipped,
    			Removed: removed,
    			Added:   added,
    			Failed:  failed,
    		}
    
    		b, err := json.Marshal(iamr)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 03 23:11:02 UTC 2024
    - 85.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/JdkFutureAdapters.java

        private final ExecutionList executionList = new ExecutionList();
    
        // This allows us to only start up a thread waiting on the delegate future when the first
        // listener is added.
        private final AtomicBoolean hasListeners = new AtomicBoolean(false);
    
        // The delegate future.
        private final Future<V> delegate;
    
        ListenableFutureAdapter(Future<V> delegate) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Dec 14 20:35:03 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/MultimapBuilder.java

       * <p>The collections returned by {@link Multimap#keySet()}, {@link Multimap#keys()}, and {@link
       * Multimap#asMap()} will iterate through the keys in the order that they were first added to the
       * multimap, save that if all values associated with a key are removed and then the key is added
       * back into the multimap, that key will come last in the key iteration order.
       */
      public static MultimapBuilderWithKeys<@Nullable Object> linkedHashKeys() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  6. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/MojoDescriptor.java

         * <i>Note:</i> This will not automagically make a mojo run when the plugin declaration is added to the POM. It
         * merely enables the user to omit the <code>&lt;phase&gt;</code> element from the surrounding
         * <code>&lt;execution&gt;</code> element.
         */
        private String phase;
    
        /** Specify the version when the Mojo was added to the API. Similar to Javadoc since. */
        private String since;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  7. android/guava-testlib/test/com/google/common/collect/testing/MyTester.java

     * limitations under the License.
     */
    
    package com.google.common.collect.testing;
    
    import org.checkerframework.checker.nullness.qual.Nullable;
    import org.junit.Ignore;
    
    /** Support class added to a suite as part of {@link FeatureSpecificTestSuiteBuilderTest}. */
    /*
     * @Ignore affects the Android test runner (and only the Android test runner): It respects JUnit 4
     * annotations even on JUnit 3 tests.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 17 14:48:57 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/io/CloserTest.java

      }
    
      public void testExceptionThrown_whileClosingLastCloseable() throws IOException {
        Closer closer = new Closer(suppressor);
    
        IOException exception = new IOException();
    
        // c1 is added first, closed last
        TestCloseable c1 = closer.register(TestCloseable.throwsOnClose(exception));
        TestCloseable c2 = closer.register(TestCloseable.normal());
    
        try {
          closer.close();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 07 15:26:58 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  9. cmd/xl-storage-free-version.go

    	if j.Type == DeleteType {
    		return j.DeleteMarker.FreeVersion()
    	}
    	return false
    }
    
    // AddFreeVersion adds a free-version if needed for fi.VersionID version.
    // Free-version will be added if fi.VersionID has transitioned.
    func (x *xlMetaV2) AddFreeVersion(fi FileInfo) error {
    	var uv uuid.UUID
    	var err error
    	switch fi.VersionID {
    	case "", nullVersionID:
    	default:
    		uv, err = uuid.Parse(fi.VersionID)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Mar 02 05:11:03 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/util/concurrent/ListenerCallQueue.java

      }
    
      /**
       * A special purpose queue/executor that dispatches listener events serially on a configured
       * executor. Each event can be added and dispatched as separate phases.
       *
       * <p>This class is very similar to {@link SequentialExecutor} with the exception that events can
       * be added without necessarily executing immediately.
       */
      private static final class PerListenerQueue<L> implements Runnable {
        final L listener;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Dec 13 19:45:20 UTC 2023
    - 8.2K bytes
    - Viewed (0)
Back to top