Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for Key (0.16 sec)

  1. android/guava/src/com/google/common/collect/ImmutableSetMultimap.java

        }
    
        @CanIgnoreReturnValue
        @Override
        public Builder<K, V> putAll(K key, Iterable<? extends V> values) {
          super.putAll(key, values);
          return this;
        }
    
        @CanIgnoreReturnValue
        @Override
        public Builder<K, V> putAll(K key, V... values) {
          return putAll(key, Arrays.asList(values));
        }
    
        @CanIgnoreReturnValue
        @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

        return keyOrNull(floorEntry(key));
      }
    
      @Override
      @CheckForNull
      public Entry<K, V> ceilingEntry(K key) {
        return tailMap(key, true).firstEntry();
      }
    
      @Override
      @CheckForNull
      public K ceilingKey(K key) {
        return keyOrNull(ceilingEntry(key));
      }
    
      @Override
      @CheckForNull
      public Entry<K, V> higherEntry(K key) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableMap.java

        }
    
        /**
         * Associates {@code key} with {@code value} in the built map. If the same key is put more than
         * once, {@link #buildOrThrow} will fail, while {@link #buildKeepingLast} will keep the last
         * value put for that key.
         */
        @CanIgnoreReturnValue
        public Builder<K, V> put(K key, V value) {
          ensureCapacity(size + 1);
          checkEntryNotNull(key, value);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableRangeMap.java

          Range<K> range = ranges.get(index);
          return range.contains(key) ? values.get(index) : null;
        }
      }
    
      @Override
      @CheckForNull
      public Entry<Range<K>, V> getEntry(K key) {
        int index =
            SortedLists.binarySearch(
                ranges,
                Range::lowerBound,
                Cut.belowValue(key),
                KeyPresentBehavior.ANY_PRESENT,
                KeyAbsentBehavior.NEXT_LOWER);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 14.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Multimaps.java

        @Override
        @CheckForNull
        public Collection<V> get(@CheckForNull Object key) {
          return containsKey(key) ? multimap.get((K) key) : null;
        }
    
        @Override
        @CheckForNull
        public Collection<V> remove(@CheckForNull Object key) {
          return containsKey(key) ? multimap.removeAll(key) : null;
        }
    
        @Override
        public Set<K> keySet() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 86.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableTable.java

          }
          return this;
        }
    
        /**
         * Associates all of the given table's keys and values in the built table. Duplicate row key
         * column key pairs are not allowed, and will cause {@link #build} to fail.
         *
         * @throws NullPointerException if any key or value in {@code table} is null
         */
        @CanIgnoreReturnValue
        public Builder<R, C, V> putAll(Table<? extends R, ? extends C, ? extends V> table) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 17.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableBiMap.java

        Builder(int size) {
          super(size);
        }
    
        /**
         * Associates {@code key} with {@code value} in the built bimap. Duplicate keys or values are
         * not allowed, and will cause {@link #build} to fail.
         */
        @CanIgnoreReturnValue
        @Override
        public Builder<K, V> put(K key, V value) {
          super.put(key, value);
          return this;
        }
    
        /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 22.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/FilteredEntryMultimap.java

        return entries().size();
      }
    
      private boolean satisfies(@ParametricNullness K key, @ParametricNullness V value) {
        return predicate.apply(Maps.immutableEntry(key, value));
      }
    
      final class ValuePredicate implements Predicate<V> {
        @ParametricNullness private final K key;
    
        ValuePredicate(@ParametricNullness K key) {
          this.key = key;
        }
    
        @Override
        public boolean apply(@ParametricNullness V value) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Maps.java

        @Override
        public boolean containsKey(@CheckForNull Object key) {
          return unfiltered.containsKey(key) && apply(key, unfiltered.get(key));
        }
    
        @Override
        @CheckForNull
        public V get(@CheckForNull Object key) {
          V value = unfiltered.get(key);
          return ((value != null) && apply(key, value)) ? value : null;
        }
    
        @Override
        public boolean isEmpty() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 159.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/net/HttpHeadersTest.java

                .put("SEC_CH_UA_WOW64", "Sec-CH-UA-WoW64")
                .put("SEC_WEBSOCKET_ACCEPT", "Sec-WebSocket-Accept")
                .put("SEC_WEBSOCKET_EXTENSIONS", "Sec-WebSocket-Extensions")
                .put("SEC_WEBSOCKET_KEY", "Sec-WebSocket-Key")
                .put("SEC_WEBSOCKET_PROTOCOL", "Sec-WebSocket-Protocol")
                .put("SEC_WEBSOCKET_VERSION", "Sec-WebSocket-Version")
                .put("X_WEBKIT_CSP", "X-WebKit-CSP")
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 22 21:08:08 GMT 2024
    - 3.9K bytes
    - Viewed (0)
Back to top