Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 365 for getKeys (0.04 seconds)

  1. guava/src/com/google/common/collect/LinkedListMultimap.java

          if (next == null) {
            throw new NoSuchElementException();
          }
          current = next;
          seenKeys.add(current.getKey());
          do { // skip ahead to next unseen key
            next = next.next;
          } while ((next != null) && !seenKeys.add(next.getKey()));
          return current.getKey();
        }
    
        @Override
        public void remove() {
          checkForConcurrentModification();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 27K bytes
    - Click Count (0)
  2. 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))) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

          return new WrappedSortedSet(
              getKey(),
              getSortedSetDelegate().headSet(toElement),
              (getAncestor() == null) ? this : getAncestor());
        }
    
        @Override
        public SortedSet<V> subSet(@ParametricNullness V fromElement, @ParametricNullness V toElement) {
          refreshIfEmpty();
          return new WrappedSortedSet(
              getKey(),
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Nov 17 22:50:48 GMT 2025
    - 48.4K bytes
    - Click Count (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/BiMapEntrySetTester.java

      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testSetValue_valueAbsent() {
        for (Entry<K, V> entry : getMap().entrySet()) {
          if (entry.getKey().equals(k0())) {
            assertEquals("entry.setValue() should return the old value", v0(), entry.setValue(v3()));
          }
        }
        expectReplacement(entry(k0(), v3()));
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 3K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/opensearch/user/exbhv/RoleBhv.java

                result.setName(DfTypeUtil.toString(source.get("name")));
                result.setAttributes(source.entrySet()
                        .stream()
                        .filter(e -> !"name".equals(e.getKey()))
                        .map(e -> new Pair<>(e.getKey(), (String) e.getValue()))
                        .collect(Collectors.toMap(Pair::getFirst, Pair::getSecond)));
                return result;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/collect/AbstractImmutableBiMapMapInterfaceTest.java

        BiMap<K, V> bimap = (BiMap<K, V>) map;
    
        for (Entry<K, V> entry : map.entrySet()) {
          assertThat(entry.toString()).isEqualTo(entry.getKey() + "=" + entry.getValue());
          assertEquals(entry.getKey(), bimap.inverse().get(entry.getValue()));
        }
    
        assertThat(map.toString()).isEqualTo("{" + JOINER.join(map.entrySet()) + "}");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 2.1K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/SparseImmutableTable.java

          rowBuilder.put(row.getKey(), ImmutableMap.copyOf(row.getValue()));
        }
        this.rowMap = rowBuilder.buildOrThrow();
    
        ImmutableMap.Builder<C, ImmutableMap<R, V>> columnBuilder =
            new ImmutableMap.Builder<>(columns.size());
        for (Entry<C, Map<R, V>> col : columns.entrySet()) {
          columnBuilder.put(col.getKey(), ImmutableMap.copyOf(col.getValue()));
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/cache/LocalCache.java

        public void remove() {
          checkState(lastReturned != null);
          LocalCache.this.remove(lastReturned.getKey());
          lastReturned = null;
        }
      }
    
      final class KeyIterator extends HashIterator<K> {
    
        @Override
        public K next() {
          return nextEntry().getKey();
        }
      }
    
      final class ValueIterator extends HashIterator<V> {
    
        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 143.5K bytes
    - Click Count (0)
  9. 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
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Aug 10 19:54:19 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  10. guava-testlib/src/com/google/common/collect/testing/Helpers.java

        public int compare(Entry<K, V> a, Entry<K, V> b) {
          return (keyComparator == null)
              ? ((Comparable) a.getKey()).compareTo(b.getKey())
              : keyComparator.compare(a.getKey(), b.getKey());
        }
      }
    
      public static <K extends @Nullable Object, V extends @Nullable Object>
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 17.2K bytes
    - Click Count (0)
Back to Top