Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 304 for keySet (0.17 sec)

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

      private final transient RegularImmutableSortedSet<K> keySet;
      private final transient ImmutableList<V> valueList;
      @CheckForNull private transient ImmutableSortedMap<K, V> descendingMap;
    
      ImmutableSortedMap(RegularImmutableSortedSet<K> keySet, ImmutableList<V> valueList) {
        this(keySet, valueList, null);
      }
    
      ImmutableSortedMap(
          RegularImmutableSortedSet<K> keySet,
          ImmutableList<V> valueList,
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 50.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ForwardingMap.java

        return delegate().put(key, value);
      }
    
      @Override
      public void putAll(Map<? extends K, ? extends V> map) {
        delegate().putAll(map);
      }
    
      @Override
      public Set<K> keySet() {
        return delegate().keySet();
      }
    
      @Override
      public Collection<V> values() {
        return delegate().values();
      }
    
      @Override
      public Set<Entry<K, V>> entrySet() {
        return delegate().entrySet();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri May 12 15:26:39 GMT 2023
    - 9.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableMapKeySet.java

    import com.google.common.annotations.J2ktIncompatible;
    import java.io.Serializable;
    import java.util.Spliterator;
    import java.util.function.Consumer;
    import javax.annotation.CheckForNull;
    
    /**
     * {@code keySet()} implementation for {@link ImmutableMap}.
     *
     * @author Jesse Wilson
     * @author Kevin Bourrillion
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 2.7K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/google/MultimapContainsKeyTester.java

        assertTrue(multimap().containsKey(k0()));
      }
    
      public void testContainsKeyNo() {
        assertFalse(multimap().containsKey(k3()));
      }
    
      public void testContainsKeysFromKeySet() {
        for (K k : multimap().keySet()) {
          assertTrue(multimap().containsKey(k));
        }
      }
    
      public void testContainsKeyAgreesWithGet() {
        for (K k : sampleKeys()) {
          assertEquals(!multimap().get(k).isEmpty(), multimap().containsKey(k));
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Nov 16 17:41:24 GMT 2022
    - 2.9K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapContainsKeyTester.java

        assertTrue(multimap().containsKey(k0()));
      }
    
      public void testContainsKeyNo() {
        assertFalse(multimap().containsKey(k3()));
      }
    
      public void testContainsKeysFromKeySet() {
        for (K k : multimap().keySet()) {
          assertTrue(multimap().containsKey(k));
        }
      }
    
      public void testContainsKeyAgreesWithGet() {
        for (K k : sampleKeys()) {
          assertEquals(!multimap().get(k).isEmpty(), multimap().containsKey(k));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Nov 16 17:41:24 GMT 2022
    - 2.9K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/google/MultimapPutTester.java

      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testPutPresentKeyPropagatesToGet() {
        List<K> keys = Helpers.copyToList(multimap().keySet());
        for (K key : keys) {
          resetContainer();
    
          int size = getNumElements();
    
          Collection<V> collection = multimap().get(key);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/StandardRowSortedTable.java

        return new RowSortedMap();
      }
    
      @WeakOuter
      private class RowSortedMap extends RowMap implements SortedMap<R, Map<C, V>> {
        @Override
        public SortedSet<R> keySet() {
          return (SortedSet<R>) super.keySet();
        }
    
        @Override
        SortedSet<R> createKeySet() {
          return new Maps.SortedKeySet<>(this);
        }
    
        @Override
        @CheckForNull
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Jul 15 15:41:16 GMT 2021
    - 4.3K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

        KeySet(final Map<K, Collection<V>> subMap) {
          super(subMap);
        }
    
        @Override
        public Iterator<K> iterator() {
          final Iterator<Entry<K, Collection<V>>> entryIterator = map().entrySet().iterator();
          return new Iterator<K>() {
            @CheckForNull Entry<K, Collection<V>> entry;
    
            @Override
            public boolean hasNext() {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 48K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/ImmutableMapTest.java

        Set<Integer> keySet = map.keySet();
        Collection<Integer> values = map.values();
    
        ByteArrayOutputStream bytes = new ByteArrayOutputStream();
        ObjectOutputStream oos = new ObjectOutputStream(bytes);
        oos.writeObject(map);
        oos.flush();
    
        int mapSize = bytes.size();
        oos.writeObject(keySet);
        oos.writeObject(values);
        oos.close();
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 27 13:27:08 GMT 2024
    - 41.3K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/collection/LruHashMapTest.java

            assertThat(lru.get("aaa"), is("111"));
            Iterator<String> i = lru.keySet().iterator();
            assertThat(i.next(), is("bbb"));
            assertThat(i.next(), is("ccc"));
            assertThat(i.next(), is("aaa"));
            lru.put("ddd", "444");
            assertThat(lru.size(), is(3));
            assertThat(lru.get("bbb"), is(nullValue()));
            i = lru.keySet().iterator();
            assertThat(i.next(), is("ccc"));
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.7K bytes
    - Viewed (0)
Back to top