Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 53 for Pair (0.13 sec)

  1. 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)
  2. 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)
  3. 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)
  4. android/guava/src/com/google/common/escape/ArrayBasedUnicodeEscaper.java

        // any values in that range. To see why, consider the case where:
        // 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
    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)
  5. android/guava/src/com/google/common/collect/AbstractSetMultimap.java

        return super.asMap();
      }
    
      /**
       * Stores a key-value pair in the multimap.
       *
       * @param key key to store in the multimap
       * @param value value to store in the multimap
       * @return {@code true} if the method increased the size of the multimap, or {@code false} if the
       *     multimap already contained the key-value pair
       */
      @CanIgnoreReturnValue
      @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 15 21:08:00 GMT 2021
    - 4.8K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/escape/testing/EscaperAsserts.java

      }
    
      /**
       * Asserts that a Unicode escaper escapes the given hi/lo surrogate pair into the expected string.
       *
       * @param escaper the non-null escaper to test
       * @param expected the expected output string
       * @param hi the high surrogate pair character
       * @param lo the low surrogate pair character
       */
      public static void assertUnicodeEscaping(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jan 18 20:55:09 GMT 2022
    - 3.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/HashMultimap.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Implementation of {@link Multimap} using hash tables.
     *
     * <p>The multimap does not store duplicate key-value pairs. Adding a new key-value pair equal to an
     * existing key-value pair has no effect.
     *
     * <p>Keys and values may be null. All optional multimap methods are supported, and all returned
     * views are modifiable.
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 06 16:06:58 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/testing/EqualsTester.java

     *   <li>comparing each object against null returns false
     *   <li>comparing each object against an instance of an incompatible class returns false
     *   <li>comparing each pair of objects within the same equality group returns true
     *   <li>comparing each pair of objects from different equality groups returns false
     *   <li>the hash codes of any two equal objects are equal
     * </ul>
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Oct 31 19:11:50 GMT 2023
    - 6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ArrayListMultimap.java

     * given key agrees with the order in which the values were added.
     *
     * <p>This multimap allows duplicate key-value pairs. After adding a new key-value pair equal to an
     * existing key-value pair, the {@code ArrayListMultimap} will contain entries for both the new
     * value and the old value.
     *
     * <p>Keys and values may be null. All optional multimap methods are supported, and all returned
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/escape/ArrayBasedUnicodeEscaperTest.java

              }
            };
        EscaperAsserts.assertBasic(surrogateEscaper);
    
        // A surrogate pair defining a code point within the safe range.
        String safeInput = "\uD800\uDC00"; // 0x10000
        assertEquals(safeInput, surrogateEscaper.escape(safeInput));
    
        // A surrogate pair defining a code point outside the safe range (but both
        // of the surrogate characters lie within the safe range). It is important
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 07 23:02:38 GMT 2024
    - 5K bytes
    - Viewed (0)
Back to top