Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 132 for store2 (0.19 sec)

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

       * values.
       */
      @Override
      public Map<K, Collection<V>> asMap() {
        return super.asMap();
      }
    
      /**
       * Stores a key-value pair in the multimap.
       *
       * @param key key to store in the multimap
       * @param value value to store in the multimap
       * @return {@code true} if the method increased the size of the multimap, or {@code false} if the
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 15 21:08:00 GMT 2021
    - 4.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/MultimapBuilder.java

        /** Uses an {@link ArrayList} to store value collections. */
        public ListMultimapBuilder<K0, @Nullable Object> arrayListValues() {
          return arrayListValues(DEFAULT_EXPECTED_VALUES_PER_KEY);
        }
    
        /**
         * Uses an {@link ArrayList} to store value collections, initialized to expect the specified
         * number of values per key.
         *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/graph/MapIteratorCache.java

              public boolean hasNext() {
                return entryIterator.hasNext();
              }
    
              @Override
              public K next() {
                Entry<K, V> entry = entryIterator.next(); // store local reference for thread-safety
                cacheEntry = entry;
                return entry.getKey();
              }
            };
          }
    
          @Override
          public int size() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Oct 06 00:47:57 GMT 2021
    - 4.7K bytes
    - Viewed (0)
  4. .gitignore

    # Maven
    target/
    *.ser
    *.ec
    .mvn/wrapper/maven-wrapper.jar
    
    # IntelliJ Idea
    .idea/
    out/
    *.ipr
    *.iws
    *.iml
    
    # Eclipse
    .classpath
    .project
    .settings/
    .metadata/
    
    # OS X
    Plain Text
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Oct 17 16:57:55 GMT 2023
    - 176 bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/FluentIterable.java

       * specified function to each item in this {@code FluentIterable} of values. Each element of this
       * iterable will be stored as a value in the resulting multimap, yielding a multimap with the same
       * size as this iterable. The key used to store that value in the multimap will be the result of
       * calling the function on that value. The resulting multimap is created as an immutable snapshot.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jan 30 00:14:39 GMT 2024
    - 35.7K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/CompactHashSet.java

        this.elements = null;
        incrementModCount();
        return newDelegate;
      }
    
      @VisibleForTesting
      boolean isUsingHashFloodingResistance() {
        return delegateOrNull() != null;
      }
    
      /** Stores the hash table mask as the number of bits needed to represent an index. */
      private void setHashTableMask(int mask) {
        int hashTableBits = Integer.SIZE - Integer.numberOfLeadingZeros(mask);
        metadata =
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 24.9K bytes
    - Viewed (0)
  7. 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)
  8. guava-tests/benchmark/com/google/common/hash/HashStringBenchmark.java

      HashFunctionEnum hashFunctionEnum;
    
      private String[] strings;
    
      static final int SAMPLES = 0x100;
      static final int SAMPLE_MASK = 0xFF;
    
      /**
       * Compute arrays of valid unicode text, and store it in 3 forms: byte arrays, Strings, and
       * StringBuilders (in a CharSequence[] to make it a little harder for the JVM).
       */
      @BeforeExperiment
      void setUp() {
        final long seed = 99;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 5.3K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/io/IoTestCase.java

            // fall back to copying URLs to files in the testDir == null block below
          }
        }
    
        if (testDir == null) {
          // testdata resources aren't file:// urls, so create a directory to store them in and then
          // copy the resources to the filesystem as needed
          testDir = createTempDir();
        }
    
        return testDir;
      }
    
      /** Returns the file with the given name under the testdata directory. */
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/Joiner.java

     *
     * <p><b>Warning: joiner instances are always immutable</b>; a configuration method such as {@code
     * useForNull} has no effect on the instance it is invoked on! You must store and use the new joiner
     * instance returned by the method. This makes joiners thread-safe, and safe to store as {@code
     * static final} constants.
     *
     * <pre>{@code
     * // Bad! Do not do this!
     * Joiner joiner = Joiner.on(',');
     * joiner.skipNulls(); // does nothing!
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 18.6K bytes
    - Viewed (0)
Back to top