Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for sinulla (0.23 sec)

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

      }
    
      public void testOnlyElementNull() {
        assertThat(Stream.<@Nullable Object>of((Object) null).collect(MoreCollectors.onlyElement()))
            .isNull();
      }
    
      public void testOnlyElementMultiple() {
        try {
          Stream.of(1, 2).collect(MoreCollectors.onlyElement());
          fail("Expected IllegalArgumentException");
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

            ImmutableSortedSet.copyOf(new String[] {"e", "e", "f", "b", "i", "d", "c", "k"});
        assertThat(set.floor("a")).isNull();
      }
    
      public void testCeiling_emptySet() {
        ImmutableSortedSet<String> set = ImmutableSortedSet.copyOf(new String[] {});
        assertThat(set.ceiling("f")).isNull();
      }
    
      public void testCeiling_elementPresent() {
        ImmutableSortedSet<String> set =
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 46.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

          assertThat(urls.get(0).getAuthority()).isNull();
          assertThat(urls.get(0).getPath()).endsWith("/relative/path/to/some.jar");
    
          assertThat(urls.get(1)).isEqualTo(new URL("file:///absolute/path/to/some.jar"));
    
          assertThat(urls.get(2).getProtocol()).isEqualTo("file");
          assertThat(urls.get(2).getAuthority()).isNull();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 26 14:02:27 GMT 2024
    - 24.9K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

            ImmutableSortedSet.copyOf(new String[] {"e", "e", "f", "b", "i", "d", "c", "k"});
        assertThat(set.floor("a")).isNull();
      }
    
      public void testCeiling_emptySet() {
        ImmutableSortedSet<String> set = ImmutableSortedSet.copyOf(new String[] {});
        assertThat(set.ceiling("f")).isNull();
      }
    
      public void testCeiling_elementPresent() {
        ImmutableSortedSet<String> set =
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 45.2K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java

          T key = keysAndValues[i];
          T value = keysAndValues[i + 1];
          T old = map.put(key, value);
          assertWithMessage("Key %s set to %s and %s", key, value, old).that(old).isNull();
        }
        return map;
      }
    
      private static <T extends @Nullable Object> Entry<T, T> entry(T key, T value) {
        return new AbstractMap.SimpleImmutableEntry<>(key, value);
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 14:39:16 GMT 2024
    - 37.3K bytes
    - Viewed (0)
Back to top