Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 275 for EntrySet (0.06 sec)

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

        sort(entries, Helpers.<K, V>entryComparator(navigableMap.comparator()));
        for (int i = 0; i < entries.size(); i++) {
          assertEqualInOrder(
              entries.subList(0, i), navigableMap.headMap(entries.get(i).getKey()).entrySet());
        }
      }
    
      public void testTailMap() {
        List<Entry<K, V>> entries =
            copyToList(
                getSubjectGenerator()
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/SparseImmutableTable.java

        for (Entry<R, Map<C, V>> row : rows.entrySet()) {
          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()) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/Serialization.java

       */
      static <E extends @Nullable Object> void writeMultiset(
          Multiset<E> multiset, ObjectOutputStream stream) throws IOException {
        int entryCount = multiset.entrySet().size();
        stream.writeInt(entryCount);
        for (Multiset.Entry<E> entry : multiset.entrySet()) {
          stream.writeObject(entry.getElement());
          stream.writeInt(entry.getCount());
        }
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/FilteredKeySetMultimap.java

      }
    
      @Override
      public Set<Entry<K, V>> entries() {
        return (Set<Entry<K, V>>) super.entries();
      }
    
      @Override
      Set<Entry<K, V>> createEntries() {
        return new EntrySet();
      }
    
      private final class EntrySet extends Entries implements Set<Entry<K, V>> {
        @Override
        public int hashCode() {
          return Sets.hashCodeImpl(this);
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/HashBiMap.java

          }
        }
      }
    
      @LazyInit private transient Set<Entry<K, V>> entrySet;
    
      @Override
      public Set<Entry<K, V>> entrySet() {
        Set<Entry<K, V>> result = entrySet;
        return (result == null) ? entrySet = new EntrySet() : result;
      }
    
      final class EntrySet extends View<K, V, Entry<K, V>> {
        EntrySet() {
          super(HashBiMap.this);
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

        for (LoadingCache<Object, Object> cache : caches()) {
          Set<Entry<Object, Object>> entries = cache.asMap().entrySet();
          List<Entry<Object, Object>> warmed = warmUp(cache, WARMUP_MIN, WARMUP_MAX);
    
          Set<?> expected = new HashMap<>(cache.asMap()).entrySet();
          assertThat(entries).containsExactlyElementsIn(expected);
          assertThat(entries.toArray()).asList().containsExactlyElementsIn(expected);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/SortedMapInterfaceTest.java

        try {
          map = makePopulatedMap();
        } catch (UnsupportedOperationException e) {
          return;
        }
        if (map.size() < 2 || !supportsPut) {
          return;
        }
        Iterator<Entry<K, V>> iterator = map.entrySet().iterator();
        Entry<K, V> firstEntry = iterator.next();
        Entry<K, V> secondEntry = iterator.next();
        K key = secondEntry.getKey();
        SortedMap<K, V> subMap = map.tailMap(key);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/SortedMapInterfaceTest.java

        try {
          map = makePopulatedMap();
        } catch (UnsupportedOperationException e) {
          return;
        }
        if (map.size() < 2 || !supportsPut) {
          return;
        }
        Iterator<Entry<K, V>> iterator = map.entrySet().iterator();
        Entry<K, V> firstEntry = iterator.next();
        Entry<K, V> secondEntry = iterator.next();
        K key = secondEntry.getKey();
        SortedMap<K, V> subMap = map.tailMap(key);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableMap.java

      /**
       * Returns an immutable set of the mappings in this map. The iteration order is specified by the
       * method used to create this map. Typically, this is insertion order.
       */
      @Override
      public ImmutableSet<Entry<K, V>> entrySet() {
        ImmutableSet<Entry<K, V>> result = entrySet;
        return (result == null) ? entrySet = createEntrySet() : result;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 41.2K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/FilteredKeySetMultimap.java

      }
    
      @Override
      public Set<Entry<K, V>> entries() {
        return (Set<Entry<K, V>>) super.entries();
      }
    
      @Override
      Set<Entry<K, V>> createEntries() {
        return new EntrySet();
      }
    
      private final class EntrySet extends Entries implements Set<Entry<K, V>> {
        @Override
        public int hashCode() {
          return Sets.hashCodeImpl(this);
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 2.1K bytes
    - Viewed (0)
Back to top