Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 1,857 for key2 (0.16 sec)

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

        return indexOf(key) != -1;
      }
    
      public int get(@CheckForNull Object key) {
        int index = indexOf(key);
        return (index == -1) ? 0 : values[index];
      }
    
      @CanIgnoreReturnValue
      public int remove(@CheckForNull Object key) {
        return remove(key, smearedHash(key));
      }
    
      private int remove(@CheckForNull Object key, int hash) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 01 22:07:10 GMT 2021
    - 15K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ArrayListMultimap.java

     * key. A {@link HashMap} associates each key with an {@link ArrayList} of values.
     *
     * <p>When iterating through the collections supplied by this class, the ordering of values for a
     * given key agrees with the order in which the values were added.
     *
     * <p>This multimap allows duplicate key-value pairs. After adding a new key-value pair equal to an
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/AbstractMultimap.java

      }
    
      abstract Set<K> createKeySet();
    
      @LazyInit @CheckForNull private transient Multiset<K> keys;
    
      @Override
      public Multiset<K> keys() {
        Multiset<K> result = keys;
        return (result == null) ? keys = createKeys() : result;
      }
    
      abstract Multiset<K> createKeys();
    
      @LazyInit @CheckForNull private transient Collection<V> values;
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 15 21:08:00 GMT 2021
    - 6.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/HashBasedTable.java

     * Null row keys, columns keys, and values are not supported.
     *
     * <p>Lookups by row key are often faster than lookups by column key, because the data is stored in
     * a {@code Map<R, Map<C, V>>}. A method call like {@code column(columnKey).get(rowKey)} still runs
     * quickly, since the row key is provided. However, {@code column(columnKey).size()} takes longer,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jan 24 17:47:51 GMT 2022
    - 4K bytes
    - Viewed (0)
  5. 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 Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Oct 31 16:03:42 GMT 2023
    - 22.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/AbstractMultimap.java

      }
    
      abstract Set<K> createKeySet();
    
      @LazyInit @CheckForNull private transient Multiset<K> keys;
    
      @Override
      public Multiset<K> keys() {
        Multiset<K> result = keys;
        return (result == null) ? keys = createKeys() : result;
      }
    
      abstract Multiset<K> createKeys();
    
      @LazyInit @CheckForNull private transient Collection<V> values;
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 15 21:08:00 GMT 2021
    - 7.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/util/Crypto.java

            key8[ 4 ] = (byte) ( ( key[ 3 ] << 4 ) | ( ( key[ 4 ] & 0xFF ) >>> 4 ) );
            key8[ 5 ] = (byte) ( ( key[ 4 ] << 3 ) | ( ( key[ 5 ] & 0xFF ) >>> 5 ) );
            key8[ 6 ] = (byte) ( ( key[ 5 ] << 2 ) | ( ( key[ 6 ] & 0xFF ) >>> 6 ) );
            key8[ 7 ] = (byte) ( key[ 6 ] << 1 );
            for ( int i = 0; i < key8.length; i++ ) {
                key8[ i ] ^= Integer.bitCount(key8[ i ] ^ 1) & 1;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Aug 17 17:34:29 GMT 2021
    - 5.2K bytes
    - Viewed (0)
  8. guava/src/com/google/common/cache/AbstractCache.java

      }
    
      @Override
      public void invalidate(Object key) {
        throw new UnsupportedOperationException();
      }
    
      /** @since 11.0 */
      @Override
      // For discussion of <? extends Object>, see getAllPresent.
      public void invalidateAll(Iterable<? extends Object> keys) {
        for (Object key : keys) {
          invalidate(key);
        }
      }
    
      @Override
      public void invalidateAll() {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 15 18:00:07 GMT 2021
    - 9.1K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/EnumHashBiMap.java

      @CheckForNull
      public V forcePut(K key, @ParametricNullness V value) {
        return super.forcePut(key, value);
      }
    
      /** Returns the associated key type. */
      @GwtIncompatible
      public Class<K> keyType() {
        return keyTypeOrObjectUnderJ2cl;
      }
    
      /**
       * @serialData the key class, number of entries, first key, first value, second key, second value,
       *     and so on.
       */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Aug 24 01:40:03 GMT 2023
    - 5.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/TreeBasedTable.java

          }
        }
    
        @Override
        public boolean containsKey(@CheckForNull Object key) {
          return rangeContains(key) && super.containsKey(key);
        }
    
        @Override
        @CheckForNull
        public V put(C key, V value) {
          checkArgument(rangeContains(checkNotNull(key)));
          return super.put(key, value);
        }
      }
    
      // rowKeySet() and rowMap() are defined here so they appear in the Javadoc.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 11.4K bytes
    - Viewed (0)
Back to top