Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 57 for v3 (0.21 sec)

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

       */
      public static <K extends Comparable<? super K>, V> ImmutableSortedMap<K, V> of(
          K k1, V v1, K k2, V v2, K k3, V v3) {
        return fromEntries(entryOf(k1, v1), entryOf(k2, v2), entryOf(k3, v3));
      }
    
      /**
       * Returns an immutable sorted map containing the given entries, sorted by the natural ordering of
       * their keys.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapReplaceEntryTester.java

      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testReplaceEntry_supportedPresent() {
        assertTrue(getMap().replace(k0(), v0(), v3()));
        expectReplacement(entry(k0(), v3()));
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testReplaceEntry_supportedPresentUnchanged() {
        assertTrue(getMap().replace(k0(), v0(), v0()));
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/testers/MapPutTester.java

        nullKeyEntry = entry(null, v3());
        nullValueEntry = entry(k3(), null);
        nullKeyValueEntry = entry(null, null);
        presentKeyNullValueEntry = entry(k0(), null);
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testPut_supportedPresent() {
        assertEquals("put(present, value) should return the old value", v0(), getMap().put(k0(), v3()));
        expectReplacement(entry(k0(), v3()));
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

       */
      public static <
              V1 extends @Nullable Object, V2 extends @Nullable Object, V3 extends @Nullable Object>
          Combiner3<V1, V2, V3> whenAllSucceed(
              ClosingFuture<V1> future1, ClosingFuture<V2> future2, ClosingFuture<V3> future3) {
        return new Combiner3<>(future1, future2, future3);
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 98.5K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/testers/MapPutIfAbsentTester.java

        expectAdded(e3());
      }
    
      @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();
      }
    
    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)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/ListMultimapAsMapTester.java

      @CollectionSize.Require(SEVERAL)
      public void testEquals() {
        resetContainer(
            Helpers.mapEntry(k0(), v0()), Helpers.mapEntry(k1(), v0()), Helpers.mapEntry(k0(), v3()));
        Map<K, Collection<V>> expected = Maps.newHashMap();
        expected.put(k0(), Lists.newArrayList(v0(), v3()));
        expected.put(k1(), Lists.newArrayList(v0()));
        new EqualsTester().addEqualityGroup(expected, multimap().asMap()).testEquals();
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableMap.java

       */
      public static <K, V> ImmutableMap<K, V> of(K k1, V v1, K k2, V v2, K k3, V v3) {
        checkEntryNotNull(k1, v1);
        checkEntryNotNull(k2, v2);
        checkEntryNotNull(k3, v3);
        return RegularImmutableMap.create(3, new Object[] {k1, v1, k2, v2, k3, v3});
      }
    
      /**
       * Returns an immutable map containing the given entries, in order.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapPutIfAbsentTester.java

        try {
          getMap().putIfAbsent(k0(), v3());
        } catch (UnsupportedOperationException tolerated) {
        }
        expectUnchanged();
      }
    
      @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_KEYS)
      public void testPutIfAbsent_nullKeyUnsupported() {
        try {
          getMap().putIfAbsent(null, v3());
          fail("putIfAbsent(null, value) should throw");
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapReplaceTester.java

      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testReplace_supportedPresent() {
        assertEquals(v0(), getMap().replace(k0(), v3()));
        expectReplacement(entry(k0(), v3()));
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testReplace_supportedPresentNoChange() {
        assertEquals(v0(), getMap().replace(k0(), v0()));
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableSortedMap.java

       */
      public static <K extends Comparable<? super K>, V> ImmutableSortedMap<K, V> of(
          K k1, V v1, K k2, V v2, K k3, V v3) {
        return fromEntries(entryOf(k1, v1), entryOf(k2, v2), entryOf(k3, v3));
      }
    
      /**
       * Returns an immutable sorted map containing the given entries, sorted by the natural ordering of
       * their keys.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 50.3K bytes
    - Viewed (0)
Back to top