Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 143 for pair (0.34 sec)

  1. android/guava/src/com/google/common/collect/Multimap.java

      // Modification Operations
    
      /**
       * Stores a key-value pair in this multimap.
       *
       * <p>Some multimap implementations allow duplicate key-value pairs, in which case {@code put}
       * always adds a new key-value pair and increases the multimap size by 1. Other implementations
       * prohibit duplicates, and storing a key-value pair that's already in the multimap has no effect.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 15.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/cache/CacheBuilderSpec.java

            List<String> keyAndValue = ImmutableList.copyOf(KEY_VALUE_SPLITTER.split(keyValuePair));
            checkArgument(!keyAndValue.isEmpty(), "blank key-value pair");
            checkArgument(
                keyAndValue.size() <= 2,
                "key-value pair %s with more than one equals sign",
                keyValuePair);
    
            // Find the ValueParser for the current key.
            String key = keyAndValue.get(0);
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Aug 22 14:27:44 GMT 2022
    - 18.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/MoreObjects.java

          omitNullValues = true;
          return this;
        }
    
        /**
         * Adds a name/value pair to the formatted output in {@code name=value} format. If {@code value}
         * is {@code null}, the string {@code "null"} is used, unless {@link #omitNullValues()} is
         * called, in which case this name/value pair will not be added.
         */
        @CanIgnoreReturnValue
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 15.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/graph/EndpointPair.java

    import com.google.errorprone.annotations.Immutable;
    import javax.annotation.CheckForNull;
    
    /**
     * An immutable pair representing the two endpoints of an edge in a graph. The {@link EndpointPair}
     * of a directed edge is an ordered pair of nodes ({@link #source()} and {@link #target()}). The
     * {@link EndpointPair} of an undirected edge is an unordered pair of nodes ({@link #nodeU()} and
     * {@link #nodeV()}).
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Oct 01 17:18:04 GMT 2021
    - 8.1K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/google/BiMapInverseTester.java

      }
    
      @CollectionFeature.Require(SERIALIZABLE)
      public void testInverseSerialization() {
        BiMapPair<K, V> pair = new BiMapPair<>(getMap());
        BiMapPair<K, V> copy = SerializableTester.reserialize(pair);
        assertEquals(pair.forward, copy.forward);
        assertEquals(pair.backward, copy.backward);
        assertSame(copy.backward, copy.forward.inverse());
        assertSame(copy.forward, copy.backward.inverse());
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 3K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/BiMapInverseTester.java

      }
    
      @CollectionFeature.Require(SERIALIZABLE)
      public void testInverseSerialization() {
        BiMapPair<K, V> pair = new BiMapPair<>(getMap());
        BiMapPair<K, V> copy = SerializableTester.reserialize(pair);
        assertEquals(pair.forward, copy.forward);
        assertEquals(pair.backward, copy.backward);
        assertSame(copy.backward, copy.forward.inverse());
        assertSame(copy.forward, copy.backward.inverse());
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/math/PairedStats.java

      }
    
      /**
       * Returns the population covariance of the values. The count must be non-zero.
       *
       * <p>This is guaranteed to return zero if the dataset contains a single pair of finite values. It
       * is not guaranteed to return zero when the dataset consists of the same pair of values multiple
       * times, due to numerical errors.
       *
       * <h3>Non-finite values</h3>
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 12.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/escape/ArrayBasedUnicodeEscaper.java

        // safeMin <= {hi,lo} <= safeMax
        // where {hi,lo} are characters forming a surrogate pair such that:
        // codePointOf(hi, lo) > safeMax
        // which would result in the surrogate pair being (wrongly) considered safe.
        // If we clip the safe range used during the per-character tests so it is
        // below the values of characters in surrogate pairs, this cannot occur.
        // This approach does mean that we break out of the fast path code in cases
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 8.5K bytes
    - Viewed (0)
  9. android/guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java

        /**
         * A special instance of {@link RunnableExecutorPair} that is used as a sentinel value for the
         * bottom of the stack.
         */
        private static final RunnableExecutorPair NULL_PAIR = new RunnableExecutorPair(null, null);
    
        static {
          try {
            UNSAFE = getUnsafe();
            HEAD_OFFSET = UNSAFE.objectFieldOffset(ExecutionListCAS.class.getDeclaredField("head"));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 17 15:19:38 GMT 2023
    - 20.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/MoreObjects.java

          omitNullValues = true;
          return this;
        }
    
        /**
         * Adds a name/value pair to the formatted output in {@code name=value} format. If {@code value}
         * is {@code null}, the string {@code "null"} is used, unless {@link #omitNullValues()} is
         * called, in which case this name/value pair will not be added.
         */
        @CanIgnoreReturnValue
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 15.4K bytes
    - Viewed (0)
Back to top