Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for keys (0.21 sec)

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

         * cause {@link #build} to fail.
         *
         * @since 19.0
         */
        @CanIgnoreReturnValue
        @Override
        public Builder<K, V> put(Entry<? extends K, ? extends V> entry) {
          super.put(entry);
          return this;
        }
    
        /**
         * Associates all of the given map's keys and values in the built bimap. Duplicate keys or
    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)
  2. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

                Entry<K, V> entry = requireNonNull(entryArray[i]);
                K key = entry.getKey();
                V value = entry.getValue();
                checkEntryNotNull(key, value);
                keys[i] = key;
                values[i] = value;
                checkNoConflict(comparator.compare(prevKey, key) != 0, "key", prevEntry, entry);
                prevKey = key;
              }
            }
            return new ImmutableSortedMap<>(
    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

        }
    
        @SuppressWarnings("unchecked")
        final Object legacyReadResolve() {
          K[] keys = (K[]) this.keys;
          V[] values = (V[]) this.values;
    
          Builder<K, V> builder = makeBuilder(keys.length);
    
          for (int i = 0; i < keys.length; i++) {
            builder.put(keys[i], values[i]);
          }
          return builder.buildOrThrow();
        }
    
        /**
    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/Multimaps.java

        }
    
        @Override
        public Collection<V> get(@ParametricNullness K key) {
          return unmodifiableValueCollection(delegate.get(key));
        }
    
        @Override
        public Multiset<K> keys() {
          Multiset<K> result = keys;
          if (result == null) {
            keys = result = Multisets.unmodifiableMultiset(delegate.keys());
          }
          return result;
        }
    
        @Override
    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)
  5. android/guava/src/com/google/common/collect/Maps.java

          Iterable<K> keys, Function<? super K, V> valueFunction) {
        return toMap(keys.iterator(), valueFunction);
      }
    
      /**
       * Returns an immutable map whose keys are the distinct elements of {@code keys} and whose value
       * for each key was computed by {@code valueFunction}. The map's iteration order is the order of
       * the first appearance of each key in {@code keys}.
       *
    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)
  6. android/guava/src/com/google/common/collect/ImmutableSetMultimap.java

            ? new ImmutableSet.Builder<V>()
            : new ImmutableSortedSet.Builder<V>(valueComparator);
      }
    
      /**
       * @serialData number of distinct keys, and then for each distinct key: the key, the number of
       *     values for that key, and the key's values
       */
      @GwtIncompatible // java.io.ObjectOutputStream
      @J2ktIncompatible
      private void writeObject(ObjectOutputStream stream) throws IOException {
    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)
  7. android/guava/src/com/google/common/collect/ImmutableListMultimap.java

      @DoNotCall("Always throws UnsupportedOperationException")
      public final ImmutableList<V> replaceValues(K key, Iterable<? extends V> values) {
        throw new UnsupportedOperationException();
      }
    
      /**
       * @serialData number of distinct keys, and then for each distinct key: the key, the number of
       *     values for that key, and the key's values
       */
      @GwtIncompatible // java.io.ObjectOutputStream
      @J2ktIncompatible
    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)
  8. android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java

      public void testBuildKeepingLast_smallTableSameHash() {
        String key1 = "QED";
        String key2 = "R&D";
        assertThat(key1.hashCode()).isEqualTo(key2.hashCode());
        ImmutableMap<String, Integer> map =
            ImmutableMap.<String, Integer>builder()
                .put(key1, 1)
                .put(key2, 2)
                .put(key1, 3)
                .put(key2, 4)
                .buildKeepingLast();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 14:39:16 GMT 2024
    - 37.3K bytes
    - Viewed (0)
  9. helm-releases/minio-5.2.0.tgz

    trusted-cert-secret-volume mountPath: {{ $casPath }} {{- end }} {{- end -}} {{/* Formats volume for MinIO TLS keys and trusted certs */}} {{- define "minio.tlsKeysVolume" -}} {{- if .Values.tls.enabled }} - name: cert-secret-volume secret: secretName: {{ tpl .Values.tls.certSecret $ }} items: - key: {{ .Values.tls.publicCrt }} path: public.crt - key: {{ .Values.tls.privateKey }} path: private.key {{- end }} {{- if or .Values.tls.enabled (ne .Values.trustedCertsSecret "") }} {{- $certSecret := eq .Val...
    Others
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 10:14:37 GMT 2024
    - 21.7K bytes
    - Viewed (0)
  10. 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
    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)
Back to top