Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for ImmutableSortedSet (0.05 sec)

  1. android/guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java

        assertEquals(ImmutableSet.of(), ArbitraryInstances.get(ImmutableSet.class));
        assertEquals(ImmutableSortedSet.of(), ArbitraryInstances.get(SortedSet.class));
        assertEquals(ImmutableSortedSet.of(), ArbitraryInstances.get(ImmutableSortedSet.class));
        assertEquals(ImmutableList.of(), ArbitraryInstances.get(Collection.class));
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:45:32 UTC 2025
    - 22.2K bytes
    - Viewed (0)
  2. guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java

        assertEquals(ImmutableSet.of(), ArbitraryInstances.get(ImmutableSet.class));
        assertEquals(ImmutableSortedSet.of(), ArbitraryInstances.get(SortedSet.class));
        assertEquals(ImmutableSortedSet.of(), ArbitraryInstances.get(ImmutableSortedSet.class));
        assertEquals(ImmutableList.of(), ArbitraryInstances.get(Collection.class));
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:45:32 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableSet.java

           * ImmutableSet.Builder but y is an ImmutableSortedSet.Builder (or vice versa). Certainly
           * ImmutableSortedSet.Builder.combine() is written as if its argument will never be a plain
           * ImmutableSet.Builder: It casts immediately to ImmutableSortedSet.Builder.)
           */
          copyIfNecessary();
          this.impl = this.impl.combine(other.impl);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Nov 07 16:09:47 UTC 2025
    - 35.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableList.java

       * order in which they appear in the input.
       *
       * <p>If your data has no duplicates, or you wish to deduplicate elements, use {@code
       * ImmutableSortedSet.copyOf(elements)}; if you want a {@code List} you can use its {@code
       * asList()} view.
       *
       * <p><b>Java 8+ users:</b> If you want to convert a {@link java.util.stream.Stream} to a sorted
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 17 22:50:48 UTC 2025
    - 30.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/MapsTest.java

            () -> map.headMap("r", false).tailMap("m", true).keySet().add("a"));
      }
    
      @GwtIncompatible // NavigableMap
      public void testAsMapNavigableEmpty() {
        NavigableSet<String> strings = ImmutableSortedSet.of();
        NavigableMap<String, Integer> map = Maps.asMap(strings, LENGTH_FUNCTION);
        assertThat(map.entrySet()).isEmpty();
        assertTrue(map.isEmpty());
        assertThat(map.get("five")).isNull();
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 22:56:33 UTC 2025
    - 62.7K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/MapsTest.java

            () -> map.headMap("r", false).tailMap("m", true).keySet().add("a"));
      }
    
      @GwtIncompatible // NavigableMap
      public void testAsMapNavigableEmpty() {
        NavigableSet<String> strings = ImmutableSortedSet.of();
        NavigableMap<String, Integer> map = Maps.asMap(strings, LENGTH_FUNCTION);
        assertThat(map.entrySet()).isEmpty();
        assertTrue(map.isEmpty());
        assertThat(map.get("five")).isNull();
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 22:56:33 UTC 2025
    - 65K bytes
    - Viewed (0)
Back to top