Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 729 for GetKey (0.3 sec)

  1. guava-testlib/src/com/google/common/collect/testing/google/AbstractBiMapTester.java

          assertFalse(
              "Inverse should not contain entry " + reversed, inv.entrySet().contains(reversed));
          assertFalse(
              "Inverse should not contain key " + reversed.getKey(),
              inv.containsKey(reversed.getKey()));
          assertFalse(
              "Inverse should not contain value " + reversed.getValue(),
              inv.containsValue(reversed.getValue()));
          /*
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/PerformanceTestRuntimesGenerator.java

                            it -> it.getKey().getPerformanceExperiment().getScenario(),
                            LinkedHashMap::new,
                            Collectors.toList())
                        );
                List<PerformanceScenarioDurations> json = performanceScenarioMap.entrySet().stream()
                    .map(entry -> {
                        PerformanceScenario scenario = entry.getKey();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ForwardingMapEntry.java

        if (object instanceof Entry) {
          Entry<?, ?> that = (Entry<?, ?>) object;
          return Objects.equal(this.getKey(), that.getKey())
              && Objects.equal(this.getValue(), that.getValue());
        }
        return false;
      }
    
      /**
       * A sensible definition of {@link #hashCode()} in terms of {@link #getKey()} and {@link
       * #getValue()}. If you override either of these methods, you may wish to override {@link
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Mar 19 19:28:11 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/testers/SortedMapNavigationTester.java

        assertEquals(c.getKey(), navigableMap.lastKey());
      }
    
      @CollectionSize.Require(absent = ZERO)
      public void testHeadMapExclusive() {
        assertFalse(navigableMap.headMap(a.getKey()).containsKey(a.getKey()));
      }
    
      @CollectionSize.Require(absent = ZERO)
      public void testTailMapInclusive() {
        assertTrue(navigableMap.tailMap(a.getKey()).containsKey(a.getKey()));
      }
    
      public void testHeadMap() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/google/AbstractMultimapTester.java

      }
    
      protected final K k0() {
        return e0().getKey();
      }
    
      protected final V v0() {
        return e0().getValue();
      }
    
      protected final K k1() {
        return e1().getKey();
      }
    
      protected final V v1() {
        return e1().getValue();
      }
    
      protected final K k2() {
        return e2().getKey();
      }
    
      protected final V v2() {
        return e2().getValue();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 6K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/SortedMapInterfaceTest.java

        Entry<K, V> secondEntry = iterator.next();
        K key = secondEntry.getKey();
        SortedMap<K, V> subMap = map.tailMap(key);
        V value = getValueNotInPopulatedMap();
        subMap.put(key, value);
        assertEquals(secondEntry.getValue(), value);
        assertEquals(map.get(key), value);
        try {
          subMap.put(firstEntry.getKey(), value);
          fail("Expected IllegalArgumentException");
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Oct 06 00:47:57 UTC 2021
    - 3.9K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/SortedMapInterfaceTest.java

        Entry<K, V> secondEntry = iterator.next();
        K key = secondEntry.getKey();
        SortedMap<K, V> subMap = map.tailMap(key);
        V value = getValueNotInPopulatedMap();
        subMap.put(key, value);
        assertEquals(secondEntry.getValue(), value);
        assertEquals(map.get(key), value);
        try {
          subMap.put(firstEntry.getKey(), value);
          fail("Expected IllegalArgumentException");
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Oct 06 00:47:57 UTC 2021
    - 3.9K bytes
    - Viewed (0)
  8. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/changes/TrivialChangeDetector.java

                }
                String path = currentEntry.getKey();
                return visitor.visitChange(changeFactory.modified(path, propertyTitle, previous, current));
            } else {
                if (visitor.visitChange(changeFactory.removed(previousEntry.getKey(), propertyTitle, previous))) {
                    return visitor.visitChange(changeFactory.added(currentEntry.getKey(), propertyTitle, current));
                }
                return false;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java

          this.samples =
              new SampleElements<>(
                  mapSamples.e0().getKey(),
                  mapSamples.e1().getKey(),
                  mapSamples.e2().getKey(),
                  mapSamples.e3().getKey(),
                  mapSamples.e4().getKey());
        }
    
        @Override
        public SampleElements<K> samples() {
          return samples;
        }
    
        @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/google/MapGenerators.java

          Map<AnEnum, String> map = Maps.newHashMap();
          for (Entry<AnEnum, String> entry : entries) {
            // checkArgument(!map.containsKey(entry.getKey()));
            map.put(entry.getKey(), entry.getValue());
          }
          return Maps.immutableEnumMap(map);
        }
      }
    
      public static class ImmutableMapCopyOfEnumMapGenerator extends TestEnumMapGenerator {
        @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 26 19:46:10 UTC 2024
    - 8.4K bytes
    - Viewed (0)
Back to top