Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for SimpleEntry (0.16 sec)

  1. guava-tests/test/com/google/common/collect/ImmutableMapTest.java

        builder.put("foo", 2);
        assertMapEquals(builder.buildOrThrow(), "foo", 2);
      }
    
      // for GWT compatibility
      static class SimpleEntry<K, V> extends AbstractMapEntry<K, V> {
        public K key;
        public V value;
    
        SimpleEntry(K key, V value) {
          this.key = key;
          this.value = value;
        }
    
        @Override
        public K getKey() {
          return key;
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 41.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java

        builder.put("foo", 2);
        assertMapEquals(builder.buildOrThrow(), "foo", 2);
      }
    
      // for GWT compatibility
      static class SimpleEntry<K, V> extends AbstractMapEntry<K, V> {
        public K key;
        public V value;
    
        SimpleEntry(K key, V value) {
          this.key = key;
          this.value = value;
        }
    
        @Override
        public K getKey() {
          return key;
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 36.6K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/UpgradePropertiesRuleSetup.java

                .map(replacedAccessor -> {
                    AccessorKey key = AccessorKey.ofReplacedAccessor(upgradedProperty.getContainingType(), replacedAccessor);
                    return new AbstractMap.SimpleEntry<>(key, replacedAccessor);
                });
        }
    
        private static <T> Map<AccessorKey, T> diff(Map<AccessorKey, T> first, Map<AccessorKey, T> second) {
            return first.entrySet().stream()
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Aug 19 15:30:48 UTC 2024
    - 4.5K bytes
    - Viewed (0)
Back to top