Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 423 for getKey (0.04 sec)

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

        for (ListIterator<Entry<K, V>> i = expected.listIterator(); i.hasNext(); ) {
          if (Helpers.equal(i.next().getKey(), newEntry.getKey())) {
            i.set(newEntry);
            return;
          }
        }
    
        throw new IllegalArgumentException(
            Platform.format("key %s not found in entries %s", newEntry.getKey(), expected));
      }
    
      /**
    Registered: 2024-11-01 12:43
    - Last Modified: 2024-10-30 16:15
    - 7.6K bytes
    - Viewed (0)
  2. android/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: 2024-11-01 12:43
    - Last Modified: 2024-10-30 16:15
    - 3.2K bytes
    - Viewed (0)
  3. android/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: 2024-11-01 12:43
    - Last Modified: 2024-10-30 16:15
    - 6.1K bytes
    - Viewed (0)
  4. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/UpgradePropertiesRuleSetup.java

        private static <T> Map<AccessorKey, T> diff(Map<AccessorKey, T> first, Map<AccessorKey, T> second) {
            return first.entrySet().stream()
                .filter(e -> !second.containsKey(e.getKey()))
                .collect(Collectors.toMap(Map.Entry::getKey, Map.Entry::getValue));
        }
    Registered: 2024-11-06 11:36
    - Last Modified: 2024-08-19 15:30
    - 4.5K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/classrealm/DefaultClassRealmManager.java

            Objects.requireNonNull(model, "model cannot be null");
    
            ClassLoader parent = getMavenApiRealm();
    
            return createRealm(getKey(model), RealmType.Project, parent, null, null, artifacts);
        }
    
        private static String getKey(Model model) {
            return "project>" + model.getGroupId() + ":" + model.getArtifactId() + ":" + model.getVersion();
        }
    
    Registered: 2024-11-03 03:35
    - Last Modified: 2024-10-25 12:31
    - 13.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/entity/GeoInfo.java

            StreamUtil.stream(request.getParameterMap())
                    .of(stream -> stream.filter(e -> e.getKey().startsWith("geo.") && e.getKey().endsWith(".point")).forEach(e -> {
                        final String key = e.getKey();
                        for (final String geoField : geoFields) {
                            if (key.startsWith("geo." + geoField + ".")) {
    Registered: 2024-10-31 13:40
    - Last Modified: 2024-02-22 01:53
    - 4.7K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/AbstractMapEntry.java

        if (object instanceof Entry) {
          Entry<?, ?> that = (Entry<?, ?>) object;
          return Objects.equal(this.getKey(), that.getKey())
              && Objects.equal(this.getValue(), that.getValue());
        }
        return false;
      }
    
      @Override
      public int hashCode() {
        K k = getKey();
        V v = getValue();
        return ((k == null) ? 0 : k.hashCode()) ^ ((v == null) ? 0 : v.hashCode());
      }
    
    Registered: 2024-11-01 12:43
    - Last Modified: 2021-08-05 00:40
    - 2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/AbstractMapEntry.java

        if (object instanceof Entry) {
          Entry<?, ?> that = (Entry<?, ?>) object;
          return Objects.equal(this.getKey(), that.getKey())
              && Objects.equal(this.getValue(), that.getValue());
        }
        return false;
      }
    
      @Override
      public int hashCode() {
        K k = getKey();
        V v = getValue();
        return ((k == null) ? 0 : k.hashCode()) ^ ((v == null) ? 0 : v.hashCode());
      }
    
    Registered: 2024-11-01 12:43
    - Last Modified: 2021-08-05 00:40
    - 2K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/testers/NavigableMapNavigationTester.java

        resetWithHole();
        assertEquals(a, navigableMap.floorEntry(a.getKey()));
        assertEquals(a.getKey(), navigableMap.floorKey(a.getKey()));
        assertEquals(a, navigableMap.floorEntry(b.getKey()));
        assertEquals(a.getKey(), navigableMap.floorKey(b.getKey()));
        assertEquals(c, navigableMap.floorEntry(c.getKey()));
        assertEquals(c.getKey(), navigableMap.floorKey(c.getKey()));
      }
    
      @CollectionSize.Require(SEVERAL)
    Registered: 2024-11-01 12:43
    - Last Modified: 2024-10-30 16:15
    - 9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/config/exentity/CrawlingInfoParam.java

            final Locale locale = ComponentUtil.getRequestManager().getUserLocale();
            final String message = ComponentUtil.getMessageManager().getMessage(locale, "labels.crawling_info_" + getKey());
            if (message == null || message.startsWith("???")) {
                return getKey();
            }
            return message;
        }
    
        @Override
        public String toString() {
    Registered: 2024-10-31 13:40
    - Last Modified: 2024-02-22 01:37
    - 2.4K bytes
    - Viewed (0)
Back to top