Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for Rosset (0.21 sec)

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

        public static Test suite() {
          TestSuite suite = new TestSuite();
    
          suite.addTest(
              NavigableSetTestSuiteBuilder.using(new ContiguousSetGenerator())
                  .named("Range.asSet")
                  .withFeatures(
                      CollectionSize.ANY,
                      KNOWN_ORDER,
                      ALLOWS_NULL_QUERIES,
                      NON_STANDARD_TOSTRING,
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 19.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ContiguousSetTest.java

        public static Test suite() {
          TestSuite suite = new TestSuite();
    
          suite.addTest(
              NavigableSetTestSuiteBuilder.using(new ContiguousSetGenerator())
                  .named("Range.asSet")
                  .withFeatures(
                      CollectionSize.ANY,
                      KNOWN_ORDER,
                      ALLOWS_NULL_QUERIES,
                      NON_STANDARD_TOSTRING,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 19.1K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/google/MultisetForEachEntryTester.java

        assertEquals(expected, actual);
      }
    
      /**
       * Returns {@link Method} instances for the remove tests that assume multisets support duplicates
       * so that the test of {@code Multisets.forSet()} can suppress them.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static List<Method> getForEachEntryDuplicateInitializingMethods() {
        return Arrays.asList(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 3K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/google/MultisetIteratorTester.java

          }
        }.test();
      }
    
      /**
       * Returns {@link Method} instances for the tests that assume multisets support duplicates so that
       * the test of {@code Multisets.forSet()} can suppress them.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static List<Method> getIteratorDuplicateInitializingMethods() {
        return Arrays.asList(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/Present.java

      public T or(Supplier<? extends T> supplier) {
        checkNotNull(supplier);
        return reference;
      }
    
      @Override
      public T orNull() {
        return reference;
      }
    
      @Override
      public Set<T> asSet() {
        return Collections.singleton(reference);
      }
    
      @Override
      public <V> Optional<V> transform(Function<? super T, V> function) {
        return new Present<>(
            checkNotNull(
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Oct 01 17:18:04 GMT 2021
    - 2.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/Present.java

      public T or(Supplier<? extends T> supplier) {
        checkNotNull(supplier);
        return reference;
      }
    
      @Override
      public T orNull() {
        return reference;
      }
    
      @Override
      public Set<T> asSet() {
        return Collections.singleton(reference);
      }
    
      @Override
      public <V> Optional<V> transform(Function<? super T, V> function) {
        return new Present<>(
            checkNotNull(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Oct 01 17:18:04 GMT 2021
    - 2.4K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/FluentIterableTest.java

      }
    
      public void testToSet() {
        assertThat(fluent(1, 2, 3, 4).toSet()).containsExactly(1, 2, 3, 4).inOrder();
      }
    
      public void testToSet_removeDuplicates() {
        assertThat(fluent(1, 2, 1, 2).toSet()).containsExactly(1, 2).inOrder();
      }
    
      public void testToSet_empty() {
        assertTrue(fluent().toSet().isEmpty());
      }
    
      public void testToSortedSet() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 06 18:35:19 GMT 2024
    - 31.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/FluentIterable.java

       * @since 14.0 (since 12.0 as {@code toImmutableSet()}).
       */
      @SuppressWarnings("nullness") // Unsafe, but we can't do much about it now.
      public final ImmutableSet<@NonNull E> toSet() {
        return ImmutableSet.copyOf((Iterable<@NonNull E>) getDelegate());
      }
    
      /**
       * Returns an {@code ImmutableSortedSet} containing all of the elements from this {@code
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jan 30 00:14:39 GMT 2024
    - 35.7K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/base/OptionalTest.java

        Set<String> expected = Collections.singleton("a");
        assertEquals(expected, Optional.of("a").asSet());
      }
    
      public void testAsSet_absent() {
        assertTrue("Returned set should be empty", Optional.absent().asSet().isEmpty());
      }
    
      public void testAsSet_presentIsImmutable() {
        Set<String> presentAsSet = Optional.of("a").asSet();
        try {
          presentAsSet.add("b");
          fail();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 11.2K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetIteratorTester.java

          }
        }.test();
      }
    
      /**
       * Returns {@link Method} instances for the tests that assume multisets support duplicates so that
       * the test of {@code Multisets.forSet()} can suppress them.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static List<Method> getIteratorDuplicateInitializingMethods() {
        return Arrays.asList(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 4.4K bytes
    - Viewed (0)
Back to top