Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 423 for getKey (0.17 sec)

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

          ImmutableBiMap.Builder<String, String> builder = ImmutableBiMap.builder();
          for (Entry<String, String> entry : entries) {
            checkNotNull(entry);
            builder.put(entry.getKey(), entry.getValue());
          }
          return builder.build();
        }
      }
    
      public static class ImmutableBiMapCopyOfGenerator extends TestStringBiMapGenerator {
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RemoteSnapshotMetadataGenerator.java

                    snapshots.put(snapshotMetadata.getKey(), snapshotMetadata);
                }
            }
        }
    
        @Override
        public Collection<? extends Metadata> prepare(Collection<? extends Artifact> artifacts) {
            for (Artifact artifact : artifacts) {
                if (artifact.isSnapshot()) {
                    Object key = RemoteSnapshotMetadata.getKey(artifact);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/ActivityHelper.java

            valueMap.put("user", user.map(FessUserBean::getUserId).orElse("-"));
            final Comparator<Map.Entry<String, String>> c = Comparator.comparing(Map.Entry::getKey);
            params.entrySet().stream().sorted(c).forEach(e -> {
                valueMap.put(e.getKey(), e.getValue().replace('\t', '_'));
            });
            log(valueMap);
        }
    
        protected void log(final Map<String, String> valueMap) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/AbstractNavigableMap.java

        if (entry == null) {
          throw new NoSuchElementException();
        } else {
          return entry.getKey();
        }
      }
    
      @Override
      @ParametricNullness
      public K lastKey() {
        Entry<K, V> entry = lastEntry();
        if (entry == null) {
          throw new NoSuchElementException();
        } else {
          return entry.getKey();
        }
      }
    
      @Override
      @CheckForNull
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jun 15 18:11:44 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/SortedMapGenerators.java

          return new Ordering<Entry<String, Integer>>() {
            @Override
            public int compare(Entry<String, Integer> left, Entry<String, Integer> right) {
              return left.getKey().compareTo(right.getKey());
            }
          }.sortedCopy(insertionOrder);
        }
    
        @Override
        public List<Entry<String, Integer>> create(Object... elements) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/ImmutableRangeMapTest.java

                for (Entry<Range<Integer>, Integer> entry : rangeMap.asMapOfRanges().entrySet()) {
                  if (entry.getKey().isConnected(subRange)
                      && !entry.getKey().intersection(subRange).isEmpty()) {
                    expectedBuilder.put(entry.getKey().intersection(subRange), entry.getValue());
                  }
                }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/FilteredEntryMultimap.java

        boolean changed = false;
        while (entryIterator.hasNext()) {
          Entry<K, Collection<V>> entry = entryIterator.next();
          K key = entry.getKey();
          Collection<V> collection = filterCollection(entry.getValue(), new ValuePredicate(key));
          if (!collection.isEmpty()
              && predicate.apply(Maps.<K, Collection<V>>immutableEntry(key, collection))) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/google/SortedMapGenerators.java

          return new Ordering<Entry<String, Integer>>() {
            @Override
            public int compare(Entry<String, Integer> left, Entry<String, Integer> right) {
              return left.getKey().compareTo(right.getKey());
            }
          }.sortedCopy(insertionOrder);
        }
    
        @Override
        public List<Entry<String, Integer>> create(Object... elements) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

                        final Boolean b = (Boolean) xObj.value();
                        putResultDataBody(dataMap, entry.getKey(), b.toString());
                        break;
                    case NUMBER:
                        final Number d = (Number) xObj.value();
                        putResultDataBody(dataMap, entry.getKey(), d.toString());
                        break;
                    case STRING:
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 13:01:38 UTC 2024
    - 42.9K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/AbstractImmutableBiMapMapInterfaceTest.java

      protected final void assertMoreInvariants(Map<K, V> map) {
        BiMap<K, V> bimap = (BiMap<K, V>) map;
    
        for (Entry<K, V> entry : map.entrySet()) {
          assertEquals(entry.getKey() + "=" + entry.getValue(), entry.toString());
          assertEquals(entry.getKey(), bimap.inverse().get(entry.getValue()));
        }
    
        assertEquals("{" + JOINER.join(map.entrySet()) + "}", map.toString());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 2K bytes
    - Viewed (0)
Back to top