- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 93 for buildID (0.07 sec)
-
android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java
*/ public static <B> Builder<B> orderedBy(Comparator<B> comparator) { return new Builder<>(comparator); } /** * Creates and returns a new builder, configured to build {@code MinMaxPriorityQueue} instances * sized appropriately to hold {@code expectedSize} elements. */ @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 34.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/MinMaxPriorityQueue.java
*/ public static <B> Builder<B> orderedBy(Comparator<B> comparator) { return new Builder<>(comparator); } /** * Creates and returns a new builder, configured to build {@code MinMaxPriorityQueue} instances * sized appropriately to hold {@code expectedSize} elements. */ @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 34.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java
ImmutableListMultimap.Builder<String, Integer> builder = ImmutableListMultimap.builder(); builder.put("b", 3); builder.put("d", 2); builder.put("a", 5); builder.orderValuesBy(Collections.reverseOrder()); builder.put("c", 4); builder.put("a", 2); builder.put("b", 6); ImmutableListMultimap<String, Integer> multimap = builder.build();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 23.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableTableTest.java
ImmutableTable.Builder<Character, Integer, String> builder = ImmutableTable.builder(); builder.orderRowsBy(Ordering.natural()); builder.put('x', 2, "foo"); builder.put('r', 1, "bar"); builder.put('c', 3, "baz"); builder.put('b', 7, "cat"); builder.put('e', 5, "dog"); builder.put('c', 0, "axe"); builder.put('e', 3, "tub"); builder.put('r', 4, "foo");
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 18.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java
ImmutableSetMultimap.Builder<String, Integer> builder = ImmutableSetMultimap.builder(); builder.put("b", 3); builder.put("d", 2); builder.put("a", 5); builder.orderValuesBy(Collections.reverseOrder()); builder.put("c", 4); builder.put("a", 2); builder.put("b", 6); ImmutableSetMultimap<String, Integer> multimap = builder.build();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 26.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableSetTest.java
} @GwtIncompatible("Builder impl") public void testPresizedBuilderDedups() { ImmutableSet.Builder<String> builder = ImmutableSet.builderWithExpectedSize(4); builder.add("a"); assertEquals(1, builder.size); builder.add("a"); assertEquals(1, builder.size); builder.add("b", "c", "d"); assertEquals(4, builder.size); Object[] table = builder.hashTable; assertNotNull(table);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 13.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java
ImmutableMultiset.Builder<String> builder = ImmutableMultiset.builder(); builder.addCopies("a", 2); builder.add("b"); builder.add("c"); builder.setCount("b", 0); ImmutableMultiset<String> multiset = builder.build(); assertThat(multiset.elementSet()).containsExactly("a", "c").inOrder(); builder.add("b"); assertThat(builder.build().elementSet()).containsExactly("a", "c", "b").inOrder();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 20.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java
ImmutableListMultimap.Builder<String, Integer> builder = ImmutableListMultimap.builder(); builder.put("b", 3); builder.put("d", 2); builder.put("a", 5); builder.orderValuesBy(Collections.reverseOrder()); builder.put("c", 4); builder.put("a", 2); builder.put("b", 6); ImmutableListMultimap<String, Integer> multimap = builder.build();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 25.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableListTest.java
ImmutableList.Builder<String> builder = ImmutableList.builder(); assertThrows(NullPointerException.class, () -> builder.addAll((Iterable<String>) null)); } { ImmutableList.Builder<String> builder = ImmutableList.builder(); assertThrows(NullPointerException.class, () -> builder.addAll((Iterator<String>) null)); } { ImmutableList.Builder<String> builder = ImmutableList.builder();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 24.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableBiMapTest.java
} public void testBuilderPutNullValue() { Builder<String, Integer> builder = new Builder<>(); assertThrows(NullPointerException.class, () -> builder.put("one", null)); } public void testBuilderPutNullKeyViaPutAll() { Builder<String, Integer> builder = new Builder<>(); assertThrows( NullPointerException.class,
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 22.3K bytes - Viewed (0)