Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for w123 (0.02 sec)

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

        assertThrows(NullPointerException.class, () -> builder.put(null, 1));
        assertThrows(NullPointerException.class, () -> builder.putAll(null, Arrays.asList(1, 2, 3)));
        assertThrows(NullPointerException.class, () -> builder.putAll(null, 1, 2, 3));
        assertThrows(
            NullPointerException.class, () -> builder.putAll((Multimap<String, Integer>) toPut));
      }
    
      public void testBuilderPutNullValue() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/FluentIterableTest.java

            FluentIterable.<Integer>of().append(Lists.newArrayList(1, 2, 3));
        assertEquals(asList(1, 2, 3), Lists.newArrayList(result));
      }
    
      public void testAppend_emptyList() {
        FluentIterable<Integer> result =
            FluentIterable.<Integer>from(asList(1, 2, 3)).append(Lists.<Integer>newArrayList());
        assertEquals(asList(1, 2, 3), Lists.newArrayList(result));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ImmutableTableTest.java

        assertThat(table.columnKeySet()).containsExactly(1, 2, 3).inOrder();
        assertThat(table.values())
            .containsExactly("baz", "bar", "foo", "dog", "cat", "baz", "bar", "foo")
            .inOrder();
        assertThat(table.row('c').keySet()).containsExactly(1, 2, 3).inOrder();
        assertThat(table.column(1).keySet()).containsExactly('a', 'b', 'c').inOrder();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/IteratorsTest.java

                  }
                });
    
        List<Integer> actual = Lists.newArrayList(result);
        List<Integer> expected = asList(1, 2, 3);
        assertEquals(expected, actual);
      }
    
      public void testTransformRemove() {
        List<String> list = Lists.newArrayList("1", "2", "3");
        Iterator<String> input = list.iterator();
        Iterator<Integer> iterator =
            Iterators.transform(
                input,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 54.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java

        assertThrows(NullPointerException.class, () -> builder.put(null, 1));
        assertThrows(NullPointerException.class, () -> builder.putAll(null, Arrays.asList(1, 2, 3)));
        assertThrows(NullPointerException.class, () -> builder.putAll(null, 1, 2, 3));
        assertThrows(
            NullPointerException.class, () -> builder.putAll((Multimap<String, Integer>) toPut));
      }
    
      public void testBuilderPutNullValue() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/IterablesTest.java

                  }
                });
    
        List<Integer> actual = newArrayList(result);
        List<Integer> expected = asList(1, 2, 3);
        assertEquals(expected, actual);
        assertCanIterateAgain(result);
        assertEquals("[1, 2, 3]", result.toString());
      }
    
      public void testPoorlyBehavedTransform() {
        List<String> input = asList("1", "not a number", "3");
        Iterable<Integer> result =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:12:33 UTC 2024
    - 45K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

                  }
                });
    
        List<Integer> actual = Lists.newArrayList(result);
        List<Integer> expected = asList(1, 2, 3);
        assertEquals(expected, actual);
      }
    
      public void testTransformRemove() {
        List<String> list = Lists.newArrayList("1", "2", "3");
        Iterator<String> input = list.iterator();
        Iterator<Integer> iterator =
            Iterators.transform(
                input,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 54.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/CollectSpliteratorsTest.java

                        (Integer i) -> i == 0 ? null : IntStream.of(i).spliterator(),
                        Spliterator.SIZED | Spliterator.DISTINCT | Spliterator.NONNULL,
                        4))
            .expect(1, 1, 2, 3);
      }
    
      public void testFlatMapToLong_nullStream() {
        SpliteratorTester.ofLong(
                () ->
                    CollectSpliterators.flatMapToLong(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java

        assertThrows(NullPointerException.class, () -> builder.put(null, 1));
        assertThrows(NullPointerException.class, () -> builder.putAll(null, Arrays.asList(1, 2, 3)));
        assertThrows(NullPointerException.class, () -> builder.putAll(null, 1, 2, 3));
        assertThrows(
            NullPointerException.class, () -> builder.putAll((Multimap<String, Integer>) toPut));
      }
    
      public void testBuilderPutNullValue() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/SetsTest.java

        expected.add(ImmutableSet.of(2, 3));
        expected.add(ImmutableSet.of(1, 2, 3));
    
        Set<Set<Integer>> almostPowerSet = newHashSet(expected);
        almostPowerSet.remove(ImmutableSet.of(1, 2, 3));
        almostPowerSet.add(ImmutableSet.of(1, 2, 4));
    
        new EqualsTester()
            .addEqualityGroup(expected, powerSet)
            .addEqualityGroup(ImmutableSet.of(1, 2, 3))
            .addEqualityGroup(almostPowerSet)
            .testEquals();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 48.6K bytes
    - Viewed (0)
Back to top