Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 43 for rosulate (0.2 sec)

  1. android/guava-tests/test/com/google/common/collect/SynchronizedTableTest.java

        TestTable<String, Integer, Character> table = new TestTable<>();
        Table<String, Integer, Character> synced = Synchronized.table(table, table.mutex);
        populate(synced, data);
        return synced;
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/TreeMultimapExplicitTest.java

      private SetMultimap<String, Integer> create() {
        return TreeMultimap.create(StringLength.COMPARATOR, DECREASING_INT_COMPARATOR);
      }
    
      /** Create and populate a {@code TreeMultimap} with explicit comparators. */
      private TreeMultimap<@Nullable String, @Nullable Integer> createPopulate() {
        TreeMultimap<@Nullable String, @Nullable Integer> multimap =
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableCollection.java

     *   <li>Static methods named {@code copyOf} (or {@code copyOfSorted}), accepting an existing
     *       collection whose contents should be copied.
     *   <li>A static nested {@code Builder} class which can be used to populate a new immutable
     *       instance.
     * </ul>
     *
     * <h4>Warnings</h4>
     *
     * <ul>
     *   <li><b>Warning:</b> as with any collection, it is almost always a bad idea to modify an element
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 18.7K bytes
    - Viewed (1)
  4. android/guava/src/com/google/common/collect/ImmutableCollection.java

     *   <li>Static methods named {@code copyOf} (or {@code copyOfSorted}), accepting an existing
     *       collection whose contents should be copied.
     *   <li>A static nested {@code Builder} class which can be used to populate a new immutable
     *       instance.
     * </ul>
     *
     * <h4>Warnings</h4>
     *
     * <ul>
     *   <li><b>Warning:</b> as with any collection, it is almost always a bad idea to modify an element
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/hash/BloomFilter.java

       * BloomFilter}.
       *
       * <p>The {@code Funnel} to be used is not encoded in the stream, so it must be provided here.
       * <b>Warning:</b> the funnel provided <b>must</b> behave identically to the one used to populate
       * the original Bloom filter!
       *
       * @throws IOException if the InputStream throws an {@code IOException}, or if its data does not
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/UnmodifiableMultimapAsMapImplementsMapTest.java

      }
    
      @Override
      protected Map<String, Collection<Integer>> makePopulatedMap() {
        Multimap<String, Integer> delegate = LinkedHashMultimap.create();
        populate(delegate);
        return Multimaps.unmodifiableMultimap(delegate).asMap();
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/MultimapsFilterEntriesAsMapTest.java

        return multimap.asMap();
      }
    
      @Override
      protected Map<String, Collection<Integer>> makePopulatedMap() {
        Multimap<String, Integer> multimap = createMultimap();
        populate(multimap);
        return multimap.asMap();
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 2K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/NewCustomTableTest.java

              }
            };
        Map<String, Map<Integer, Character>> backingMap = Maps.newLinkedHashMap();
        Table<String, Integer, Character> table = Tables.newCustomTable(backingMap, factory);
        populate(table, data);
        return table;
      }
    
      public void testRowKeySetOrdering() {
        table = create("foo", 3, 'a', "bar", 1, 'b', "foo", 2, 'c');
        assertThat(table.rowKeySet()).containsExactly("foo", "bar").inOrder();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/TransposedTableTest.java

        Table<Integer, String, Character> original = HashBasedTable.create();
        Table<String, Integer, Character> table = Tables.transpose(original);
        table.clear();
        populate(table, data);
        return table;
      }
    
      public void testTransposeTransposed() {
        Table<Integer, String, Character> original = HashBasedTable.create();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  10. guava-tests/benchmark/com/google/common/collect/MinMaxPriorityQueueBenchmark.java

      @Benchmark
      void pollAndAdd(int reps) {
        for (int i = 0; i < reps; i++) {
          // TODO(kevinb): precompute random #s?
          queue.add(queue.poll() ^ random.nextInt());
        }
      }
    
      @Benchmark
      void populate(int reps) {
        for (int i = 0; i < reps; i++) {
          queue.clear();
          for (int j = 0; j < size; j++) {
            // TODO(kevinb): precompute random #s?
            queue.add(random.nextInt());
          }
        }
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 4.3K bytes
    - Viewed (0)
Back to top