Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 130 for existent (1.24 sec)

  1. android/guava-tests/test/com/google/common/escape/EscapersTest.java

        builder.addEscape(' ', "_");
        Escaper first = builder.build();
        // Modify one of the existing mappings before creating a new escaper.
        builder.addEscape(' ', "-");
        builder.addEscape('!', "$");
        Escaper second = builder.build();
        // This should have no effect on existing escapers.
        builder.addEscape(' ', "*");
    
        // Test both escapers after modifying the builder.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/BiMap.java

       */
      @CanIgnoreReturnValue
      @Override
      @CheckForNull
      V put(@ParametricNullness K key, @ParametricNullness V value);
    
      /**
       * An alternate form of {@code put} that silently removes any existing entry with the value {@code
       * value} before proceeding with the {@link #put} operation. If the bimap previously contained the
       * provided key-value mapping, this method has no effect.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  3. android/guava-testlib/test/com/google/common/collect/testing/OpenJdk6Tests.java

     */
    
    package com.google.common.collect.testing;
    
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    
    /**
     * Suite of tests for OpenJdk 6 tests. The existence of this class is a hack because the
     * suitebuilder won't pick up the suites directly in the other classes because they don't extend
     * TestCase. Ergh.
     *
     * @author Kevin Bourrillion
     */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/Converter.java

     * requirement that existing callers already fulfill).
     *
     * Disclaimer: Part of the reason that callers are so well adapted to `Function<A, B>` may be that
     * that is how the signature looked even prior to this comment! So naturally any change can break
     * existing users, but it can't *fix* existing users because any users who needed
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 23K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/hash/HashingOutputStream.java

       *
       * <p>The {@link OutputStream} should not be written to before or after the hand-off.
       */
      // TODO(user): Evaluate whether it makes sense to always piggyback the computation of a
      // HashCode on an existing OutputStream, compared to creating a separate OutputStream that could
      // be (optionally) be combined with another if needed (with something like
      // MultiplexingOutputStream).
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 20 18:43:59 GMT 2021
    - 2.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ForwardingConcurrentMap.java

     *
     * <p><b>{@code default} method warning:</b> This class forwards calls to <i>only some</i> {@code
     * default} methods. Specifically, it forwards calls only for methods that existed <a
     * href="https://docs.oracle.com/javase/7/docs/api/java/util/concurrent/ConcurrentMap.html">before
     * {@code default} methods were introduced</a>. For newer methods, like {@code forEach}, it inherits
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 29 19:42:21 GMT 2021
    - 2.5K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapPutIfAbsentTester.java

      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testPutIfAbsent_supportedPresent() {
        assertEquals(
            "putIfAbsent(present, value) should return existing value",
            v0(),
            getMap().putIfAbsent(k0(), v3()));
        expectUnchanged();
      }
    
      @MapFeature.Require(absent = SUPPORTS_PUT)
      public void testPutIfAbsent_unsupportedAbsent() {
        try {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/testers/MapPutIfAbsentTester.java

      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testPutIfAbsent_supportedPresent() {
        assertEquals(
            "putIfAbsent(present, value) should return existing value",
            v0(),
            getMap().putIfAbsent(k0(), v3()));
        expectUnchanged();
      }
    
      @MapFeature.Require(absent = SUPPORTS_PUT)
      public void testPutIfAbsent_unsupportedAbsent() {
        try {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 18:17:52 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/testers/MapComputeIfAbsentTester.java

      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testComputeIfAbsent_supportedPresent() {
        assertEquals(
            "computeIfAbsent(present, function) should return existing value",
            v0(),
            getMap()
                .computeIfAbsent(
                    k0(),
                    k -> {
                      throw new AssertionFailedError();
                    }));
        expectUnchanged();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 6.4K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/ConcurrentHashMultisetBasherTest.java

     * operations at random. Each thread keeps track of the per-key deltas that it's directly
     * responsible for; after all threads have completed, we sum the per-key deltas and compare to the
     * existing multiset values.
     *
     * @author mike nonemacher
     */
    
    public class ConcurrentHashMultisetBasherTest extends TestCase {
    
      public void testAddAndRemove_ConcurrentHashMap() throws Exception {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 5.8K bytes
    - Viewed (0)
Back to top