- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for zis (0.02 sec)
-
android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java
public void testToImmutableMap_java7_combine() { ImmutableMap.Builder<String, Integer> zis = ImmutableMap.<String, Integer>builder().put("one", 1); ImmutableMap.Builder<String, Integer> zat = ImmutableMap.<String, Integer>builder().put("two", 2).put("three", 3); assertMapEquals(zis.combine(zat).build(), "one", 1, "two", 2, "three", 3); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 36.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableRangeMapTest.java
ImmutableRangeMap.Builder<Integer, Integer> zis = ImmutableRangeMap.<Integer, Integer>builder().put(rangeOne, 1); ImmutableRangeMap.Builder<Integer, Integer> zat = ImmutableRangeMap.<Integer, Integer>builder().put(rangeTwo, 6); ImmutableRangeMap<Integer, Integer> rangeMap = zis.combine(zat).build(); assertThat(rangeMap.asMapOfRanges().entrySet())
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 9.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableSetTest.java
public void testToImmutableSet_java7() { ImmutableSet.Builder<String> zis = ImmutableSet.<String>builder().add("a", "b", "a"); ImmutableSet.Builder<String> zat = ImmutableSet.<String>builder().add("c", "b", "d", "c"); ImmutableSet<String> set = zis.combine(zat).build(); assertThat(set).containsExactly("a", "b", "c", "d").inOrder(); } @Override
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/ImmutableSetMultimapTest.java
ImmutableSetMultimap.Builder<String, Integer> zis = ImmutableSetMultimap.<String, Integer>builder().put("a", 1).put("b", 2); ImmutableSetMultimap.Builder<String, Integer> zat = ImmutableSetMultimap.<String, Integer>builder().put("a", 3).put("c", 4); ImmutableSetMultimap<String, Integer> multimap = zis.combine(zat).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/ImmutableRangeSetTest.java
Range<Integer> rangeFour = Range.closedOpen(6, 7); ImmutableRangeSet.Builder<Integer> zis = ImmutableRangeSet.<Integer>builder().add(rangeOne).add(rangeTwo); ImmutableRangeSet.Builder<Integer> zat = ImmutableRangeSet.<Integer>builder().add(rangeThree).add(rangeFour); ImmutableRangeSet<Integer> rangeSet = zis.combine(zat).build(); assertThat(rangeSet.asRanges())
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 02 18:21:29 UTC 2024 - 21.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java
ImmutableListMultimap.Builder<String, Integer> zis = ImmutableListMultimap.<String, Integer>builder().put("a", 1).put("b", 2); ImmutableListMultimap.Builder<String, Integer> zat = ImmutableListMultimap.<String, Integer>builder().put("a", 3).put("c", 4); ImmutableListMultimap<String, Integer> multimap = zis.combine(zat).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) -
android/guava-tests/test/com/google/common/collect/ImmutableListTest.java
public void testToImmutableList_java7_combine() { ImmutableList.Builder<String> zis = ImmutableList.<String>builder().add("a", "b"); ImmutableList.Builder<String> zat = ImmutableList.<String>builder().add("c", "d"); ImmutableList<String> list = zis.combine(zat).build(); assertEquals(asList("a", "b", "c", "d"), list); } // Basic tests @J2ktIncompatible
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 24.1K bytes - Viewed (0)