Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 172 for berate (0.2 sec)

  1. android/guava/src/com/google/common/base/Preconditions.java

     * java.util.Formatter} specifiers. However, note that if the number of arguments does not match the
     * number of occurrences of {@code "%s"} in the format string, {@code Preconditions} will still
     * behave as expected, and will still include all argument values in the error message; the message
     * will simply not be formatted exactly as intended.
     *
     * <h3>More information</h3>
     *
     * <p>See the Guava User Guide on <a
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 11 11:52:14 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * An abstract implementation of {@link ListenableFuture}, intended for advanced users only. More
     * common ways to create a {@code ListenableFuture} include instantiating a {@link SettableFuture},
     * submitting a task to a {@link ListeningExecutorService}, and deriving a {@code Future} from an
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/TreeBasedTableTest.java

      protected TreeBasedTable<String, Integer, Character> create(@Nullable Object... data) {
        TreeBasedTable<String, Integer, Character> table = TreeBasedTable.create();
        table.put("foo", 4, 'a');
        table.put("cat", 1, 'b');
        table.clear();
        populate(table, data);
        return table;
      }
    
      public void testCreateExplicitComparators() {
        table = TreeBasedTable.create(Collections.reverseOrder(), Ordering.usingToString());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 15K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/AbstractTableReadTest.java

            HashBasedTable.create((Table<String, Integer, ? extends Character>) table);
        Table<String, Integer, C> reordered = create("foo", 3, 'c', "foo", 1, 'a', "bar", 1, 'b');
        Table<String, Integer, C> smaller = create("foo", 1, 'a', "bar", 1, 'b');
        Table<String, Integer, C> swapOuter = create("bar", 1, 'a', "foo", 1, 'b', "bar", 3, 'c');
        Table<String, Integer, C> swapValues = create("foo", 1, 'c', "bar", 1, 'b', "foo", 3, 'a');
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 6.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/AbstractTableReadTest.java

            HashBasedTable.create((Table<String, Integer, ? extends Character>) table);
        Table<String, Integer, C> reordered = create("foo", 3, 'c', "foo", 1, 'a', "bar", 1, 'b');
        Table<String, Integer, C> smaller = create("foo", 1, 'a', "bar", 1, 'b');
        Table<String, Integer, C> swapOuter = create("bar", 1, 'a', "foo", 1, 'b', "bar", 3, 'c');
        Table<String, Integer, C> swapValues = create("foo", 1, 'c', "bar", 1, 'b', "foo", 3, 'a');
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 6.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java

        Multiset<String> c = HashMultiset.create();
        Multiset<String> multiset = ImmutableMultiset.copyOf(c);
        assertTrue(multiset.isEmpty());
      }
    
      public void testCopyOf_multiset_oneElement() {
        Multiset<String> c = HashMultiset.create(asList("a"));
        Multiset<String> multiset = ImmutableMultiset.copyOf(c);
        assertEquals(HashMultiset.create(asList("a")), multiset);
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 21K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        suite.addTest(
            QueueTestSuiteBuilder.using(
                    new TestStringQueueGenerator() {
                      @Override
                      protected Queue<String> create(String[] elements) {
                        return MinMaxPriorityQueue.create(Arrays.asList(elements));
                      }
                    })
                .named("MinMaxPriorityQueue")
                .withFeatures(CollectionSize.ANY, CollectionFeature.GENERAL_PURPOSE)
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 36.1K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java

        return suite;
      }
    
      protected SetMultimap<String, Integer> create() {
        return TreeMultimap.create();
      }
    
      /** Create and populate a {@code TreeMultimap} with the natural ordering of keys and values. */
      private TreeMultimap<String, Integer> createPopulate() {
        TreeMultimap<String, Integer> multimap = TreeMultimap.create();
        multimap.put("google", 2);
        multimap.put("google", 6);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/HashMultiset.java

      /** Creates a new, empty {@code HashMultiset} using the default initial capacity. */
      public static <E extends @Nullable Object> HashMultiset<E> create() {
        return create(ObjectCountHashMap.DEFAULT_SIZE);
      }
    
      /**
       * Creates a new, empty {@code HashMultiset} with the specified expected number of distinct
       * elements.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java

      }
    
      public void testBuilderPutAllMultimap() {
        Multimap<String, Integer> toPut = LinkedListMultimap.create();
        toPut.put("foo", 1);
        toPut.put("bar", 4);
        toPut.put("foo", 2);
        toPut.put("foo", 3);
        Multimap<String, Integer> moreToPut = LinkedListMultimap.create();
        moreToPut.put("foo", 6);
        moreToPut.put("bar", 5);
        moreToPut.put("foo", 7);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 24.9K bytes
    - Viewed (0)
Back to top